|
Ontimize 5.2072EN | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface defines the methods that allows to initialize objects with
their parameters, also allows to get information about their position in
forms and finally, sets this active or inactive state. All components that
will be created by xml constructor must implement this interface
and a public constructor like: public
constructor(Hashtable params)
| Field Summary | |
static boolean |
DEBUG
DEBUG mode. |
| Fields inherited from interface com.ontimize.gui.i18n.Internationalization |
DEBUG_LANGUAGE |
| Method Summary | |
java.lang.Object |
getConstraints(java.awt.LayoutManager parentLayout)
Description method to return the constraints component to
place correctly in parent container.
|
void |
init(java.util.Hashtable parameters)
Main method to init an object from parameters hashtable.
|
boolean |
isEnabled()
Description method to check when a component is or not enabled. |
void |
setEnabled(boolean enabled)
Description method to set enabled or not the component according the boolean condition in parameter. |
void |
setVisible(boolean visible)
Description method to set visible or not the component according the boolean condition in parameter. |
| Methods inherited from interface com.ontimize.gui.i18n.Internationalization |
getTextsToTranslate, setComponentLocale, setResourceBundle |
| Field Detail |
public static final boolean DEBUG
| Method Detail |
public void init(java.util.Hashtable parameters)
throws java.lang.Exception
hashtable.
parameters - the hashtable with pairs (Key,Value). For example:
| Key | Value |
| align | center |
| attr | attribute |
| ... | ... |
java.lang.Exception - when Exception occurspublic java.lang.Object getConstraints(java.awt.LayoutManager parentLayout)
constraints component to
place correctly in parent container.
parentLayout - the parent container reference
public void setEnabled(boolean enabled)
enabled - the enabled conditionpublic void setVisible(boolean visible)
visible - the visibility conditionpublic boolean isEnabled()
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||