PropertyEditor
public class ShapePropertyEditor extends PropertyEditorSupport
Constructor | Description |
---|---|
ShapePropertyEditor() |
Creates a new instance of ShapePropertyEditor
|
Modifier and Type | Method | Description |
---|---|---|
Component |
getCustomEditor() |
|
Shape |
getValue() |
|
boolean |
isPaintable() |
|
void |
setValue(Object value) |
|
boolean |
supportsCustomEditor() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, firePropertyChange, getAsText, getJavaInitializationString, getSource, getTags, paintValue, removePropertyChangeListener, setAsText, setSource
public ShapePropertyEditor()
public Shape getValue()
getValue
in interface PropertyEditor
getValue
in class PropertyEditorSupport
public void setValue(Object value)
setValue
in interface PropertyEditor
setValue
in class PropertyEditorSupport
public boolean isPaintable()
isPaintable
in interface PropertyEditor
isPaintable
in class PropertyEditorSupport
public boolean supportsCustomEditor()
supportsCustomEditor
in interface PropertyEditor
supportsCustomEditor
in class PropertyEditorSupport
public Component getCustomEditor()
getCustomEditor
in interface PropertyEditor
getCustomEditor
in class PropertyEditorSupport
Copyright © 2018. All rights reserved.