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 |
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) |
addActionToPopupMenu, addListener, addSeparatorToPopupMenu, asJComponent, fireFieldChangedEvent, fireFieldEnterEvent, fireFieldExitEvent, fireMessageEvent, getDefinition, getJLabel, getLabel, getManager, getName, getParameterValue, isModified, isReadOnly, problemIndicator, removeListener, toStringclone, 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[] 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 FocusListenerCopyright © 2014 gvSIG Association. All Rights Reserved.