|
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.AddComponent
public class AddComponent
A custom component used to display the node name and controls.
&coopy; Copyright 2007 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
protected Button |
cancel
The button that is used to cancel the add operation. |
protected TextField |
name
The component that is used to capture the name of the new node that is being created as a child of this node. |
protected Button |
save
The button that is used to trigger a save operation for the new child. |
| Fields inherited from class nextapp.echo2.app.Row |
|---|
PROPERTY_ALIGNMENT, PROPERTY_BORDER, PROPERTY_CELL_SPACING, PROPERTY_INSETS |
| Constructor Summary | |
|---|---|
AddComponent()
Create a new instance with no value for name. |
|
| 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 TextField name
protected Button save
protected Button cancel
| Constructor Detail |
|---|
public AddComponent()
name.
| 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 | |||||||||