|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.uni_paderborn.fujaba.views.beans.WrapperEditor
A simple PropertyEditor that wraps another PropertyEditor but provides a custom editor (a simple JTextField) even if the original PropertyEditor had none. Most operations of this class are simply delegated to the wrapped PropertyEditor
| Field Summary | |
private java.beans.PropertyEditor |
delegatee
No comment provided by developer, please add a comment to improve documentation. |
private java.awt.Component |
editor
No comment provided by developer, please add a comment to improve documentation. |
| Constructor Summary | |
WrapperEditor(java.beans.PropertyEditor delegatee)
Constructor for class WrapperEditor |
|
| Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Access method for an one to n association. |
java.lang.String |
getAsText()
Get the asText attribute of the WrapperEditor object |
java.awt.Component |
getCustomEditor()
Get the customEditor attribute of the WrapperEditor object |
java.beans.PropertyEditor |
getDelegatee()
Get the delegatee attribute of the WrapperEditor object |
private java.awt.Component |
getEditor()
Get the editor attribute of the WrapperEditor object |
java.lang.String |
getJavaInitializationString()
Get the javaInitializationString attribute of the WrapperEditor object |
java.lang.String[] |
getTags()
Get the tags attribute of the WrapperEditor object |
java.lang.Object |
getValue()
Get the value attribute of the WrapperEditor object |
boolean |
isPaintable()
Get the paintable attribute of the WrapperEditor object |
void |
paintValue(java.awt.Graphics gfx,
java.awt.Rectangle box)
No comment provided by developer, please add a comment to improve documentation. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
No comment provided by developer, please add a comment to improve documentation. |
void |
setAsText(java.lang.String text)
Sets the asText attribute of the WrapperEditor object |
boolean |
setDelegatee(java.beans.PropertyEditor editor)
Sets the delegatee attribute of the WrapperEditor object |
private boolean |
setEditor(java.awt.Component editor)
Sets the editor attribute of the WrapperEditor object |
private void |
setEditorText(java.lang.String text)
Sets the editorText attribute of the WrapperEditor object |
void |
setValue(java.lang.Object value)
Sets the value attribute of the WrapperEditor object |
boolean |
supportsCustomEditor()
No comment provided by developer, please add a comment to improve documentation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.beans.PropertyEditor delegatee
private java.awt.Component editor
| Constructor Detail |
public WrapperEditor(java.beans.PropertyEditor delegatee)
delegatee - No description provided| Method Detail |
public boolean setDelegatee(java.beans.PropertyEditor editor)
editor - The new delegatee value
public java.beans.PropertyEditor getDelegatee()
private boolean setEditor(java.awt.Component editor)
editor - The new editor value
private java.awt.Component getEditor()
private void setEditorText(java.lang.String text)
text - The new editorText valuepublic void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener in interface java.beans.PropertyEditorlistener - The object added.public java.lang.String getAsText()
getAsText in interface java.beans.PropertyEditorpublic java.awt.Component getCustomEditor()
getCustomEditor in interface java.beans.PropertyEditorpublic java.lang.String getJavaInitializationString()
getJavaInitializationString in interface java.beans.PropertyEditorpublic java.lang.String[] getTags()
getTags in interface java.beans.PropertyEditorpublic java.lang.Object getValue()
getValue in interface java.beans.PropertyEditorpublic boolean isPaintable()
isPaintable in interface java.beans.PropertyEditor
public void paintValue(java.awt.Graphics gfx,
java.awt.Rectangle box)
paintValue in interface java.beans.PropertyEditorgfx - No description providedbox - No description providedpublic void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener in interface java.beans.PropertyEditorlistener - No description provided
public void setAsText(java.lang.String text)
throws java.lang.IllegalArgumentException
setAsText in interface java.beans.PropertyEditortext - The new asText value
java.lang.IllegalArgumentException - Exception description not providedpublic void setValue(java.lang.Object value)
setValue in interface java.beans.PropertyEditorvalue - The new value valuepublic boolean supportsCustomEditor()
supportsCustomEditor in interface java.beans.PropertyEditor
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||