org.pentaho.reporting.engine.classic.core.metadata.propertyeditors
Class CompatibilityLevelPropertyEditor

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.metadata.propertyeditors.CompatibilityLevelPropertyEditor
All Implemented Interfaces:
PropertyEditor

public class CompatibilityLevelPropertyEditor
extends Object
implements PropertyEditor


Constructor Summary
CompatibilityLevelPropertyEditor()
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
          Register a listener for the PropertyChange event.
 String getAsText()
           
 Component getCustomEditor()
           
 String getJavaInitializationString()
           
 String[] getTags()
           
 Object getValue()
           
 boolean isPaintable()
           
 void paintValue(Graphics gfx, Rectangle box)
           
 void removePropertyChangeListener(PropertyChangeListener listener)
          Remove a listener for the PropertyChange event.
 void setAsText(String text)
           
 void setValue(Object value)
           
 boolean supportsCustomEditor()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompatibilityLevelPropertyEditor

public CompatibilityLevelPropertyEditor()
Method Detail

setValue

public void setValue(Object value)
Specified by:
setValue in interface PropertyEditor

getValue

public Object getValue()
Specified by:
getValue in interface PropertyEditor

getAsText

public String getAsText()
Specified by:
getAsText in interface PropertyEditor

setAsText

public void setAsText(String text)
               throws IllegalArgumentException
Specified by:
setAsText in interface PropertyEditor
Throws:
IllegalArgumentException

getTags

public String[] getTags()
Specified by:
getTags in interface PropertyEditor

isPaintable

public boolean isPaintable()
Specified by:
isPaintable in interface PropertyEditor

paintValue

public void paintValue(Graphics gfx,
                       Rectangle box)
Specified by:
paintValue in interface PropertyEditor

getCustomEditor

public Component getCustomEditor()
Specified by:
getCustomEditor in interface PropertyEditor

supportsCustomEditor

public boolean supportsCustomEditor()
Specified by:
supportsCustomEditor in interface PropertyEditor

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
Register a listener for the PropertyChange event. When a PropertyEditor changes its value it should fire a PropertyChange event on all registered PropertyChangeListeners, specifying the null value for the property name and itself as the source.

Specified by:
addPropertyChangeListener in interface PropertyEditor
Parameters:
listener - An object to be invoked when a PropertyChange event is fired.

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
Remove a listener for the PropertyChange event.

Specified by:
removePropertyChangeListener in interface PropertyEditor
Parameters:
listener - The PropertyChange listener to be removed.

getJavaInitializationString

public String getJavaInitializationString()
Specified by:
getJavaInitializationString in interface PropertyEditor