net.jbeans.bean.property.editor
Class EditorSupport
java.lang.Object
java.beans.PropertyEditorSupport
net.jbeans.bean.property.editor.EditorSupport
- All Implemented Interfaces:
- java.beans.PropertyEditor
- Direct Known Subclasses:
- BooleanEditor, BorderEditor, CompilableStringEditor, DimensionEditor, EnumEditor, FontEditor, IconEditor, InsetsEditor, IntegerEditor, NumberEditor, ObjectEditor, RectangleEditor, StringArrayEditor, StringEditor
- public class EditorSupport
- extends java.beans.PropertyEditorSupport
Base class of all property editors.
- Version:
- $Revision: 1.1.1.1 $
- Author:
- Masahiro Takatsuka (masa@jbeans.net)
- See Also:
PropertyEditorSupport
Method Summary |
java.awt.Component |
getCustomEditor()
Returns the panel responsible for rendering the PropertyEditor. |
protected javax.swing.JPanel |
getPanel()
|
void |
init(java.beans.PropertyDescriptor descriptor)
For property editors that must be initialized with values from
the property descriptor. |
protected void |
setAlignment(javax.swing.JComponent c)
|
protected void |
setPanel(javax.swing.JPanel panel)
|
boolean |
supportsCustomEditor()
|
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getAsText, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MEDIUM_DIMENSION
protected static final java.awt.Dimension MEDIUM_DIMENSION
SMALL_DIMENSION
protected static final java.awt.Dimension SMALL_DIMENSION
EditorSupport
public EditorSupport()
getCustomEditor
public java.awt.Component getCustomEditor()
- Returns the panel responsible for rendering the PropertyEditor.
supportsCustomEditor
public final boolean supportsCustomEditor()
setAlignment
protected final void setAlignment(javax.swing.JComponent c)
init
public void init(java.beans.PropertyDescriptor descriptor)
- For property editors that must be initialized with values from
the property descriptor.
setPanel
protected void setPanel(javax.swing.JPanel panel)
getPanel
protected javax.swing.JPanel getPanel()
Copyright © 2003 JBean project. All Rights Reserved.