
public abstract class Select1RadiobuttonModel extends Select1Model implements ActionListener
Select1 as a group of JRadioButtons, better for
 non-multilevel selects.SelectModel.SelectionTreeModelselectedfc, FORM_CONTROL_IN_TABLE, jc, label, needsLabel, needsPostNewLine, needsPreNewLine| Constructor and Description | 
|---|
Select1RadiobuttonModel(Select1 control,
                       Renderer render)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
actionPerformed(ActionEvent e) | 
protected Object | 
getAssociatedValue(JComponent jc)
Get the value associated to the Label for the  
JRadioButton. | 
protected Label | 
getLabelFromJComponent(JComponent jc)
Get the associated Label for the  
JRadioButton. | 
JComponent | 
getNewComponent()
generate the  
JComponent that displays this FormControl's
 information. | 
boolean | 
isValid()
Test if the  
JComponent information provided by the user is valid
 according to the FormControl's definition. | 
void | 
update()
Update the  
JComponent | 
setSelected, valueChangedgetAlertString, isMandatory, isOfType, updateAsMissingcorrespondsTo, getComponent, getLabelModel, getPositionInGroup, getRenderer, isInDialog, isInIOGroup, isInMainMenu, isInMessage, isInStandardGroup, isInSubDialog, isInSubmitGroup, isInTable, needsLabel, needsPostNewLine, needsPreNewLinepublic JComponent getNewComponent()
JComponent that displays this FormControl's
 information.getNewComponent in class Select1ModelJTree or a JComboBoxpublic void update()
JComponentupdate in class Select1Modelprotected Object getAssociatedValue(JComponent jc)
JRadioButton.jc - the JRadioButtonprotected Label getLabelFromJComponent(JComponent jc)
JRadioButton.jc - the JRadioButtonpublic boolean isValid()
JComponent information provided by the user is valid
 according to the FormControl's definition.isValid in class Select1Modelpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListeneractionPerformed in class Select1ModelCopyright © 2018 universAAL Consortium. All rights reserved.