public abstract class Select1Model extends SelectModel implements ActionListener
SelectModel.SelectionTreeModel
selected
fc, FORM_CONTROL_IN_TABLE, jc, label, needsLabel, needsPostNewLine, needsPreNewLine
Constructor and Description |
---|
Select1Model(Select1 control,
Renderer render)
constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
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, valueChanged
getAlertString, isMandatory, isOfType, updateAsMissing
correspondsTo, getComponent, getLabelModel, getPositionInGroup, getRenderer, isInDialog, isInIOGroup, isInMainMenu, isInMessage, isInStandardGroup, isInSubDialog, isInSubmitGroup, isInTable, needsLabel, needsPostNewLine, needsPreNewLine
public Select1Model(Select1 control, Renderer render)
control
- the FormControl
which this model represents.public JComponent getNewComponent()
JComponent
that displays this FormControl
's
information.getNewComponent
in class SelectModel
JTree
or a JComboBox
public void update()
JComponent
update
in class SelectModel
public boolean isValid()
JComponent
information provided by the user is valid
according to the FormControl
's definition.isValid
in class SelectModel
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
Copyright © 2018 universAAL Consortium. All rights reserved.