public abstract class InputModel extends Model
fc, FORM_CONTROL_IN_TABLE, jc, label, needsLabel, needsPostNewLine, needsPreNewLine
Constructor and Description |
---|
InputModel(Input control,
Renderer render)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getAlertString()
Get Alert string, to show to user if she/he has forgotten this
Input |
boolean |
isMandatory()
Check if the
Input of Mandatory completion. |
protected boolean |
isOfType(Class c)
Checks if the value will be accepted as class c.
|
abstract void |
updateAsMissing()
Update the
JComponent or the label to notiffy the the user Input
is missing. |
correspondsTo, getComponent, getLabelModel, getNewComponent, getPositionInGroup, getRenderer, isInDialog, isInIOGroup, isInMainMenu, isInMessage, isInStandardGroup, isInSubDialog, isInSubmitGroup, isInTable, isValid, needsLabel, needsPostNewLine, needsPreNewLine, update
public InputModel(Input control, Renderer render)
control
- the Input
FormControl
to model.public boolean isMandatory()
Input
of Mandatory completion.public String getAlertString()
Input
public abstract void updateAsMissing()
JComponent
or the label to notiffy the the user Input
is missing.protected boolean isOfType(Class c)
c
- Copyright © 2018 universAAL Consortium. All rights reserved.