com.ibm.as400.access
Class IFSExistenceOptionEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by com.ibm.as400.access.IFSExistenceOptionEditor
All Implemented Interfaces:
PropertyEditor

public class IFSExistenceOptionEditor
extends PropertyEditorSupport

The IFSExistenceOptionEditor class provides integrated file system existence editor support.


Constructor Summary
Constructor and Description
IFSExistenceOptionEditor()
           
 
Method Summary
Modifier and Type Method and Description
 String getAsText()
          Returns the property value in an editable form.
 String getJavaInitializationString()
          Returns a code fragment representing an initializer for the current value.
 String[] getTags()
          Returns the set of possible values for the property.
 Object getValue()
          Returns the value of the property.
 void setAsText(String text)
          Sets the property value from the specified String.
 void setValue(Object value)
          Sets the value of the object that is to be edited.
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IFSExistenceOptionEditor

public IFSExistenceOptionEditor()
Method Detail

getAsText

public String getAsText()
Returns the property value in an editable form.

Specified by:
getAsText in interface PropertyEditor
Overrides:
getAsText in class PropertyEditorSupport
Returns:
The property value in an editable form.

getJavaInitializationString

public String getJavaInitializationString()
Returns a code fragment representing an initializer for the current value. This method is intended for use when generating Java code to set the property value.

Specified by:
getJavaInitializationString in interface PropertyEditor
Overrides:
getJavaInitializationString in class PropertyEditorSupport
Returns:
A code fragment representing an initializer for the current value.

getTags

public String[] getTags()
Returns the set of possible values for the property.

Specified by:
getTags in interface PropertyEditor
Overrides:
getTags in class PropertyEditorSupport
Returns:
The set of possible values for the property.

getValue

public Object getValue()
Returns the value of the property.

Specified by:
getValue in interface PropertyEditor
Overrides:
getValue in class PropertyEditorSupport
Returns:
The value of the property.

setAsText

public void setAsText(String text)
Sets the property value from the specified String.

Specified by:
setAsText in interface PropertyEditor
Overrides:
setAsText in class PropertyEditorSupport
Parameters:
text - The property value.

setValue

public void setValue(Object value)
Sets the value of the object that is to be edited.

Specified by:
setValue in interface PropertyEditor
Overrides:
setValue in class PropertyEditorSupport
Parameters:
value - The new target object to be edited.