|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Describes a property of a given instance of a class.
Method Summary | |
java.lang.Object |
applyGetter(java.lang.Object bean)
Get the value from the bean instance. |
void |
applySetter(java.lang.Object bean,
java.lang.Object toValue)
Set the value of this property on the given bean |
java.lang.Class |
getBeanType()
Gets the java class of the bean. |
javax.swing.JComponent |
getEditor(java.lang.Object bean,
AppLoader core)
Gets the associated cell editor for the property |
PropertyInterfacer |
getInterfacer()
Get a property interfacer for the bean. |
java.lang.String |
getName()
Gets the display name of the property. |
javax.swing.JComponent |
getRenderer(java.lang.Object bean,
AppLoader core)
Gets the associated cell renderer for the property. |
boolean |
isSettable(java.lang.Object bean)
Checks to see if the property is currently settable on the given instance bean. |
void |
setInterfacer(PropertyInterfacer functor)
Set the interfacer for the property. |
Method Detail |
public java.lang.Object applyGetter(java.lang.Object bean)
bean
- The instance to get this property from
PropertyException
- When the value can't be extracted.public void applySetter(java.lang.Object bean, java.lang.Object toValue)
bean
- The instance to set this property oftoValue
- The new value for the property
PropertyException
- When the value can't be set.public boolean isSettable(java.lang.Object bean)
bean
- the instance to check
false
if the bean may not be setpublic javax.swing.JComponent getEditor(java.lang.Object bean, AppLoader core) throws PreferenceException
bean
- core
-
PreferenceException
public javax.swing.JComponent getRenderer(java.lang.Object bean, AppLoader core) throws PreferenceException
bean
- core
-
PreferenceException
public PropertyInterfacer getInterfacer()
public void setInterfacer(PropertyInterfacer functor)
functor
- public java.lang.Class getBeanType()
public java.lang.String getName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |