|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IlpViewInteractionContext
Describes the context of a user interaction that can occur anywhere in a view. A view interaction context is used to store contextual information about the events that occur over a graphic view.
IlpInteractionContext| Method Summary | |
|---|---|
void |
addGraphic(IlpGraphic graphic)
Adds a graphic to the collection of graphics involved in a gesture. |
void |
addRepresentationObject(IlpRepresentationObject object)
Adds a representation object to the collection of representation objects involved in a gesture. |
Collection |
getGraphics()
Returns the collection of IlpGraphics involved in
a gesture. |
IlpObjectInteractionContext |
getObjectContext()
Returns the object interaction context used when the event management is delegated to an object interactor. |
Collection |
getRepresentationObjects()
Returns the collection of IlpRepresentationObjects
involved in a gesture. |
boolean |
removeGraphic(IlpGraphic graphic)
Removes a graphic from the collection of graphics involved in a gesture. |
boolean |
removeRepresentationObject(IlpRepresentationObject object)
Removes a representation object from the collection of representation objects involved in a gesture. |
void |
setObjectContext(IlpObjectInteractionContext objectContext)
Sets the object interaction context used when the event management is delegated to an object interactor. |
| Methods inherited from interface ilog.cpl.interactor.IlpInteractionContext |
|---|
getPosition, getView, reset, setPosition |
| Method Detail |
|---|
Collection getRepresentationObjects()
IlpRepresentationObjects
involved in a gesture. May be empty.
addRepresentationObject(ilog.cpl.model.IlpRepresentationObject),
removeRepresentationObject(ilog.cpl.model.IlpRepresentationObject)void addRepresentationObject(IlpRepresentationObject object)
object - The representation object which has to be added.
IllegalArgumentException - if the given representation object
is null.getRepresentationObjects(),
removeRepresentationObject(ilog.cpl.model.IlpRepresentationObject)boolean removeRepresentationObject(IlpRepresentationObject object)
object - the representation object which has to be removed.
true if the given representation object has
been removed.getRepresentationObjects(),
addRepresentationObject(ilog.cpl.model.IlpRepresentationObject)Collection getGraphics()
IlpGraphics involved in
a gesture. May be empty.
addGraphic(ilog.cpl.graphic.IlpGraphic),
removeGraphic(ilog.cpl.graphic.IlpGraphic)void addGraphic(IlpGraphic graphic)
graphic - The graphic to be added.
IllegalArgumentException - if the given graphic
is null.getGraphics(),
removeGraphic(ilog.cpl.graphic.IlpGraphic)boolean removeGraphic(IlpGraphic graphic)
graphic - the graphic which has to be removed
true if the given graphic has been removedgetGraphics(),
addGraphic(ilog.cpl.graphic.IlpGraphic)IlpObjectInteractionContext getObjectContext()
null.
setObjectContext(ilog.cpl.interactor.IlpObjectInteractionContext)void setObjectContext(IlpObjectInteractionContext objectContext)
objectContext - The object interaction context used to delegate
the event management. May be null.getObjectContext()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||