|
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.Row
com.sptci.epng.editabletree.DisplayComponent
public abstract class DisplayComponent
A custom component used to display the node name and controls in
Node. Subclassed to add a delete button to
trigger deletion of a node.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
protected Label |
name
The component that is used to display the name of the model object represented by this node. |
| Fields inherited from class nextapp.echo2.app.Row |
|---|
PROPERTY_ALIGNMENT, PROPERTY_BORDER, PROPERTY_CELL_SPACING, PROPERTY_INSETS |
| Constructor Summary | |
|---|---|
DisplayComponent()
Create a new instance with no value for name. |
|
DisplayComponent(Treeable treeable)
Create a new instance using the specified model object. |
|
| Method Summary | |
|---|---|
String |
getName()
Get the value displayed in the name component. |
void |
setName(String name)
Set the value displayed in the name component. |
| Methods inherited from class nextapp.echo2.app.Row |
|---|
getAlignment, getBorder, getCellSpacing, getInsets, setAlignment, setBorder, setCellSpacing, setInsets |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Label name
| Constructor Detail |
|---|
public DisplayComponent()
name.
public DisplayComponent(Treeable treeable)
treeable - The treeable to display in the component.| Method Detail |
|---|
public String getName()
name component.
public void setName(String name)
name component.
name - The text to display in the component.
|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||