|
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
nextapp.echo2.app.Column
com.sptci.epng.editabletree.Node
com.sptci.epng.editabletree.RootNode
public class RootNode
A custom component used to display the root node name and controls.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Field Summary |
|---|
| Fields inherited from class com.sptci.epng.editabletree.Node |
|---|
add, display, displayName, objectId, treeable |
| Fields inherited from class nextapp.echo2.app.Column |
|---|
PROPERTY_BORDER, PROPERTY_CELL_SPACING, PROPERTY_INSETS |
| Constructor Summary | |
|---|---|
RootNode()
Create a new instance with no value for Node.treeable. |
|
RootNode(String name)
Create a new instance using the specified string. |
|
RootNode(Treeable treeable)
Create a new instance using the specified model object. |
|
| Method Summary | |
|---|---|
protected DisplayComponent |
createDisplayComponent()
Implementation of the mandatory method to initialise the appropriate DisplayComponent. |
protected DisplayComponent |
createDisplayComponent(Treeable treeable)
Implementation of the mandatory method to initialise the appropriate DisplayComponent. |
| Methods inherited from class com.sptci.epng.editabletree.Node |
|---|
addChild, addChild, compareTo, equals, getAdd, getDisplay, getName, getObjectId, getTreeable, hashCode, setAdd, setName, toString |
| Methods inherited from class nextapp.echo2.app.Column |
|---|
getBorder, getCellSpacing, getInsets, setBorder, setCellSpacing, setInsets |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RootNode()
Node.treeable.
public RootNode(Treeable treeable)
treeable - The model object for this node.public RootNode(String name)
name - The name to display in the root node.| Method Detail |
|---|
protected DisplayComponent createDisplayComponent()
DisplayComponent.
createDisplayComponent in class NodeRootDisplayComponent instance.protected DisplayComponent createDisplayComponent(Treeable treeable)
DisplayComponent.
createDisplayComponent in class Nodetreeable - The model object to use to initialise the display
component.
RootDisplayComponent instance.
|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||