org.universAAL.ui.handler.gui.swing.model.FormControl
Class SimpleOutputModel
java.lang.Object
org.universAAL.ui.handler.gui.swing.model.Model
org.universAAL.ui.handler.gui.swing.model.FormControl.OutputModel
org.universAAL.ui.handler.gui.swing.model.FormControl.SimpleOutputModel
- Direct Known Subclasses:
- SimpleOutputLAF, SimpleOutputLAF, SimpleOutputLAF
public class SimpleOutputModel
- extends OutputModel
- Author:
- amedrano
- See Also:
SimpleOutput
Methods inherited from class org.universAAL.ui.handler.gui.swing.model.FormControl.OutputModel |
isValid |
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 |
TOO_LONG
protected static final int TOO_LONG
- threshold for selecting between a
JTextArea
and
a JTextField
- See Also:
- Constant Field Values
SimpleOutputModel
public SimpleOutputModel(SimpleOutput control,
Renderer render)
- Constructor.
- Parameters:
control
- the FormControl
which to model.
getNewComponent
public JComponent getNewComponent()
- generate the
JComponent
that displays this FormControl
's
information.
- Specified by:
getNewComponent
in class Model
- Returns:
- the representation for
SimpleOutput
can either be
all of them are uneditable by the user.
update
public void update()
- Updating the
JComponent
with info
- Overrides:
update
in class Model
Copyright © 2014 universAAL Consortium. All Rights Reserved.