|
Ontimize 5.2072EN | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.ButtonGroup
com.ontimize.gui.container.RadioItemGroup
This class creates a radio item group of buttons.
| Field Summary |
| Fields inherited from class javax.swing.ButtonGroup |
buttons |
| Fields inherited from interface com.ontimize.gui.field.FormComponent |
DEBUG |
| Fields inherited from interface com.ontimize.gui.i18n.Internationalization |
DEBUG_LANGUAGE |
| Constructor Summary | |
RadioItemGroup(java.util.Hashtable parameters)
Class constructor. |
|
| Method Summary | |
protected void |
finalize()
|
void |
free()
Makes the object to release the resources. |
java.lang.Object |
getAttribute()
Gets the attribute. |
java.lang.Object |
getConstraints(java.awt.LayoutManager layout)
Description method to return the constraints component to
place correctly in parent container.
|
java.util.Vector |
getTextsToTranslate()
Returns all the texts in the element suitable for being translated. |
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 |
setComponentLocale(java.util.Locale l)
|
void |
setEnabled(boolean enabled)
Description method to set enabled or not the component according the boolean condition in parameter. |
void |
setResourceBundle(java.util.ResourceBundle resources)
Sets the language resource bundle. |
void |
setVisible(boolean visible)
Description method to set visible or not the component according the boolean condition in parameter. |
| Methods inherited from class javax.swing.ButtonGroup |
add, getButtonCount, getElements, getSelection, isSelected, remove, setSelected |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RadioItemGroup(java.util.Hashtable parameters)
parameters - the Hashtable with parameters| Method Detail |
public java.lang.Object getConstraints(java.awt.LayoutManager layout)
FormComponentconstraints component to
place correctly in parent container.
getConstraints in interface FormComponentlayout - the parent container reference
public void init(java.util.Hashtable parameters)
FormComponenthashtable.
init in interface FormComponentparameters - the hashtable with pairs (Key,Value). For example:
| Key | Value |
| align | center |
| attr | attribute |
| ... | ... |
public java.lang.Object getAttribute()
public void setResourceBundle(java.util.ResourceBundle resources)
Internationalization
setResourceBundle in interface Internationalizationresources - the new language bundle.public java.util.Vector getTextsToTranslate()
Internationalization
getTextsToTranslate in interface Internationalizationpublic void setComponentLocale(java.util.Locale l)
setComponentLocale in interface Internationalizationpublic void setEnabled(boolean enabled)
FormComponent
setEnabled in interface FormComponentenabled - the enabled conditionpublic void free()
Freeable
free in interface Freeable
protected void finalize()
throws java.lang.Throwable
java.lang.Throwablepublic void setVisible(boolean visible)
FormComponent
setVisible in interface FormComponentvisible - the visibility conditionpublic boolean isEnabled()
FormComponent
isEnabled in interface FormComponent
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||