|
ElegantJ Gauges Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.beans.PropertyEditorSupport
com.elegantj.gauges.needle.ZoneEditor
Provides the facility to visually edit the zone
| Constructor Summary | |
ZoneEditor()
|
|
| Method Summary | |
java.awt.Component |
getCustomEditor()
A PropertyEditor may choose to make available a full custom Component that edits its property value. |
java.lang.String |
getJavaInitializationString()
This method is intended for use when generating Java code to set the value of the property. |
java.lang.String[] |
getTags()
If the property value must be one of a set of known tagged values, then this method should return an array of the tags. |
java.lang.Object |
getValue()
Gets the property value |
boolean |
isPaintable()
Determines whether this property editor is paintable |
void |
paintValue(java.awt.Graphics g,
java.awt.Rectangle clipRect)
Paint a representation of the value into a given area of screen real estate |
void |
propertyChange(java.beans.PropertyChangeEvent e)
This method gets called when a bound property is changed |
void |
setValue(java.lang.Object o)
Sets (or changes) the object that is to be edited |
boolean |
supportsCustomEditor()
Determines whether this property editor supports a custom editor |
| Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getAsText, removePropertyChangeListener, setAsText |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ZoneEditor()
| Method Detail |
public void setValue(java.lang.Object o)
setValue in interface java.beans.PropertyEditoro - the property valuepublic java.lang.Object getValue()
getValue in interface java.beans.PropertyEditorpublic java.lang.String[] getTags()
getTags in interface java.beans.PropertyEditorpublic boolean isPaintable()
isPaintable in interface java.beans.PropertyEditorpublic java.awt.Component getCustomEditor()
getCustomEditor in interface java.beans.PropertyEditorpublic java.lang.String getJavaInitializationString()
getJavaInitializationString in interface java.beans.PropertyEditor
public void paintValue(java.awt.Graphics g,
java.awt.Rectangle clipRect)
paintValue in interface java.beans.PropertyEditorg - uses it is to represent an editorclipRect - it is to be paintedpublic boolean supportsCustomEditor()
supportsCustomEditor in interface java.beans.PropertyEditorpublic void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange in interface java.beans.PropertyChangeListenere - an event which is fired when any bound property is changed
|
ElegantJ Gauges Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||