|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.beans.PropertyEditorSupport
org.jdesktop.swingx.editors.ShapePropertyEditor
public class ShapePropertyEditor
| Constructor Summary | |
|---|---|
ShapePropertyEditor()
Creates a new instance of ShapePropertyEditor |
|
| Method Summary | |
|---|---|
Component |
getCustomEditor()
A PropertyEditor may chose to make available a full custom Component that edits its property value. |
Shape |
getValue()
Gets the value of the property. |
boolean |
isPaintable()
Determines whether the class will honor the paintValue method. |
void |
setValue(Object value)
Set (or change) the object that is to be edited. |
boolean |
supportsCustomEditor()
Determines whether the propertyEditor can provide a custom editor. |
| Methods inherited from class java.beans.PropertyEditorSupport |
|---|
addPropertyChangeListener, firePropertyChange, getAsText, getJavaInitializationString, getSource, getTags, paintValue, removePropertyChangeListener, setAsText, setSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShapePropertyEditor()
| Method Detail |
|---|
public Shape getValue()
java.beans.PropertyEditorSupport
getValue in interface PropertyEditorgetValue in class PropertyEditorSupportpublic void setValue(Object value)
java.beans.PropertyEditorSupport
setValue in interface PropertyEditorsetValue in class PropertyEditorSupportvalue - The new target object to be edited. Note that this
object should not be modified by the PropertyEditor, rather
the PropertyEditor should create a new object to hold any
modified value.public boolean isPaintable()
java.beans.PropertyEditorSupport
isPaintable in interface PropertyEditorisPaintable in class PropertyEditorSupportpublic boolean supportsCustomEditor()
java.beans.PropertyEditorSupport
supportsCustomEditor in interface PropertyEditorsupportsCustomEditor in class PropertyEditorSupportpublic Component getCustomEditor()
java.beans.PropertyEditorSupportThe higher-level code that calls getCustomEditor may either embed the Component in some larger property sheet, or it may put it in its own individual dialog, or ...
getCustomEditor in interface PropertyEditorgetCustomEditor in class PropertyEditorSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||