|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.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.PropertyEditorisPaintable in class java.beans.PropertyEditorSupport
public void paintValue(java.awt.Graphics g,
java.awt.Rectangle box)
paintValue in interface java.beans.PropertyEditorpaintValue in class java.beans.PropertyEditorSupportpublic boolean supportsCustomEditor()
supportsCustomEditor in interface java.beans.PropertyEditorsupportsCustomEditor in class java.beans.PropertyEditorSupportpublic 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.PropertyEditorgetCustomEditor in class java.beans.PropertyEditorSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||