|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
symantec.itools.awt.TreeView
wt.clients.beans.explorer.WTTree
WTTree is a Tree View for the Explorer Browser.
Supported API: true
Extendable: false
Nested Class Summary | |
(package private) class |
WTTree.SymMouse
|
Nested classes inherited from class symantec.itools.awt.TreeView |
|
Nested classes inherited from class java.awt.Panel |
Panel.AccessibleAWTPanel |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
private WTNode |
myRoot
|
Fields inherited from class symantec.itools.awt.TreeView |
actionListener, adjustment, CHILD, count, e, errors, fm, focus, g1, horizontalScrollBar, im1, isSun1_1, itemListener, key, LAST, mouse, needResetVector, newWidth, NEXT, NODE_COLLAPSED, NODE_EXPANDED, NODE_TOGGLED, redrawTriggered, rootNode, sbHLineIncrement, sbHShow, sbHSize, sbVShow, SEL_CHANGED, selectedNode, topVisibleNode, v, verticalScrollBar, viewCount, viewHeight, viewWidest, viewWidth |
Fields inherited from class java.awt.Panel |
|
Fields inherited from class java.awt.Container |
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
WTTree()
Constructs a TreeView with a single root node. |
|
WTTree(Explorable root_node)
Constructor for a WTTree which takes in an Explorable object to be used as the root node for this tree. |
Method Summary | |
WTNode |
addNode(WTNode aParent,
Explorable aChild)
Adds the specified object to the specified parent node. |
WTNode |
addNode(WTNode aParent,
Explorable aChild,
boolean redraw)
Adds the specified object to the specified parent node. |
WTNode |
addNode(WTNode aParent,
WTNode aChild)
Adds the specified child node to the specified parent node |
WTNode |
addNode(WTNode aParent,
WTNode aChild,
boolean redraw)
Adds the specified child node to the specified parent node |
WTNode |
findNode(Explorable obj)
Find the node containing the Explorable. |
WTNode[] |
findNodes(Explorable obj)
Find the nodes containing the Explorable. |
WTNode |
getExpanded()
Return the last expanded node |
WTNode |
getRoot()
Return the root node. |
WTNode |
getSelected()
Return the last selected node |
WTNode |
removeNode(WTNode aNode)
Removes the given node from the TreeView. |
void |
setSelectedNode(WTNode node)
|
(package private) void |
WTTree_mouseExited(MouseEvent event)
|
Methods inherited from class symantec.itools.awt.TreeView |
addActionListener, addChild, addItemListener, addNotify, addSibling, addSibling, append, changeSelection, clear, compWidth, debugVector, drawDotLine, drawNodeText, drawNodeToggle, drawTree, exists, exists, findLastPreSpace, getBgHilite, getCount, getFgHilite, getMinimumSize, getPreferredSize, getRootNode, getSelectedNode, getSelectedObjects, getSelectedText, getTreeStructure, getViewCount, handleAdjustmentEvent, handleFocusGained, handleFocusLost, handleKeyPressed, handleMousePressed, handleMouseReleased, insert, isFocusTraversable, minimumSize, newTreeNode, paint, parseTreeStructure, preferredSize, printTree, printTree, recount, redraw, redraw, remove, remove, removeActionListener, removeItemListener, removeNotify, removeSelected, repaint, resetVector, sendActionEvent, setLayout, setSelectedNode, setTreeStructure, traverse, triggerRedraw, update, vectorize |
Methods inherited from class java.awt.Panel |
getAccessibleContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private WTNode myRoot
Constructor Detail |
public WTTree()
public WTTree(Explorable root_node)
root_node
- the Explorable to be used as the root node of the
tree.Method Detail |
public void setSelectedNode(WTNode node)
public WTNode getRoot()
public WTNode addNode(WTNode aParent, WTNode aChild, boolean redraw)
aChild
- the node to add as a childaParent
- the node to add the child to.redraw
- if true, use method which redraws after adding node
public WTNode addNode(WTNode aParent, WTNode aChild)
aChild
- the node to add as a childaParent
- the node to add the child to.
public WTNode addNode(WTNode aParent, Explorable aChild, boolean redraw)
aChild
- the object to add as a childaParent
- the node to add the child to.
public WTNode addNode(WTNode aParent, Explorable aChild)
aChild
- the object to add as a childaParent
- the node to add the child to.
public WTNode removeNode(WTNode aNode)
aNode
- the node to remove
public WTNode getExpanded()
public WTNode getSelected()
public WTNode[] findNodes(Explorable obj)
obj
- the object to findWTNode
,
Explorable
public WTNode findNode(Explorable obj)
obj
- the object to findWTNode
,
Explorable
void WTTree_mouseExited(MouseEvent event)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |