
public abstract class SelectChecboxModel extends SelectModel implements ActionListener
SelectModel.SelectionTreeModelselectedfc, FORM_CONTROL_IN_TABLE, jc, label, needsLabel, needsPostNewLine, needsPreNewLine| Constructor and Description |
|---|
SelectChecboxModel(Select control,
Renderer render)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
protected Object |
getAssociatedValue(JComponent jc)
The associated value to the Label to the
JCheckBox. |
protected Label |
getLabelFromJComponent(JComponent jc)
Get the Label associated to the
JCheckBox. |
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 selections
|
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 SelectModelJList or a JTreepublic void update()
update in class SelectModelprotected Label getLabelFromJComponent(JComponent jc)
JCheckBox.jc - teh JCheckBox.protected Object getAssociatedValue(JComponent jc)
JCheckBox.jc - the JCheckBox.public boolean isValid()
JComponent information provided by the user is valid
according to the FormControl's definition.isValid in class SelectModelpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerCopyright © 2018 universAAL Consortium. All rights reserved.