org.universAAL.ui.gui.swing.bluesteelLAF
Class Select1LAF

Package class diagram package Select1LAF
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.model.FormControl.Select1Model
                  extended by org.universAAL.ui.gui.swing.bluesteelLAF.Select1LAF
All Implemented Interfaces:
ActionListener, EventListener, ListSelectionListener

public class Select1LAF
extends Select1Model

Author:
pabril

Nested Class Summary
 
Nested classes/interfaces inherited from class org.universAAL.ui.handler.gui.swing.model.FormControl.SelectModel
SelectModel.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
Select1LAF(Select1 control, Renderer render)
          Constructor.
 
Method Summary
 JComponent getNewComponent()
          generate the JComponent that displays this FormControl's information.
 void update()
          Update the JComponent
 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.Select1Model
actionPerformed, isValid
 
Methods inherited from class org.universAAL.ui.handler.gui.swing.model.FormControl.SelectModel
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

Select1LAF

public Select1LAF(Select1 control,
                  Renderer render)
Constructor.

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

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

getNewComponent

public JComponent getNewComponent()
Description copied from class: Select1Model
generate the JComponent that displays this FormControl's information.

Overrides:
getNewComponent in class Select1Model
Returns:
either a JTree or a JComboBox

update

public void update()
Update the JComponent

Overrides:
update in class Select1Model


Copyright © 2014 universAAL Consortium. All Rights Reserved.