org.universAAL.ui.handler.gui.swing.classic
Class SelectLAF

Package class diagram package SelectLAF
java.lang.Object
  extended by org.universAAL.ui.handler.gui.swing.model.Model
      extended by org.universAAL.ui.handler.gui.swing.model.FormControl.InputModel
          extended by org.universAAL.ui.handler.gui.swing.model.FormControl.SelectModel
              extended by org.universAAL.ui.handler.gui.swing.classic.SelectLAF
All Implemented Interfaces:
EventListener, ListSelectionListener

public class SelectLAF
extends SelectModel

Author:
pabril

Nested Class Summary
 class SelectLAF.SelectionTreeModel
           
 
Field Summary
 
Fields inherited from class org.universAAL.ui.handler.gui.swing.model.FormControl.SelectModel
selected
 
Fields inherited from class org.universAAL.ui.handler.gui.swing.model.Model
fc, FORM_CONTROL_IN_TABLE, jc, label, needsLabel, needsPostNewLine, needsPreNewLine
 
Constructor Summary
SelectLAF(Select control, Renderer render)
          Constructor.
 
Method Summary
 JComponent getNewComponent()
          generate the JComponent that displays this FormControl's information.
 void update()
          Update the selections
 void updateAsMissing()
          Update the JComponent or the label to notiffy the the user Input is missing.
 
Methods inherited from class org.universAAL.ui.handler.gui.swing.model.FormControl.SelectModel
isValid, setSelected, valueChanged
 
Methods inherited from class org.universAAL.ui.handler.gui.swing.model.FormControl.InputModel
getAlertString, isMandatory, isOfType
 
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
 

Constructor Detail

SelectLAF

public SelectLAF(Select control,
                 Renderer render)
Constructor.

Parameters:
control - the Select which to model.
Method Detail

getNewComponent

public JComponent getNewComponent()
Description copied from class: SelectModel
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()
Description copied from class: SelectModel
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.