|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectUI.GEVAControl
UI.GEVAContainerControl
UI.GEVABookContainer
public class GEVABookContainer
The root container for all properties. Displayed as a tabbed control, allows the properties to be grouped into logical pages
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class UI.GEVAContainerControl |
|---|
GEVAContainerControl.Controls |
| Field Summary |
|---|
| Fields inherited from class UI.GEVAContainerControl |
|---|
controls |
| Fields inherited from class UI.GEVAControl |
|---|
comment, dirtyListener, name, parent, title, type |
| Constructor Summary | |
|---|---|
GEVABookContainer(GEVADirtyListener dirtyListener,
java.lang.String comment)
|
|
| Method Summary | |
|---|---|
void |
add(GEVAControl page)
Add an awt component to the awt component that is this container. |
void |
addControlGroup(java.lang.String name,
GEVAControlGroup controlGroup)
Add a control group to an object, typically the Book object. |
int |
countComponents()
Abstract way for a container to know about its child's awt components. |
java.awt.Component |
getComponent(int index)
Abstract way for a container to know about its child's awt components. |
java.lang.String |
getText()
Get the value of teh control, using a text string |
void |
setPage(java.lang.String title)
Helper - programmatically change the selected tabbed page to the specified page by title. |
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. |
| Methods inherited from class UI.GEVAContainerControl |
|---|
load, save, setEnabled, validate |
| Methods inherited from class UI.GEVAControl |
|---|
addActionListener, fireActionEvent, getComment, 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 |
| Constructor Detail |
|---|
public GEVABookContainer(GEVADirtyListener dirtyListener,
java.lang.String comment)
| Method Detail |
|---|
public void setPage(java.lang.String title)
title - The title of the page used for the title argument set when
creating the GEVAPageControlpublic void add(GEVAControl page)
GEVAContainerControl
add in class GEVAContainerControlpage - The control to addpublic java.awt.Component getComponent(int index)
GEVAControl
getComponent in class GEVAControlindex - The index of the component to get
public int countComponents()
GEVAControl
countComponents in class GEVAControl
public void addControlGroup(java.lang.String name,
GEVAControlGroup controlGroup)
name - The name of the control group. All controls in the group are
referenced by this namecontrolGroup - A collection of all the controls in the group
public void setVisibleControlGroup(java.lang.String name,
boolean show)
GEVAControl
setVisibleControlGroup in class GEVAContainerControlname - 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 GEVAContainerControlshow - Specify true to show this control, else false to hidepublic java.lang.String getText()
GEVAControl
getText in class GEVAContainerControlpublic void setText(java.lang.String text)
GEVAContainerControl
setText in class GEVAContainerControltext - The value to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||