|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo2.app.Component
echopointng.ComponentEx
echopointng.AbleComponent
echopointng.Tree
com.sptci.epng.Tree
public class Tree
A sub-class of Tree that uses the SPT standard icons.
Copyright 2007 Sans Pareil Technologies, Inc.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class echopointng.Tree |
|---|
Tree.TreeModelHandler, Tree.TreeRowMapper, Tree.TreeSelectionForwarder |
| Field Summary |
|---|
| Fields inherited from class echopointng.ComponentEx |
|---|
PROPERTY_HIDDEN |
| Fields inherited from interface echopointng.able.AccessKeyable |
|---|
PROPERTY_ACCESS_KEY |
| Fields inherited from interface echopointng.able.Borderable |
|---|
PROPERTY_BORDER |
| Fields inherited from interface echopointng.able.MouseCursorable |
|---|
CURSOR_AUTO, CURSOR_CROSSHAIR, CURSOR_CUSTOM_URI, CURSOR_DEFAULT, CURSOR_E_RESIZE, CURSOR_HELP, CURSOR_MOVE, CURSOR_N_RESIZE, CURSOR_NE_RESIZE, CURSOR_NW_RESIZE, CURSOR_POINTER, CURSOR_S_RESIZE, CURSOR_SE_RESIZE, CURSOR_SW_RESIZE, CURSOR_TEXT, CURSOR_W_RESIZE, CURSOR_WAIT, PROPERTY_MOUSE_CURSOR, PROPERTY_MOUSE_CURSOR_URI |
| Fields inherited from interface echopointng.able.Insetable |
|---|
DEFAULT_INSETS, DEFAULT_OUTSETS, PROPERTY_INSETS, PROPERTY_OUTSETS |
| Fields inherited from interface echopointng.able.Widthable |
|---|
PROPERTY_WIDTH |
| Fields inherited from interface echopointng.able.Heightable |
|---|
PROPERTY_HEIGHT |
| Fields inherited from interface echopointng.able.ToolTipable |
|---|
PROPERTY_TOOL_TIP_TEXT |
| Constructor Summary | |
|---|---|
Tree()
Create a Tree with a DefaultMutableTreeNode
as its root, which displays the root node. |
|
Tree(TreeModel model)
Create a new tree using the specified TreeModel |
|
Tree(TreeNode root)
Create a tree with the specified TreeNode as its
root, which displays the root node. |
|
Tree(TreeNode root,
boolean asksAllowsChildren)
Create a tree with the specified TreeNode as its
root, which displays the root node and which decides whether a node is a
leaf node in the specified manner. |
|
| Method Summary | |
|---|---|
protected void |
setDefaults()
Set defaults for the newly constructed component. |
| Methods inherited from class echopointng.AbleComponent |
|---|
getAccessKey, getBorder, getHeight, getInsets, getMouseCursor, getMouseCursorUri, getOutsets, getToolTipText, getWidth, setAccessKey, setBorder, setHeight, setInsets, setMouseCursor, setMouseCursorUri, setOutsets, setToolTipText, setWidth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface echopointng.able.Delegateable |
|---|
getRenderProperty, getRenderProperty |
| Methods inherited from interface echopointng.able.Delegateable |
|---|
getRenderProperty, getRenderProperty |
| Methods inherited from interface echopointng.able.Delegateable |
|---|
getRenderProperty, getRenderProperty |
| Methods inherited from interface echopointng.able.Delegateable |
|---|
getRenderProperty, getRenderProperty |
| Methods inherited from interface echopointng.able.Delegateable |
|---|
getRenderProperty, getRenderProperty |
| Methods inherited from interface echopointng.able.Delegateable |
|---|
getRenderProperty, getRenderProperty |
| Constructor Detail |
|---|
public Tree()
DefaultMutableTreeNode
as its root, which displays the root node.
setDefaults(),
Tree.Tree()public Tree(TreeModel model)
TreeModel
model - The tree model to use for the tree.setDefaults(),
Tree.Tree( TreeModel )public Tree(TreeNode root)
TreeNode as its
root, which displays the root node.
root - The root tree node for the tree.setDefaults(),
Tree.Tree( TreeNode )
public Tree(TreeNode root,
boolean asksAllowsChildren)
TreeNode as its
root, which displays the root node and which decides whether a node is a
leaf node in the specified manner.
root - The root tree node for the tree.asksAllowsChildren - A flag indicating whether nodes are determined
as having children by querying the node or not.setDefaults(),
Tree.Tree( TreeNode, boolean )| Method Detail |
|---|
protected void setDefaults()
Tree.PROPERTY_SELECTION_MODEL since the TreeSelectionModel is too tightly coupled with the
Tree source code.
|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||