public class JURLField extends ParamField
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 |
getFile() |
URL |
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
|
createpublic JURLField(Parameter<?> parameter)
public JComponent doLayout()
ParamFielddoLayout in class ParamFieldprotected void browse()
public URL getValue()
ParamFieldgetValue in class ParamFieldpublic void addListener(JWizard.Controller controller)
addListener in class ParamFieldpublic void removeListener(JWizard.Controller controller)
removeListener in class ParamFieldpublic File getFile()
public void setValue(Object value)
ParamFieldsetValue in class ParamFieldpublic boolean validate()
ParamFieldvalidate in class ParamFieldCopyright © 1996–2019 Geotools. All rights reserved.