Extension SDK

oracle.ide.propertyeditors
Class URLPathPropertyEditor

java.lang.Object
  |
  +--java.beans.PropertyEditorSupport
        |
        +--oracle.ide.propertyeditors.URLPathPropertyEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class URLPathPropertyEditor
extends java.beans.PropertyEditorSupport

The PathPropertyEditor class provides PropertyEditor support for a Path property. A Path property is a String containing zero or more entries, delimited with the platform path separator (File.pathSeparator). Each entry is either a directory or an archive. The PathPropertyEditor provides a custom editor for manipulating this Path. Entries can be added, removed, and re-ordered.


Constructor Summary
URLPathPropertyEditor()
           
 
Method Summary
 java.lang.String getAsText()
           
 java.awt.Component getCustomEditor()
           
 java.lang.Object getValue()
          Gets the value of the property.
 void setAsText(java.lang.String p0)
           
 void setValue(java.lang.Object value)
           
 boolean supportsCustomEditor()
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLPathPropertyEditor

public URLPathPropertyEditor()
Method Detail

getCustomEditor

public java.awt.Component getCustomEditor()
Specified by:
getCustomEditor in interface java.beans.PropertyEditor
Overrides:
getCustomEditor in class java.beans.PropertyEditorSupport

supportsCustomEditor

public boolean supportsCustomEditor()
Specified by:
supportsCustomEditor in interface java.beans.PropertyEditor
Overrides:
supportsCustomEditor in class java.beans.PropertyEditorSupport

getValue

public java.lang.Object getValue()
Gets the value of the property.

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

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue in interface java.beans.PropertyEditor
Overrides:
setValue in class java.beans.PropertyEditorSupport

setAsText

public void setAsText(java.lang.String p0)
               throws java.lang.IllegalArgumentException
Specified by:
setAsText in interface java.beans.PropertyEditor
Overrides:
setAsText in class java.beans.PropertyEditorSupport
java.lang.IllegalArgumentException

getAsText

public java.lang.String getAsText()
Specified by:
getAsText in interface java.beans.PropertyEditor
Overrides:
getAsText in class java.beans.PropertyEditorSupport

Extension SDK

 

Copyright ©1997, 2003, Oracle. All rights reserved.