|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IlpInteractionContext
Describes the context of user interactions.
An interaction context is used to store contextual information
about the events that an IlpGraphicController
delegates to an IlpInteractor. It is dedicated to a view.
IlpGraphicController,
IlpInteractor,
IlpAbstractInteractor| Method Summary | |
|---|---|
IlpPoint |
getPosition()
Returns the location where a gesture ended, in view coordinates. |
IlpGraphicView |
getView()
Returns the view this context refers to. |
void |
reset()
Resets the context. |
void |
setPosition(IlpPoint position)
Sets the location where a gesture ended, in view coordinates. |
| Method Detail |
|---|
IlpGraphicView getView()
IlpPoint getPosition()
null until a complete gesture has been recognized.
setPosition(ilog.cpl.graphic.IlpPoint)void setPosition(IlpPoint position)
position - The location where the gesture ended.getPosition()void reset()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||