
public abstract class SelectModel extends InputModel implements ListSelectionListener
| Modifier and Type | Class and Description |
|---|---|
protected class |
SelectModel.SelectionTreeModel
|
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList |
selected
the selected items
|
fc, FORM_CONTROL_IN_TABLE, jc, label, needsLabel, needsPostNewLine, needsPreNewLine| Constructor and Description |
|---|
SelectModel(Select control,
Renderer render)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
protected void |
setSelected() |
void |
update()
Update the selections
|
void |
valueChanged(ListSelectionEvent e) |
getAlertString, isMandatory, isOfType, updateAsMissingcorrespondsTo, getComponent, getLabelModel, getPositionInGroup, getRenderer, isInDialog, isInIOGroup, isInMainMenu, isInMessage, isInStandardGroup, isInSubDialog, isInSubmitGroup, isInTable, needsLabel, needsPostNewLine, needsPreNewLineprotected ArrayList selected
public SelectModel(Select control, Renderer render)
control - the FormControl which to model.public JComponent getNewComponent()
JComponent that displays this FormControl's
information.getNewComponent in class ModelJList or a JTreeprotected void setSelected()
public boolean isValid()
JComponent information provided by the user is valid
according to the FormControl's definition.public void valueChanged(ListSelectionEvent e)
valueChanged in interface ListSelectionListenerCopyright © 2018 universAAL Consortium. All rights reserved.