|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--Goovi.AmosOutliner
Class for displaying a tree or table structure of AmosNodes most often representing a database scan. Each AmosOutliner remembers which typebrowser window it was started from, especially important when executing Amos II Functions. (The AmosInterface instance is needed). If the scan displayed in the outliner is streamed. This is remembered with a boolean attribute and the scan is saved with a scan attribute.
Inner classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
Inner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Fields inherited from class javax.swing.JComponent |
accessibleContext,
listenerList,
TOOL_TIP_TEXT_KEY,
ui,
UNDEFINED_CONDITION,
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,
WHEN_FOCUSED,
WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
AmosOutliner(TypeBrowser tb)
Creates an unstreamed AmosOutliner object from a typebrowser object. |
|
AmosOutliner(TypeBrowser tb,
boolean isStreamed)
Creates an AmosOutliner object from a typebrowser object and a boolean for the streaming property. |
|
AmosOutliner(TypeBrowser tb,
boolean isStreamed,
java.lang.String column)
Creates an AmosOutliner object from a typebrowser object and a String for the first column heading. |
|
AmosOutliner(TypeBrowser tb,
java.lang.Exception err)
Creates an AmosOutliner object to display a certain exception. |
|
AmosOutliner(TypeBrowser tb,
java.lang.String column)
Creates an unstreamed AmosOutliner object from a typebrowser object and a String for the first column. |
|
AmosOutliner(TypeBrowser tb,
java.lang.String[] columns)
creates an unstreamed AmosOutliner object from a typebrowser object and a String array of column headings. |
Method Summary | |
void |
addToExpanded(StringVector v)
|
void |
addToLowerPanel(java.awt.Component c)
|
void |
closeAndSaveCashed(AmosOutliner dest)
Method to close the scan and transfer the cashed AmosNodes into another open AmosOutliner. |
void |
closeScan()
|
void |
collapseAll()
|
void |
deleteSelectedNodes()
|
void |
display(callin.Scan theScan)
Displays an arbitary scan in the outliner. |
void |
displayTuple(callin.Tuple tp)
Displays a tuple from the callin interface |
void |
expandAll()
|
void |
expandAll(AmosNode nd)
|
void |
folderChanged(Goovi.JCOutlinerNode nd)
|
AmosTree |
getAmosTree()
|
NodeCash |
getNodeCash()
|
Goovi.MyOutliner |
getOutliner()
|
AmosNode |
getRoot()
|
StringVector |
getSelectedNames()
|
AmosNode |
getSelectedNode()
|
Goovi.JCOutlinerNode[] |
getSelectedNodes()
|
java.util.Vector |
getSelectedNodesAsVector()
|
boolean |
isAnyNodeSelected()
|
java.lang.String |
makeCommalist()
Method to make a list separated by commas from the first level of nodes in the tree structure. |
void |
makeErrorIcon(java.lang.Exception err)
Method to set the tree in this AmosOutliner to visualize an Exception. |
void |
makeNilTree()
Creates a tree with one visible NIL-node |
AmosNode |
makeNode(callin.Tuple tp,
int i)
|
int |
numberOfSelected()
|
void |
refreshInfoColumns()
Method to refresh the info columns (Oid and type column.) |
void |
removeFromExpanded(java.lang.Object obj)
|
void |
setHeading(java.lang.String str)
|
void |
setTree(AmosTree tr)
|
void |
sort()
Sort the nodes in the tree. |
void |
viewEntireTree()
|
void |
viewOnlySubTree()
|
Methods inherited from class javax.swing.JPanel |
getAccessibleContext,
getUIClassID,
paramString,
updateUI |
Methods inherited from class javax.swing.JComponent |
addAncestorListener,
addNotify,
addPropertyChangeListener,
addVetoableChangeListener,
computeVisibleRect,
contains,
createToolTip,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
fireVetoableChange,
getActionForKeyStroke,
getAlignmentX,
getAlignmentY,
getAutoscrolls,
getBorder,
getBounds,
getClientProperty,
getComponentGraphics,
getConditionForKeyStroke,
getDebugGraphicsOptions,
getGraphics,
getHeight,
getInsets,
getInsets,
getLocation,
getMaximumSize,
getMinimumSize,
getNextFocusableComponent,
getPreferredSize,
getRegisteredKeyStrokes,
getRootPane,
getSize,
getToolTipLocation,
getToolTipText,
getToolTipText,
getTopLevelAncestor,
getWidth,
getVisibleRect,
getX,
getY,
grabFocus,
hasFocus,
isDoubleBuffered,
isFocusCycleRoot,
isFocusTraversable,
isLightweightComponent,
isManagingFocus,
isOpaque,
isOptimizedDrawingEnabled,
isPaintingTile,
isRequestFocusEnabled,
isValidateRoot,
paint,
paintBorder,
paintChildren,
paintComponent,
paintImmediately,
paintImmediately,
processComponentKeyEvent,
processFocusEvent,
processKeyEvent,
processMouseMotionEvent,
putClientProperty,
registerKeyboardAction,
registerKeyboardAction,
removeAncestorListener,
removeNotify,
removePropertyChangeListener,
removeVetoableChangeListener,
repaint,
repaint,
requestDefaultFocus,
requestFocus,
resetKeyboardActions,
reshape,
revalidate,
scrollRectToVisible,
setAlignmentX,
setAlignmentY,
setAutoscrolls,
setBackground,
setBorder,
setDebugGraphicsOptions,
setDoubleBuffered,
setEnabled,
setFont,
setForeground,
setMaximumSize,
setMinimumSize,
setNextFocusableComponent,
setOpaque,
setPreferredSize,
setRequestFocusEnabled,
setToolTipText,
setUI,
setVisible,
unregisterKeyboardAction,
update |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getLayout,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
preferredSize,
print,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
setLayout,
validate,
validateTree |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
getBackground,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getInputContext,
getInputMethodRequests,
getLocale,
getLocation,
getLocationOnScreen,
getName,
getParent,
getPeer,
getSize,
getToolkit,
getTreeLock,
gotFocus,
handleEvent,
hide,
imageUpdate,
inside,
isDisplayable,
isEnabled,
isLightweight,
isShowing,
isValid,
isVisible,
keyDown,
keyUp,
list,
list,
list,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
postEvent,
prepareImage,
prepareImage,
printAll,
processComponentEvent,
processInputMethodEvent,
processMouseEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
resize,
resize,
setBounds,
setBounds,
setComponentOrientation,
setCursor,
setDropTarget,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
show,
show,
size,
toString,
transferFocus |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public AmosOutliner(TypeBrowser tb)
tb
- The typebrowser that this AmosOutliner originated from.public AmosOutliner(TypeBrowser tb, boolean isStreamed)
tb
- The typebrowser that this AmosOutliner originated from.isStreamed
- A boolean to set if this AmosOutliner should be streamed.public AmosOutliner(TypeBrowser tb, java.lang.String[] columns)
tb
- The typebrowser that this AmosOutliner originated from.columns
- A String array of column headings.public AmosOutliner(TypeBrowser tb, boolean isStreamed, java.lang.String column)
tb
- The typebrowser that this AmosOutliner originated from.isStreamed
- A boolean to set if this AmosOutliner should be streamed.column
- A String to represent first column heading.public AmosOutliner(TypeBrowser tb, java.lang.String column)
tb
- The typebrowser that this AmosOutliner originated from.column
- A String to represent first column heading.public AmosOutliner(TypeBrowser tb, java.lang.Exception err)
tb
- The typebrowser that this AmosOutliner originated from.err
- The exception that occurred.Method Detail |
public void addToLowerPanel(java.awt.Component c)
public void setHeading(java.lang.String str)
public void refreshInfoColumns()
public void folderChanged(Goovi.JCOutlinerNode nd)
public void setTree(AmosTree tr)
public void viewEntireTree()
public void viewOnlySubTree()
public boolean isAnyNodeSelected()
public final Goovi.JCOutlinerNode[] getSelectedNodes()
public java.util.Vector getSelectedNodesAsVector()
public AmosNode getSelectedNode()
public StringVector getSelectedNames()
public int numberOfSelected()
public void deleteSelectedNodes()
public void expandAll()
public void expandAll(AmosNode nd)
public void addToExpanded(StringVector v)
public void removeFromExpanded(java.lang.Object obj)
public void collapseAll()
public AmosTree getAmosTree()
public AmosNode getRoot()
public final Goovi.MyOutliner getOutliner()
public final NodeCash getNodeCash()
public void closeScan() throws callin.AmosException
public void closeAndSaveCashed(AmosOutliner dest) throws callin.AmosException
public final java.lang.String makeCommalist()
public void makeErrorIcon(java.lang.Exception err)
err
- The exception to visualizepublic void makeNilTree()
public void displayTuple(callin.Tuple tp) throws java.lang.Exception
tp
- Tuple to be displayed.public void sort()
public void display(callin.Scan theScan)
theScan
- The scan to be displayedpublic AmosNode makeNode(callin.Tuple tp, int i) throws java.lang.Exception
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |