|
|||||||||||
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
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 |
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 |
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 |
Constructor Detail |
public WrapperEditor(java.beans.PropertyEditor delegatee)
delegatee
- No description providedMethod Detail |
public boolean setDelegatee(java.beans.PropertyEditor editor)
editor
- The new delegatee value
public java.beans.PropertyEditor getDelegatee()
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in interface java.beans.PropertyEditor
listener
- The object added.public java.lang.String getAsText()
getAsText
in interface java.beans.PropertyEditor
public java.awt.Component getCustomEditor()
getCustomEditor
in interface java.beans.PropertyEditor
public java.lang.String getJavaInitializationString()
getJavaInitializationString
in interface java.beans.PropertyEditor
public java.lang.String[] getTags()
getTags
in interface java.beans.PropertyEditor
public java.lang.Object getValue()
getValue
in interface java.beans.PropertyEditor
public boolean isPaintable()
isPaintable
in interface java.beans.PropertyEditor
public void paintValue(java.awt.Graphics gfx, java.awt.Rectangle box)
paintValue
in interface java.beans.PropertyEditor
gfx
- No description providedbox
- No description providedpublic void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in interface java.beans.PropertyEditor
listener
- No description providedpublic void setAsText(java.lang.String text) throws java.lang.IllegalArgumentException
setAsText
in interface java.beans.PropertyEditor
text
- The new asText value
java.lang.IllegalArgumentException
- Exception description not providedpublic void setValue(java.lang.Object value)
setValue
in interface java.beans.PropertyEditor
value
- 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 |