Search this API

y.option
Class FileOptionItem

java.lang.Object
  extended by y.option.OptionItem
      extended by y.option.ObjectOptionItem
          extended by y.option.StringBasedOptionItem
              extended by y.option.FileOptionItem
All Implemented Interfaces:
AttributeOwner, BackupValueOwner, PropertyChangeReporter, VetoableChangeReporter

public class FileOptionItem
extends StringBasedOptionItem

An option item for file name values.

 

Field Summary
static java.lang.String ATTRIBUTE_FILE_CHOOSER
          Attribute key used to store a pre-configured instance of JFileChooser to be used by editors.
static java.lang.String ATTRIBUTE_PREFIX_FILE_PROTOCOL
           
 
Fields inherited from class y.option.StringBasedOptionItem
ATTRIBUTE_CONVERTER, PROPERTY_CONVERTER
 
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
 
Constructor Summary
FileOptionItem(java.lang.String name, java.lang.String value)
          Creates a new instance of FileOptionItem.
 
Method Summary
 java.lang.String getType()
          Returns "File".
 
Methods inherited from class y.option.StringBasedOptionItem
getConverter, getStringValue, setConverter, setStringValue, setValue
 
Methods inherited from class y.option.ObjectOptionItem
getBackupValue, getValue, resetValue
 
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
 

Field Detail

ATTRIBUTE_FILE_CHOOSER

public static final java.lang.String ATTRIBUTE_FILE_CHOOSER
Attribute key used to store a pre-configured instance of JFileChooser to be used by editors.

See Also:
Constant Field Values

ATTRIBUTE_PREFIX_FILE_PROTOCOL

public static final java.lang.String ATTRIBUTE_PREFIX_FILE_PROTOCOL
See Also:
Constant Field Values
Constructor Detail

FileOptionItem

public FileOptionItem(java.lang.String name,
                      java.lang.String value)
Creates a new instance of FileOptionItem.

Parameters:
name - the name of this item
value - the initial file name
Method Detail

getType

public java.lang.String getType()
Returns "File".

Overrides:
getType in class StringBasedOptionItem

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.