|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ObjectReferenceHandler
An interface for classes that can supply ObjectReference type PropertyDefinition values to the PropertiedObjectPanel and it's ObjectReferencePropertyComponent.
| Field Summary | |
|---|---|
static java.lang.Object |
NULL_OBJECT
Defines a statically available "null" object that implementations should use to signal the framework that the user wishes to set the ObjectReference to null. |
| Method Summary | |
|---|---|
boolean |
canNavigateTo(java.lang.Object objectReference)
Determine if it is possible to navigate to the specified ObjectReference value. |
java.lang.Object |
getObjectReference(PropertiedObject object,
PropertiedObjectEditor editor,
PropertyDefinition def,
java.lang.Object currentValue)
Return a value for the specified ObjectReference type PropertyDefinition on the specified PropertiedObject. |
java.lang.Object[] |
getObjectReferences(PropertiedObject object,
PropertiedObjectEditor editor,
PropertyDefinition def,
java.util.Collection currentValues)
Return a Collection of values for the specified ObjectReference type PropertyDefinition on the specified PropertiedObject. |
void |
navigateTo(java.lang.Object objectReference)
Navigate to the specified ObjectReference value. |
| Field Detail |
|---|
static final java.lang.Object NULL_OBJECT
| Method Detail |
|---|
java.lang.Object getObjectReference(PropertiedObject object,
PropertiedObjectEditor editor,
PropertyDefinition def,
java.lang.Object currentValue)
object - the PropertiedObject that is requesting a setValueeditor - the PropertiedObjectEditor for this transactiondef - the PropertyDefinition of type PropertyTypes.OBJECT_REFERENCEcurrentValue - the current reference for this PropertyDefinition's value. May be null if
no value has been set.
java.lang.Object[] getObjectReferences(PropertiedObject object,
PropertiedObjectEditor editor,
PropertyDefinition def,
java.util.Collection currentValues)
object - the PropertiedObject that is requesting a setValueeditor - the PropertiedObjectEditor for this transactiondef - the PropertyDefinition of type PropertyTypes.OBJECT_REFERENCEcurrentValues - an unmodifiable Collection of current references for this
PropertyDefinition's value. If no value has been set, the Collection will be empty.
Will never be null.
boolean canNavigateTo(java.lang.Object objectReference)
objectReference - a non-null reference value for a PropertyDefinition of type
PropertyTypes.OBJECT_REFERENCE.
void navigateTo(java.lang.Object objectReference)
objectReference - a non-null reference value for a PropertyDefinition of type
PropertyTypes.OBJECT_REFERENCE.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||