|
||||||||||
| 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.JScrollPane
|
+--org.openide.explorer.view.TreeView
|
+--org.openide.explorer.view.ContextTreeView
Context tree view class.
| Inner classes inherited from class javax.swing.JScrollPane |
JScrollPane.AccessibleJScrollPane, JScrollPane.ScrollBar |
| Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
| Inner classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
| Inner classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent |
| Fields inherited from class org.openide.explorer.view.TreeView |
tree |
| Fields inherited from class javax.swing.JScrollPane |
columnHeader, horizontalScrollBar, horizontalScrollBarPolicy, lowerLeft, lowerRight, rowHeader, upperLeft, upperRight, verticalScrollBar, verticalScrollBarPolicy, viewport |
| 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 |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
ContextTreeView()
Constructor. |
|
| Method Summary | |
protected NodeTreeModel |
createModel()
Create model. |
protected boolean |
selectionAccept(Node[] nodes)
Called when explorer manager is about to change the current selection. |
protected void |
selectionChanged(Node[] nodes,
ExplorerManager man)
Called to allow subclasses to define the behaviour when a node(s) are selected in the tree. |
protected void |
showPath(TreePath path)
Expand the given path and makes it visible. |
protected void |
showSelection(TreePath[] paths)
Shows selection to reflect the current state of the selection in the explorer. |
protected boolean |
useExploredContextMenu()
Permit use of explored contexts. |
| Methods inherited from class org.openide.explorer.view.TreeView |
addNotify, collapseNode, expandAll, expandNode, getAllowedDragActions, getAllowedDropActions, isDefaultActionEnabled, isDragSource, isDropTarget, isExpanded, isPopupAllowed, isRootVisible, removeNotify, requestFocus, setAllowedDragActions, setAllowedDropActions, setDefaultActionAllowed, setDragSource, setDropTarget, setPopupAllowed, setRootVisible |
| 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, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, validate, validateTree |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ContextTreeView()
| Method Detail |
protected boolean selectionAccept(Node[] nodes)
TreeViewselectionAccept in class TreeVieworg.openide.explorer.view.TreeViewnodes - the nodes to select
protected void selectionChanged(Node[] nodes,
ExplorerManager man)
throws PropertyVetoException
TreeViewselectionChanged in class TreeVieworg.openide.explorer.view.TreeViewnodes - the selected nodesem - explorer manager to work on (change nodes to it)PropertyVetoException - if the change cannot be done by the explorer
(the exception is silently consumed)protected void showPath(TreePath path)
showPath in class TreeViewpath - the pathprotected void showSelection(TreePath[] paths)
showSelection in class TreeViewpaths - array of paths that should be selectedprotected boolean useExploredContextMenu()
useExploredContextMenu in class TreeViewtrue alwaysprotected NodeTreeModel createModel()
createModel in class TreeVieworg.openide.explorer.view.TreeView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||