public abstract class ParamField extends Object
Modifier and Type | Method and Description |
---|---|
abstract void |
addListener(JWizard.Controller controller) |
static ParamField |
create(Parameter<?> parameter)
Factory method creating the appropriate ParamField for the supplied Param.
|
abstract JComponent |
doLayout()
Called to build the widget, initialize it (setting defaults or whatever) and setup any
listeners needed for validation of the widget value.
|
abstract Object |
getValue()
Returns the current value of the widget.
|
abstract void |
removeListener(JWizard.Controller controller) |
abstract void |
setValue(Object value)
Sets the value of the widget.
|
abstract boolean |
validate()
Validates the current value of the widget, returns false if not valid, true otherwise
|
protected final Parameter<?> parameter
public abstract JComponent doLayout()
public abstract boolean validate()
public abstract void setValue(Object value)
Object
- an object containing the value to set for the widgetpublic abstract void addListener(JWizard.Controller controller)
public abstract void removeListener(JWizard.Controller controller)
public abstract Object getValue()
public static ParamField create(Parameter<?> parameter)
param
- Copyright © 1996–2019 Geotools. All rights reserved.