|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gumbo.util.AbstractDisposable | +--gumbo.util.relation.AbstractTreeNodeDelegator | +--gumbo.graphic.space.AbstractSpaceNode | +--gumbo.graphic.impl.swing.SwingSpaceNode | +--gumbo.visualize.data.impl.swing.SwingTreeView
A default tree view implemented using a JTree. The default space tree delegate is an auto-node with a new relationship, wrapped as a root node.
Nested Class Summary | |
static class |
SwingTreeView.SwingPickEngine
Pick engine needed to pick nodes in this view. |
Field Summary | |
static javax.swing.Icon |
ICON_BRANCH_CLOSED
Default icon for a closed branch node. |
static javax.swing.Icon |
ICON_BRANCH_OPEN
Default icon for an open branch node. |
static javax.swing.Icon |
ICON_LEAF
Default icon for a leaf node. |
static javax.swing.border.Border |
VIEW_BORDER
Default world space border. |
static java.awt.Dimension |
VIEWPORT_SIZE
Default viewport size, in pixels. |
Constructor Summary | |
SwingTreeView(WholeView view)
|
Method Summary | |
DataView |
getDataView()
Gets the data view implemented by this graphic view. |
javax.swing.tree.DefaultTreeModel |
getTreeModel()
Returns the Swing tree model. |
void |
implDispose()
Disposes the super, then disposes self. |
protected TreeNode |
newTreeNodeDelegate()
Default implementation: Returns a new AbstractTreeNode.Auto() subclass with a new TreeNodes.Tree relationship, and wrapped as a root node. |
Methods inherited from class gumbo.graphic.impl.swing.SwingSpaceNode |
canIntersectGraphic, getGraphic, getGraphicAxisBound3, getGraphicLocalSpace, getGraphicTransform, getGraphicTranslation, initSwingSpaceNode, intersectGraphic, isSpaceTransforming, prepareGraphicPresence, realizeGraphicPresence, setGraphicTranslation |
Methods inherited from class gumbo.graphic.space.AbstractSpaceNode |
getGraphicSpaceTree |
Methods inherited from class gumbo.util.relation.AbstractTreeNodeDelegator |
getTreeNodeDelegate |
Methods inherited from class gumbo.util.AbstractDisposable |
dispose, isDisposed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface gumbo.graphic.GraphicPresence |
prepareGraphicPresence, realizeGraphicPresence |
Methods inherited from interface gumbo.graphic.Graphic |
getGraphic |
Methods inherited from interface gumbo.util.Disposable |
dispose, isDisposed |
Methods inherited from interface gumbo.graphic.space.SpaceNode |
getGraphicSpaceTree |
Field Detail |
public static final java.awt.Dimension VIEWPORT_SIZE
public static final javax.swing.border.Border VIEW_BORDER
public static final javax.swing.Icon ICON_LEAF
public static final javax.swing.Icon ICON_BRANCH_OPEN
public static final javax.swing.Icon ICON_BRANCH_CLOSED
Constructor Detail |
public SwingTreeView(WholeView view)
Method Detail |
public javax.swing.tree.DefaultTreeModel getTreeModel()
protected TreeNode newTreeNodeDelegate()
newTreeNodeDelegate
in class AbstractTreeNodeDelegator
public DataView getDataView()
GraphicView
getDataView
in interface GraphicView
public void implDispose()
implDispose
in class SwingSpaceNode
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |