|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| 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.Window
A top-level window.
| Field Summary | |
static java.lang.String |
PROPERTY_TITLE
|
| Constructor Summary | |
Window()
Creates a new window. |
|
| Method Summary | |
ContentPane |
getContent()
Returns the content of the window. |
java.lang.String |
getTitle()
Returns the window title. |
boolean |
isValidChild(Component component)
Determines if a given Component is valid to be added as a
child to this Component. |
boolean |
isValidParent(Component parent)
Reject all parents ( Window may only be used as a
top-level component). |
void |
setContent(ContentPane newValue)
Sets the content of the window. |
void |
setTitle(java.lang.String newValue)
Sets the window title. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String PROPERTY_TITLE
| Constructor Detail |
public Window()
| Method Detail |
public ContentPane getContent()
public java.lang.String getTitle()
public boolean isValidChild(Component component)
ComponentComponent is valid to be added as a
child to this Component. Default implementation always
returns true, may be overridden to provide specific behavior.
isValidChild in class Componentcomponent - the Component to evaluate as a child
Component is a valid childComponent.isValidChild(nextapp.echo2.app.Component)public boolean isValidParent(Component parent)
Window may only be used as a
top-level component).
isValidParent in class Componentparent - the Component to evaluate as a parent
Component is a valid parentComponent.isValidParent(nextapp.echo2.app.Component)public void setContent(ContentPane newValue)
newValue - the new window contentpublic void setTitle(java.lang.String newValue)
newValue - the new window title
|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||