public interface IlpViewInteractionContext extends IlpInteractionContext
IlpInteractionContext
Modifier and Type | Method and Description |
---|---|
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<IlpGraphic> |
getGraphics()
Returns the collection of
IlpGraphic s involved in
a gesture. |
IlpObjectInteractionContext |
getObjectContext()
Returns the object interaction context used when the event management
is delegated to an object interactor.
|
Collection<IlpRepresentationObject> |
getRepresentationObjects()
Returns the collection of
IlpRepresentationObject s
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.
|
getInitialModifiersEx, getPosition, getView, reset, setInitialModifiersEx, setPosition
Collection<IlpRepresentationObject> getRepresentationObjects()
IlpRepresentationObject
s
involved in a gesture. May be empty.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<IlpGraphic> getGraphics()
IlpGraphic
s involved in
a gesture. May be empty.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 removedtrue
if the given graphic has been removedgetGraphics()
,
addGraphic(ilog.cpl.graphic.IlpGraphic)
IlpObjectInteractionContext getObjectContext()
null
.void setObjectContext(IlpObjectInteractionContext objectContext)
objectContext
- The object interaction context used to delegate
the event management. May be null
.getObjectContext()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.