|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectUI.GEVAControl
UI.GEVAContainerControl
public abstract class GEVAContainerControl
Base control for all controls that are containers. Does administrative tasks, such as delegating calls to all contained children
Nested Class Summary | |
---|---|
protected static class |
GEVAContainerControl.Controls
|
Field Summary | |
---|---|
protected GEVAContainerControl.Controls |
controls
|
Fields inherited from class UI.GEVAControl |
---|
comment, dirtyListener, name, parent, title, type |
Constructor Summary | |
---|---|
GEVAContainerControl(GEVADirtyListener dirtyListener,
GEVAContainerControl parent,
java.lang.String type,
java.lang.String title,
java.lang.String comment)
|
Method Summary | |
---|---|
void |
add(GEVAControl control)
Add an awt component to the awt component that is this container. |
java.lang.String |
getText()
Get the value of teh control, using a text string |
boolean |
load(java.util.Properties properties)
Delegate loading to all the controls this container contains |
boolean |
save(java.util.Properties properties)
Delegate saving to all the controls this container contains |
void |
setEnabled(boolean enabled)
Delegate enabling to all the controls this container contains. |
void |
setText(java.lang.String text)
By default, containers don't have a setText (though Book container does, so it can change pages through setText) |
void |
setVisible(boolean show)
Make this control visible |
void |
setVisibleControlGroup(java.lang.String name,
boolean show)
Make all the controls in the control group visible or hidden. |
void |
validate()
Get all the contained controls to validate themselves |
Methods inherited from class UI.GEVAControl |
---|
addActionListener, countComponents, fireActionEvent, getComment, getComponent, getComponent, getName, getParent, getTitle, getType, isType, removeActionListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected GEVAContainerControl.Controls controls
Constructor Detail |
---|
public GEVAContainerControl(GEVADirtyListener dirtyListener, GEVAContainerControl parent, java.lang.String type, java.lang.String title, java.lang.String comment)
Method Detail |
---|
public void setEnabled(boolean enabled)
setEnabled
in class GEVAControl
enabled
- true to enabled, false to disablepublic boolean load(java.util.Properties properties)
load
in class GEVAControl
properties
- The properties of a loaded properties filepublic boolean save(java.util.Properties properties)
save
in class GEVAControl
properties
- The properties of a loaded properties filepublic void add(GEVAControl control)
control
- The control to addpublic void setVisibleControlGroup(java.lang.String name, boolean show)
GEVAControl
setVisibleControlGroup
in class GEVAControl
name
- The name of the control group, as set during the call to
addControlGroupshow
- Specify true to show the group, else falsepublic void setVisible(boolean show)
GEVAControl
setVisible
in class GEVAControl
show
- Specify true to show this control, else false to hidepublic java.lang.String getText()
GEVAControl
getText
in class GEVAControl
public void setText(java.lang.String text)
setText
in class GEVAControl
text
- public void validate()
validate
in class GEVAControl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |