public class JFileField extends ParamField
parameter
Constructor and Description |
---|
JFileField(Parameter<?> parameter) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(JWizard.Controller controller) |
protected void |
browse() |
JComponent |
doLayout()
Called to build the widget, initialize it (setting defaults or whatever) and setup any
listeners needed for validation of the widget value.
|
File |
getValue()
Returns the current value of the widget.
|
void |
removeListener(JWizard.Controller controller) |
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 JFileField(Parameter<?> parameter)
public JComponent doLayout()
ParamField
doLayout
in class ParamField
protected void browse()
public void addListener(JWizard.Controller controller)
addListener
in class ParamField
public void removeListener(JWizard.Controller controller)
removeListener
in class ParamField
public File getValue()
ParamField
getValue
in class ParamField
public void setValue(Object value)
ParamField
setValue
in class ParamField
public boolean validate()
ParamField
validate
in class ParamField
Copyright © 1996–2019 Geotools. All rights reserved.