public class JDynFormFieldFile extends org.gvsig.tools.dynform.spi.dynformfield.AbstractJDynFormField implements org.gvsig.tools.dynform.JDynFormField, FocusListener
| Modifier and Type | Field and Description |
|---|---|
protected File |
assignedValue |
protected File |
currentValue |
protected JButton |
jbutton |
protected JTextField |
jtext |
protected boolean |
readonly |
| Constructor and Description |
|---|
JDynFormFieldFile(org.gvsig.tools.dynobject.DynObject parameters,
org.gvsig.tools.service.spi.ServiceManager serviceManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
focusGained(FocusEvent arg0) |
void |
focusLost(FocusEvent arg0) |
Object |
getAssignedValue() |
Object |
getValue() |
boolean |
hasValidValue() |
void |
initComponent() |
void |
onClickBrowse() |
void |
setReadOnly(boolean readonly) |
void |
setValue(Object value) |
File[] |
showChooserDialog(String title,
int type,
int selectionMode,
boolean multiselection,
File initialPath,
FileFilter filter,
boolean fileHidingEnabled) |
File[] |
showOpenFileDialog(String title,
File initialPath,
FileFilter filter) |
addActionToPopupMenu, addListener, addSeparatorToPopupMenu, asJComponent, fireFieldChangedEvent, fireFieldEnterEvent, fireFieldExitEvent, fireMessageEvent, getDefinition, getForm, getJLabel, getLabel, getManager, getName, getParameterValue, getServiceManager, isModified, isReadOnly, problemIndicator, removeListener, setForm, setTranslateEmptyToNull, toString, translateEmptyToNullclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected File assignedValue
protected File currentValue
protected JTextField jtext
protected JButton jbutton
protected boolean readonly
public JDynFormFieldFile(org.gvsig.tools.dynobject.DynObject parameters,
org.gvsig.tools.service.spi.ServiceManager serviceManager)
public void setReadOnly(boolean readonly)
setReadOnly in interface org.gvsig.tools.dynform.JDynFormFieldsetReadOnly in class org.gvsig.tools.dynform.spi.dynformfield.AbstractJDynFormFieldpublic Object getAssignedValue()
getAssignedValue in class org.gvsig.tools.dynform.spi.dynformfield.AbstractJDynFormFieldpublic void initComponent()
initComponent in class org.gvsig.tools.dynform.spi.dynformfield.AbstractJDynFormFieldpublic void onClickBrowse()
public void setValue(Object value)
setValue in interface org.gvsig.tools.dynform.JDynFormFieldpublic Object getValue()
getValue in interface org.gvsig.tools.dynform.JDynFormFieldpublic boolean hasValidValue()
hasValidValue in interface org.gvsig.tools.dynform.JDynFormFieldpublic File[] showOpenFileDialog(String title, File initialPath, FileFilter filter)
public File[] showChooserDialog(String title, int type, int selectionMode, boolean multiselection, File initialPath, FileFilter filter, boolean fileHidingEnabled)
public void focusGained(FocusEvent arg0)
focusGained in interface FocusListenerpublic void focusLost(FocusEvent arg0)
focusLost in interface FocusListenerpublic void clear()
clear in interface org.gvsig.tools.dynform.JDynFormFieldclear in class org.gvsig.tools.dynform.spi.dynformfield.AbstractJDynFormFieldCopyright © 2015 gvSIG Association. All Rights Reserved.