org.universAAL.ui.handler.gui.swing.classic
Class TextAreaLAF
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.TextAreaModel
org.universAAL.ui.handler.gui.swing.classic.TextAreaLAF
- All Implemented Interfaces:
- EventListener, CaretListener
public class TextAreaLAF
- extends TextAreaModel
- 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 |
TextAreaLAF
public TextAreaLAF(TextArea control,
Renderer render)
- Constructor.
- Parameters:
control
- the TextArea
which to model.
getNewComponent
public JComponent getNewComponent()
- generate the
JComponent
that displays this FormControl
's
information.
- Overrides:
getNewComponent
in class TextAreaModel
- Returns:
- a
JTextArea
.
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 TextAreaModel
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.