
public abstract class TextAreaModel extends InputModel implements CaretListener
fc, FORM_CONTROL_IN_TABLE, jc, label, needsLabel, needsPostNewLine, needsPreNewLine| Constructor and Description |
|---|
TextAreaModel(TextArea control,
Renderer render)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
caretUpdate(CaretEvent e) |
JComponent |
getNewComponent()
generate the
JComponent that displays this FormControl's
information. |
boolean |
isValid()
Test if the
JComponent information provided by the user is valid
according to the FormControl's definition. |
void |
update()
Adds all the needed information to the rendered component (in Model
view).
|
getAlertString, isMandatory, isOfType, updateAsMissingcorrespondsTo, getComponent, getLabelModel, getPositionInGroup, getRenderer, isInDialog, isInIOGroup, isInMainMenu, isInMessage, isInStandardGroup, isInSubDialog, isInSubmitGroup, isInTable, needsLabel, needsPostNewLine, needsPreNewLinepublic TextAreaModel(TextArea control, Renderer render)
control - the FormControl which to model.public JComponent getNewComponent()
JComponent that displays this FormControl's
information.getNewComponent in class ModelJTextArea.public void update()
public boolean isValid()
JComponent information provided by the user is valid
according to the FormControl's definition.public void caretUpdate(CaretEvent e)
caretUpdate in interface CaretListenerCopyright © 2018 universAAL Consortium. All rights reserved.