public class PropertyBeanEditor
extends java.beans.PropertyEditorSupport
Constructor and Description |
---|
PropertyBeanEditor() |
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getCustomEditor()
returns an instance of the
GenericPropertySheet which serves as
the custom editor component for the bean property associated with this
editor. |
boolean |
isPaintable()
returns true;
|
void |
paintValue(java.awt.Graphics g,
java.awt.Rectangle box)
represents the face of the custom property editor as a rectangular box
containing the text "Click to Edit".
|
boolean |
supportsCustomEditor()
returns true.
|
public boolean isPaintable()
isPaintable
in interface java.beans.PropertyEditor
isPaintable
in class java.beans.PropertyEditorSupport
public void paintValue(java.awt.Graphics g, java.awt.Rectangle box)
paintValue
in interface java.beans.PropertyEditor
paintValue
in class java.beans.PropertyEditorSupport
public boolean supportsCustomEditor()
supportsCustomEditor
in interface java.beans.PropertyEditor
supportsCustomEditor
in class java.beans.PropertyEditorSupport
public java.awt.Component getCustomEditor()
GenericPropertySheet
which serves as
the custom editor component for the bean property associated with this
editor.getCustomEditor
in interface java.beans.PropertyEditor
getCustomEditor
in class java.beans.PropertyEditorSupport
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details