org.universAAL.ui.gui.swing.bluesteelLAF
Class InputFieldLAF
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.InputFieldModel
org.universAAL.ui.gui.swing.bluesteelLAF.InputFieldLAF
- All Implemented Interfaces:
- ActionListener, EventListener, CaretListener, ChangeListener
public class InputFieldLAF
- extends InputFieldModel
- Author:
- pabril
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 |
InputFieldLAF
public InputFieldLAF(InputField control,
Renderer render)
- Constructor
- Parameters:
control
- the InputField
which to model.
update
public void update()
- Updating the InputField
- Overrides:
update
in class InputFieldModel
getNewComponent
public JComponent getNewComponent()
- the representation for InputField can either be
- Overrides:
getNewComponent
in class InputFieldModel
- Returns:
- a
JComponent
initialised with the model's information,
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
actionPerformed
public void actionPerformed(ActionEvent e)
-
- Specified by:
actionPerformed
in interface ActionListener
- Overrides:
actionPerformed
in class InputFieldModel
Copyright © 2014 universAAL Consortium. All Rights Reserved.