public class RadioItemGroup extends ButtonGroup implements FormComponent, Freeable
buttonsDEBUG_LANGUAGE| Constructor and Description |
|---|
RadioItemGroup(Hashtable parameters)
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
void |
free()
Makes the object to release the resources.
|
Object |
getAttribute()
Gets the attribute.
|
Object |
getConstraints(LayoutManager layout)
Description method to return the
constraints component to
place correctly in parent container. |
Vector |
getTextsToTranslate()
Returns all the texts in the element suitable for being translated.
|
void |
init(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(Locale l) |
void |
setEnabled(boolean enabled)
Description method to set enabled or not the component according the
boolean condition in parameter.
|
void |
setResourceBundle(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.
|
add, clearSelection, getButtonCount, getElements, getSelection, isSelected, remove, setSelectedpublic RadioItemGroup(Hashtable parameters)
parameters - the Hashtable with parameterspublic Object getConstraints(LayoutManager layout)
FormComponentconstraints component to
place correctly in parent container.
getConstraints in interface FormComponentlayout - the parent container referencepublic void init(Hashtable parameters)
FormComponenthashtable.
init in interface FormComponentparameters - the hashtable with pairs (Key,Value). For example:
| Key | Value |
| align | center |
| attr | attribute |
| ... | ... |
public Object getAttribute()
public void setResourceBundle(ResourceBundle resources)
InternationalizationsetResourceBundle in interface Internationalizationresources - the new language bundle.public Vector getTextsToTranslate()
InternationalizationgetTextsToTranslate in interface Internationalizationpublic void setComponentLocale(Locale l)
setComponentLocale in interface Internationalizationpublic void setEnabled(boolean enabled)
FormComponentsetEnabled in interface FormComponentenabled - the enabled conditionpublic void free()
Freeableprotected void finalize()
throws Throwable
public void setVisible(boolean visible)
FormComponentsetVisible in interface FormComponentvisible - the visibility conditionpublic boolean isEnabled()
FormComponentisEnabled in interface FormComponentCopyright © 2016 Imatia Innovation S.L.. All rights reserved.