public class RangeLAF extends RangeModel
fc, FORM_CONTROL_IN_TABLE, jc, label, needsLabel, needsPostNewLine, needsPreNewLine
Constructor and Description |
---|
RangeLAF(Range control,
Renderer render)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
JComponent |
getNewComponent()
|
void |
updateAsMissing()
Update the
JComponent or the label to notiffy the the user Input is missing. |
isValid, stateChanged
getAlertString, isMandatory, isOfType
correspondsTo, getComponent, getLabelModel, getPositionInGroup, getRenderer, isInDialog, isInIOGroup, isInMainMenu, isInMessage, isInStandardGroup, isInSubDialog, isInSubmitGroup, isInTable, needsLabel, needsPostNewLine, needsPreNewLine, update
public JComponent getNewComponent()
RangeModel
JSpinner
if the specified range
is less than a threshold, or it can also be JSlider
.getNewComponent
in class RangeModel
JComponent
initialised with the model's information,public void updateAsMissing()
InputModel
JComponent
or the label to notiffy the the user Input is missing.updateAsMissing
in class InputModel
Copyright © 2015 universAAL Consortium. All Rights Reserved.