public class JField extends ParamField
parameter| Modifier and Type | Method and Description |
|---|---|
void |
addListener(JWizard.Controller controller) |
JComponent |
doLayout()
Called to build the widget, initialize it (setting defaults or whatever) and setup any
listeners needed for validation of the widget value.
|
Object |
getValue()
Returns the current value of the widget.
|
void |
removeListener(JWizard.Controller controller) |
void |
setSingleLine(boolean single) |
void |
setValue(Object value)
Sets the value of the widget.
|
boolean |
validate()
Validates the current value of the widget, returns false if not valid, true otherwise
|
createpublic JField(Parameter<?> parameter)
public void setSingleLine(boolean single)
public JComponent doLayout()
ParamFielddoLayout in class ParamFieldpublic Object getValue()
ParamFieldgetValue in class ParamFieldpublic void setValue(Object value)
ParamFieldsetValue in class ParamFieldvalue - an object containing the value to set for the widgetpublic void addListener(JWizard.Controller controller)
addListener in class ParamFieldpublic void removeListener(JWizard.Controller controller)
removeListener in class ParamFieldpublic boolean validate()
ParamFieldvalidate in class ParamFieldCopyright © 1996–2021 Geotools. All rights reserved.