| |
|
| com.jeta.forms.store.properties.JETAProperty com.jeta.forms.store.properties.ButtonGroupProperty
ButtonGroupProperty | public class ButtonGroupProperty extends JETAProperty (Code) | | This property is used to represent a button group assignment for a given
radio button. Button groups on a form are identified by a group name. This
property also provides the logic for creating and adding radio buttons to the
groups at at runtime.
author: Jeff Tassin |
PROPERTY_ID | final public static String PROPERTY_ID(Code) | | The name of this property
|
VERSION | final public static int VERSION(Code) | | The current version number of this class
|
serialVersionUID | final static long serialVersionUID(Code) | | |
ButtonGroupProperty | public ButtonGroupProperty()(Code) | | Creates a ButtonGroupProperty set to group "1"
|
ButtonGroupProperty | public ButtonGroupProperty(String groupName)(Code) | | Creates a ButtonGroupProperty with the specified group
name.
Parameters: groupName - the name of the group to set. |
getGroupName | public String getGroupName()(Code) | | Returns the name of the button group.
the name of this group |
postInitialize | public void postInitialize(FormPanel panel, JETABean bean)(Code) | | PostInitialize is called once after all components in a form have been
instantiated at runtime (not design time). This call allows properties to
do last minute initializations to components that require the FormPanel
instance which contains them. In this case we need to override because we
use FormPanel to store the ButtonGroup instances. Adds the underlying
JavaBean to the named button group in the panel.
Parameters: panel - the panel that contains the radio buttons associated with thisbutton group. Parameters: bean - the jetabean associated with this property |
setGroupName | public void setGroupName(String groupName)(Code) | | Sets the name of this group
Parameters: groupName - the name of the group |
setValue | public void setValue(Object prop)(Code) | | Sets this property to that of another ButtonGroupProperty.
Parameters: prop - a ButtonGroupProperty instance. |
updateBean | public void updateBean(JETABean jbean)(Code) | | Updates the bean with the current value of this property
|
Fields inherited from com.jeta.forms.store.properties.JETAProperty | final public static int VERSION(Code)(Java Doc) final static long serialVersionUID(Code)(Java Doc)
|
|
|
|