|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.beanfabrics.swing.customizer.table.BnColumnPropertyEditor
public class BnColumnPropertyEditor
The BnColumnPropertyEditor is a JavaBeans PropertyEditor for a BnColumn.
| Constructor Summary | |
|---|---|
|
BnColumnPropertyEditor()
|
protected |
BnColumnPropertyEditor(ObjectToSourceCodeFormatter<BnColumn[]> javaFormat)
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Register a listener for the PropertyChangeEvent. |
java.lang.String |
getAsText()
|
java.awt.Component |
getCustomEditor()
A PropertyEditor may choose to make available a full custom Component that edits its property
value. |
java.lang.String |
getJavaInitializationString()
This method is intended for use when generating Java code to set the value of the property. |
java.lang.String[] |
getTags()
If the property value must be one of a set of known tagged values, then this method should return an array of the tags. |
java.lang.Object |
getValue()
Gets the property value. |
boolean |
isPaintable()
Determines whether this property model is paintable. |
void |
paintValue(java.awt.Graphics gfx,
java.awt.Rectangle box)
Paint a representation of the value into a given area of screen real estate. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Remove a listener for the PropertyChangeEvent. |
void |
setAsText(java.lang.String text)
|
void |
setValue(java.lang.Object value)
Set (or change) the object that is to be edited. |
boolean |
supportsCustomEditor()
Determines whether this property model supports a custom editor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BnColumnPropertyEditor()
protected BnColumnPropertyEditor(ObjectToSourceCodeFormatter<BnColumn[]> javaFormat)
| Method Detail |
|---|
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
PropertyChangeEvent.
addPropertyChangeListener in interface java.beans.PropertyEditorlistener - the listener to be addedpublic void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
PropertyChangeEvent.
removePropertyChangeListener in interface java.beans.PropertyEditorlistener - the listener to be removedpublic void setValue(java.lang.Object value)
setValue in interface java.beans.PropertyEditorvalue - The object to be edited.public java.lang.Object getValue()
getValue in interface java.beans.PropertyEditorpublic java.lang.String getJavaInitializationString()
getJavaInitializationString in interface java.beans.PropertyEditorBnColumnBuilderpublic java.lang.String getAsText()
getAsText in interface java.beans.PropertyEditorpublic void setAsText(java.lang.String text)
setAsText in interface java.beans.PropertyEditorpublic boolean supportsCustomEditor()
supportsCustomEditor in interface java.beans.PropertyEditorpublic java.awt.Component getCustomEditor()
PropertyEditor may choose to make available a full custom Component that edits its property
value.
getCustomEditor in interface java.beans.PropertyEditorpublic boolean isPaintable()
isPaintable in interface java.beans.PropertyEditortrue is this property model is paintable, otherwise false
public void paintValue(java.awt.Graphics gfx,
java.awt.Rectangle box)
paintValue in interface java.beans.PropertyEditorgfx - The graphics object to be painted.box - The area to be painted to.public java.lang.String[] getTags()
getTags in interface java.beans.PropertyEditor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||