org.universAAL.ui.handler.gui.swing.defaultLookAndFeel
Class RangeLAF

Package class diagram package RangeLAF
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.RangeModel
              extended by org.universAAL.ui.handler.gui.swing.defaultLookAndFeel.RangeLAF
All Implemented Interfaces:
EventListener, ChangeListener

public class RangeLAF
extends RangeModel

Author:
pabril

Field Summary
 
Fields inherited from class org.universAAL.ui.handler.gui.swing.model.Model
fc, FORM_CONTROL_IN_TABLE, jc, label, needsLabel, needsPostNewLine, needsPreNewLine
 
Constructor Summary
RangeLAF(Range control, Renderer render)
          Constructor.
 
Method Summary
 void update()
          Adds all the needed information to the rendered component (in Model view).
 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.RangeModel
getNewComponent, isValid, stateChanged
 
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

RangeLAF

public RangeLAF(Range control,
                Renderer render)
Constructor.

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

update

public void update()
Adds all the needed information to the rendered component (in Model view). In LAF view, it add/updates all LAF components.

Overrides:
update in class Model

updateAsMissing

public void updateAsMissing()
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.