|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.universAAL.ui.handler.gui.swing.model.Model
org.universAAL.ui.handler.gui.swing.model.FormControl.InputModel
public abstract class InputModel
Input Control is an abstract Class as such it should not be Instantiated an so there is no rendering.
Input
Field Summary |
---|
Fields inherited from class org.universAAL.ui.handler.gui.swing.model.Model |
---|
fc, FORM_CONTROL_IN_TABLE, jc, label, needsLabel, needsPostNewLine, needsPreNewLine |
Constructor Summary | |
---|---|
InputModel(Input control,
Renderer render)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.universAAL.ui.handler.gui.swing.model.Model |
---|
correspondsTo, getComponent, getLabelModel, getNewComponent, getPositionInGroup, getRenderer, isInDialog, isInIOGroup, isInMainMenu, isInMessage, isInStandardGroup, isInSubDialog, isInSubmitGroup, isInTable, isValid, needsLabel, needsPostNewLine, needsPreNewLine, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InputModel(Input control, Renderer render)
control
- the Input
FormControl
to model.Method Detail |
---|
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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |