|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FormContainer
Tentackle GUI-containers must implement this interface.
FormContainers are aware of the data binding and provide some more features like online help.
| Method Summary | |
|---|---|
boolean |
areValuesChanged()
Checks whether the contents of some components in this or sub containers have changed since the last savepoint. |
void |
getFormValues()
Retrieves the values from all components in this container and all sub containers. Used to update the data from the view according to the data binding. |
String |
getHelpURL()
Gets the online-help URL. |
Window |
getParentWindow()
Gets the parent window. |
String |
getTitle()
Gets the container's title. |
void |
invalidateParentInfo()
Invalidates all container-relevant (cached) information for the hierarchy of this container's parents. For optimization purposes. |
boolean |
isAllChangeable()
Returns whether this container has the all-changeable attribute set. |
boolean |
isHonourAllChangeable()
Returns whether the container should honour the allChangeable attribute. |
void |
saveValues()
Sets a savepoint for all components in this container and all sub containers. |
void |
setAllChangeable(boolean allChangeable)
Sets the changeable attribute of all components of this container and all sub containers. |
void |
setFormValues()
Sets the values in all form components in this container and all sub containers. Used to update the view from the data according to the data binding. |
void |
setFormValuesKeepChanged()
Sets the values in all unchanged form components in this container and all sub containers. All changed components are left untouched. |
void |
setHelpURL(String helpURL)
Sets the online-help URL. If a help url is set for this container, a browser will be launched to show that url if there is no help url for the component the help was requested for. |
void |
setHonourAllChangeable(boolean honourAllChangeable)
Sets whether the container should honour the allChangeable attribute. |
void |
setTitle(String title)
set the (optional) title. If the container is a window, the title is the window-title. |
void |
showHelp()
Displays online help for this container. |
void |
triggerValuesChanged()
Signals that values in the components of the container may have changed. |
| Method Detail |
|---|
void setTitle(String title)
title - the container's title, null if noneString getTitle()
void setFormValues()
void getFormValues()
void setFormValuesKeepChanged()
FormComponent.isValueChanged()void saveValues()
FormComponent.saveValue()boolean areValuesChanged()
void triggerValuesChanged()
void setAllChangeable(boolean allChangeable)
allChangeable - true if all changeable (default)boolean isAllChangeable()
void setHonourAllChangeable(boolean honourAllChangeable)
honourAllChangeable - true to honour allchangeable (default)boolean isHonourAllChangeable()
Window getParentWindow()
void invalidateParentInfo()
void setHelpURL(String helpURL)
helpURL - the help urlFormHelper.openHelpURL(Component)String getHelpURL()
void showHelp()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||