
public class SimpleOutputLAF extends SimpleOutputModel
TOO_LONGfc, FORM_CONTROL_IN_TABLE, jc, label, needsLabel, needsPostNewLine, needsPreNewLine| Constructor and Description |
|---|
SimpleOutputLAF(SimpleOutput control,
Renderer render)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
JComponent |
getNewComponent()
generate the
JComponent that displays this FormControl's
information. |
void |
update()
Updating the
JComponent with info |
isValidcorrespondsTo, getComponent, getLabelModel, getPositionInGroup, getRenderer, isInDialog, isInIOGroup, isInMainMenu, isInMessage, isInStandardGroup, isInSubDialog, isInSubmitGroup, isInTable, needsLabel, needsPostNewLine, needsPreNewLinepublic SimpleOutputLAF(SimpleOutput control, Renderer render)
control - the SimpleOutput which to model.public JComponent getNewComponent()
JComponent that displays this FormControl's
information.getNewComponent in class SimpleOutputModelSimpleOutput can either be
JCheckBox if the SimpleOutput.getContent()
is a boolean type
JLabel if the SimpleOutput.getContent() is
a String, it is not SimpleOutputModel.TOO_LONG, and it
has no label.
JTextField if the SimpleOutput.getContent()
is a String and it is not SimpleOutputModel.TOO_LONG
JTextArea if the SimpleOutput.getContent()
is String and it is SimpleOutputModel.TOO_LONG
SimpleOutput.getContent() is a
XMLGregorianCalendar
SimpleOutput.getContent() is a Duration
SimpleOutput.getContent() is a Integer
SimpleOutput.getContent() is a Long
SimpleOutput.getContent() is a Float
SimpleOutput.getContent() is a Double
JTextField if the SimpleOutput.getContent()
is a Locale
public void update()
JComponent with infoupdate in class SimpleOutputModelCopyright © 2018 universAAL Consortium. All rights reserved.