|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.beans.PropertyEditorSupport com.bbn.openmap.tools.beanbox.PropertyBeanEditor
public class PropertyBeanEditor
Custom property editor for a bean property that is itself a bean.
Constructor Summary | |
---|---|
PropertyBeanEditor()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.beans.PropertyEditorSupport |
---|
addPropertyChangeListener, firePropertyChange, getAsText, getJavaInitializationString, getSource, getTags, getValue, removePropertyChangeListener, setAsText, setSource, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyBeanEditor()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |