|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface represents a reference to an Object.
| Field Summary | |
static java.lang.String |
DELIMITER
Property delimiter (for example: contact.address.zip) |
static java.lang.String |
PROPERTY_OBJ_CHANGED
Property change property when the entire Object has changed |
| Method Summary | |
void |
actionPerformed(IActionBinder action)
Notify the bound object that an action was performed where the reference object was used to perform an action. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Adds a PropertyChangeListener to the listener list. |
java.lang.Object |
getObject()
Get the bound object. |
java.lang.String |
getProperty()
Get the property of the source object that will be used as the bound object. |
java.lang.Object |
getSourceObject()
Get the source object that is used to reference the bound object. |
java.lang.Class |
getType()
Get the class type of the referenced object. |
void |
refresh()
Refresh the referenced object. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Remove an existing PropertyChangeListener from the listener list. |
void |
setProperty(java.lang.String property)
Set the property of the source object that will be the bound object. |
void |
setSourceObject(java.lang.Object object)
Set the source object that will be used as a reference for the bound object. |
void |
setSourceObject(java.lang.Object object,
java.lang.String property)
Set the source object and target property simultaneously. |
| Field Detail |
public static final java.lang.String DELIMITER
public static final java.lang.String PROPERTY_OBJ_CHANGED
| Method Detail |
public void setProperty(java.lang.String property)
property - the property of the source objectpublic java.lang.String getProperty()
public void setSourceObject(java.lang.Object object)
object - the source object
public void setSourceObject(java.lang.Object object,
java.lang.String property)
object - the source objectproperty - the target propertypublic java.lang.Object getSourceObject()
public java.lang.Object getObject()
public void actionPerformed(IActionBinder action)
action - the action that used the referenced objectpublic void refresh()
public java.lang.Class getType()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if the target object can not be determined due to a
miss-configuration. The exception includes a message denoting the reason.public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
PROPERTY_OBJ_CHANGED as the
property type.
l - the listener to add.public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
l - the listener to remove.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||