|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo.app.Component
nextapp.echo.app.button.AbstractButton
nextapp.echo.app.Button
com.sptci.echo.CancelButton
public class CancelButton
A generic button used to implement cancel action in floating pane components. The default action is to close the floating pane component.
By default the text and tooltip for this component will be set based upon localised values for the following keys:
com.sptci.echo.CancelButton.text - The text to
display in the button.com.sptci.echo.CancelButton.tooltip - The tooltip
text to display for the button.© Copyright 2008 Sans Pareil Technologies, Inc.
| Nested Class Summary | |
|---|---|
protected class |
CancelButton.CancelListener
|
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
CancelButton()
Default constructor. |
|
CancelButton(String text,
String tooltip)
Create a new instance using the specified name. |
|
| Method Summary | |
|---|---|
void |
init()
Life-cycle method invoked when this component is added to the component hierarchy for the first time. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CancelButton()
public CancelButton(String text,
String tooltip)
text - The text to display in the button.tooltip - The tooltip text for the button.| Method Detail |
|---|
public void init()
init in class Component
|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||