public class FileFormField extends AbstractSwingXFormField<JPanel> implements XFormTextField
Modifier and Type | Class and Description |
---|---|
class |
FileFormField.SelectDirectoryAction |
CURRENT_DIRECTORY
Constructor and Description |
---|
FileFormField(String tooltip,
XForm.FieldType type,
String name) |
Modifier and Type | Method and Description |
---|---|
String |
getCurrentDirectory() |
String |
getValue() |
boolean |
isEnabled() |
void |
setCurrentDirectory(String currentDirectory) |
void |
setEnabled(boolean enabled) |
void |
setProperty(String name,
Object value) |
void |
setValue(String value) |
void |
setWidth(int columns) |
getComponent, setToolTip
addComponentEnabler, addFormFieldListener, addFormFieldValidator, fireValueChanged, getProperty, isMultiRow, isRequired, isVisible, removeFieldListener, removeFormFieldValidator, setRequired, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addComponentEnabler, addFormFieldListener, addFormFieldValidator, getProperty, isRequired, isVisible, removeFieldListener, removeFormFieldValidator, setRequired, setToolTip, validate
public FileFormField(String tooltip, XForm.FieldType type, String name)
public void setValue(String value)
setValue
in interface XFormField
public String getValue()
getValue
in interface XFormField
public void setEnabled(boolean enabled)
setEnabled
in interface XFormField
setEnabled
in class AbstractSwingXFormField<JPanel>
public boolean isEnabled()
isEnabled
in interface XFormField
isEnabled
in class AbstractSwingXFormField<JPanel>
public void setCurrentDirectory(String currentDirectory)
public void setProperty(String name, Object value)
setProperty
in interface XFormField
setProperty
in class AbstractSwingXFormField<JPanel>
public void setWidth(int columns)
setWidth
in interface XFormTextField
public String getCurrentDirectory()
Copyright © 2019. All Rights Reserved.