y.option
Class FileOptionItem
java.lang.Object
y.option.OptionItem
y.option.ObjectOptionItem
y.option.StringBasedOptionItem
y.option.FileOptionItem
- All Implemented Interfaces:
- BackupValueOwner, PropertyChangeReporter, VetoableChangeReporter
public class FileOptionItem
- extends StringBasedOptionItem
An option item for file name values.
Fields inherited from class y.option.OptionItem |
ATTRIBUTE_CONTEXT, ATTRIBUTE_GROUPS, ATTRIBUTE_LONG_DESCRIPTION, COLOR_UNDEFINED, name, PROPERTY_CLASS_TYPE, PROPERTY_ENABLED, PROPERTY_TIP_TEXT, PROPERTY_VALUE, PROPERTY_VALUE_UNDEFINED, UNDEFINED |
Methods inherited from class y.option.OptionItem |
addEditor, addEditorListener, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, adoptEditorValue, checkEditorValue, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getAttribute, getClassType, getEditor, getEditor, getEditors, getName, getTipText, isEnabled, isValueUndefined, publishEnabled, publishValue, publishValueUndefined, removeAttribute, removeEditor, removeEditorListener, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, setAttribute, setClassType, setEnabled, setTipText, setValueUndefined, wantsVisibleName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATTRIBUTE_FILE_CHOOSER
public static final String ATTRIBUTE_FILE_CHOOSER
- Attribute key used to store a pre-configured instance of
JFileChooser
to be used by editors.
ATTRIBUTE_PREFIX_FILE_PROTOCOL
public static final String ATTRIBUTE_PREFIX_FILE_PROTOCOL
- See Also:
- Constant Field Values
FileOptionItem
public FileOptionItem(String name,
String value)
- Creates a new instance of FileOptionItem.
- Parameters:
name
- the name of this itemvalue
- the initial file name
getType
public String getType()
- Returns "File".
- Overrides:
getType
in class StringBasedOptionItem