public class IlpInteractorManagerSupport extends Object implements IlpMutableInteractorManager
| Constructor and Description |
|---|
IlpInteractorManagerSupport(IlpInteractorManager manager)
Creates a support class for the given instance to store
interactors for objects and attributes.
|
| Modifier and Type | Method and Description |
|---|---|
IlpInteractorManager |
getManager()
Returns the interactor manager using this instance.
|
IlpObjectInteractor |
getObjectInteractor(IlpObject object)
Returns the interactor associated with the given business object
in the graphic view controlled by this instance.
|
IlpObjectInteractor |
getObjectInteractor(IlpObject object,
IlpAttribute attribute)
Returns the interactor associated with the given object and
attribute in the graphic view controlled by this instance.
|
IlpObjectInteractor |
getObjectInteractor(IlpRepresentationObject object)
Returns the interactor associated with the given object
in the graphic view controlled by this instance.
|
IlpObjectInteractor |
getObjectInteractor(IlpRepresentationObject object,
IlpAttribute attribute)
Returns the interactor associated with the given object and
attribute in the graphic view controlled by this instance.
|
IlpObjectInteractor |
getObjectInteractor(Object key)
Returns the interactor associated with the given key in
the graphic view controlled by this instance.
|
void |
removeObjectInteractors()
Removes all the interactors associated with representation
objects.
|
void |
removeObjectInteractors(IlpObject object)
Removes all the interactors associated with the given business object.
|
void |
removeObjectInteractors(IlpRepresentationObject object)
Removes all the interactors associated with the given object.
|
void |
setObjectInteractor(IlpObject object,
IlpAttribute attribute,
IlpObjectInteractor interactor)
Sets the interactor associated with the given business object and attribute.
|
void |
setObjectInteractor(IlpObject object,
IlpObjectInteractor interactor)
Sets the interactor associated with the given business object.
|
void |
setObjectInteractor(IlpRepresentationObject object,
IlpAttribute attribute,
IlpObjectInteractor interactor)
Sets the interactor associated with the given object and attribute.
|
void |
setObjectInteractor(IlpRepresentationObject object,
IlpObjectInteractor interactor)
Sets the interactor associated with the given object.
|
void |
setObjectInteractor(Object key,
IlpObjectInteractor interactor)
Sets the interactor associated with the given key.
|
public IlpInteractorManagerSupport(IlpInteractorManager manager)
public IlpInteractorManager getManager()
public IlpObjectInteractor getObjectInteractor(Object key)
getObjectInteractor in interface IlpInteractorManagerkey - Interactor keypublic IlpObjectInteractor getObjectInteractor(IlpRepresentationObject object)
If no interactor is registered for this representation object, the interactor registered for its business object is used.
getObjectInteractor in interface IlpInteractorManagerobject - Representation object whose interactor is being
queried.public IlpObjectInteractor getObjectInteractor(IlpRepresentationObject object, IlpAttribute attribute)
If no interactor is registered for this representation object and attribute, the interactor registered for its business object and the same attribute is used.
getObjectInteractor in interface IlpInteractorManagerobject - Representation object whose interactor is being queried.attribute - Business attributepublic IlpObjectInteractor getObjectInteractor(IlpObject object)
getObjectInteractor in interface IlpInteractorManagerobject - Business object whose interactor is being queried.public IlpObjectInteractor getObjectInteractor(IlpObject object, IlpAttribute attribute)
getObjectInteractor in interface IlpInteractorManagerobject - Business object whose interactor is being queried.attribute - Business attributepublic void setObjectInteractor(Object key, IlpObjectInteractor interactor)
setObjectInteractor in interface IlpMutableInteractorManagerkey - Interactor keyinteractor - Interactor being setpublic void setObjectInteractor(IlpRepresentationObject object, IlpObjectInteractor interactor)
setObjectInteractor in interface IlpMutableInteractorManagerobject - Representation objectinteractor - Object interactorpublic void setObjectInteractor(IlpRepresentationObject object, IlpAttribute attribute, IlpObjectInteractor interactor)
null, the interactor is set to the attribute
and becomes the default interactor for this attribute.setObjectInteractor in interface IlpMutableInteractorManagerobject - Representation objectattribute - Business attributeinteractor - Object interactorpublic void setObjectInteractor(IlpObject object, IlpObjectInteractor interactor)
setObjectInteractor in interface IlpMutableInteractorManagerobject - Business objectinteractor - Object interactorpublic void setObjectInteractor(IlpObject object, IlpAttribute attribute, IlpObjectInteractor interactor)
null, the interactor is set to the attribute
and becomes the default interactor for this attribute.setObjectInteractor in interface IlpMutableInteractorManagerobject - Business objectattribute - Business attributeinteractor - Object interactorpublic void removeObjectInteractors(IlpRepresentationObject object)
removeObjectInteractors in interface IlpMutableInteractorManagerobject - Representation objectpublic void removeObjectInteractors(IlpObject object)
removeObjectInteractors in interface IlpMutableInteractorManagerobject - Business objectpublic void removeObjectInteractors()
removeObjectInteractors in interface IlpMutableInteractorManager© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.