org.jfree.beans.editors
Class AxisLocationEditor

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

public class AxisLocationEditor
extends java.beans.PropertyEditorSupport

A JavaBeans property editor for the AxisLocation class.


Constructor Summary
AxisLocationEditor()
           
 
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

AxisLocationEditor

public AxisLocationEditor()
Method Detail

getAsText

public java.lang.String getAsText()
Returns a string representing the current value.

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.