org.universAAL.ui.gui.swing.bluesteelLAF
Class SelectLAF
java.lang.Object
org.universAAL.ui.handler.gui.swing.model.Model
org.universAAL.ui.handler.gui.swing.model.FormControl.InputModel
org.universAAL.ui.handler.gui.swing.model.FormControl.SelectModel
org.universAAL.ui.gui.swing.bluesteelLAF.SelectLAF
- All Implemented Interfaces:
- EventListener, ListSelectionListener
public class SelectLAF
- extends SelectModel
- Author:
- pabril
Fields inherited from class org.universAAL.ui.handler.gui.swing.model.FormControl.SelectModel |
selected |
Methods inherited from class org.universAAL.ui.handler.gui.swing.model.Model |
correspondsTo, getComponent, getLabelModel, getPositionInGroup, getRenderer, isInDialog, isInIOGroup, isInMainMenu, isInMessage, isInStandardGroup, isInSubDialog, isInSubmitGroup, isInTable, needsLabel, needsPostNewLine, needsPreNewLine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectLAF
public SelectLAF(Select control,
Renderer render)
- Constructor.
- Parameters:
control
- the Select
which to model.
getNewComponent
public JComponent getNewComponent()
- generate the
JComponent
that displays this FormControl
's
information.
- Overrides:
getNewComponent
in class SelectModel
- Returns:
- either a
JList
or a JTree
update
public void update()
- Update the selections
- Overrides:
update
in class SelectModel
updateAsMissing
public void updateAsMissing()
- Description copied from class:
InputModel
- Update the
JComponent
or the label to notiffy the the user Input is missing.
- Specified by:
updateAsMissing
in class InputModel
Copyright © 2014 universAAL Consortium. All Rights Reserved.