org.jfree.beans.editors
Class RectangleEdgeEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.jfree.beans.editors.RectangleEdgeEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class RectangleEdgeEditor
extends java.beans.PropertyEditorSupport

A JavaBeans property editor for the RectangleEdge class.


Constructor Summary
RectangleEdgeEditor()
           
 
Method Summary
 java.lang.String getAsText()
          Returns a string representing the current value.
 java.lang.String getJavaInitializationString()
          Returns a string for the property value.
 java.lang.String[] getTags()
          Returns the valid string values for this property.
 void setAsText(java.lang.String text)
          Sets the current value by parsing the supplied string.
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RectangleEdgeEditor

public RectangleEdgeEditor()
Method Detail

getAsText

public java.lang.String getAsText()
Returns a string representing the current value. This will be one of the following:

Specified by:
getAsText in interface java.beans.PropertyEditor
Overrides:
getAsText in class java.beans.PropertyEditorSupport
Returns:
A string representing the current value.

setAsText

public void setAsText(java.lang.String text)
               throws java.lang.IllegalArgumentException
Sets the current value by parsing the supplied string.

Specified by:
setAsText in interface java.beans.PropertyEditor
Overrides:
setAsText in class java.beans.PropertyEditorSupport
Parameters:
text - the string value.
Throws:
java.lang.IllegalArgumentException - if text is not one of the values listed in getAsText().

getTags

public java.lang.String[] getTags()
Returns the valid string values for this property.

Specified by:
getTags in interface java.beans.PropertyEditor
Overrides:
getTags in class java.beans.PropertyEditorSupport
Returns:
The valid string values for this property.

getJavaInitializationString

public java.lang.String getJavaInitializationString()
Returns a string for the property value.

Specified by:
getJavaInitializationString in interface java.beans.PropertyEditor
Overrides:
getJavaInitializationString in class java.beans.PropertyEditorSupport
Returns:
A string for the property value.