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
|
create
public JField(Parameter<?> parameter)
public void setSingleLine(boolean single)
public JComponent doLayout()
ParamField
doLayout
in class ParamField
public Object getValue()
ParamField
getValue
in class ParamField
public void setValue(Object value)
ParamField
setValue
in class ParamField
public void addListener(JWizard.Controller controller)
addListener
in class ParamField
public void removeListener(JWizard.Controller controller)
removeListener
in class ParamField
public boolean validate()
ParamField
validate
in class ParamField
Copyright © 1996–2019 Geotools. All rights reserved.