public interface IlpInteractionContext
IlpGraphicController
delegates to an IlpInteractor
. It is dedicated to a view.IlpGraphicController
,
IlpInteractor
,
IlpAbstractInteractor
Modifier and Type | Method and Description |
---|---|
int |
getInitialModifiersEx()
Returns the modifiersEx of the event that started the interaction
(usually
MouseEvent.MOUSE_PRESSED ). |
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 |
setInitialModifiersEx(int modifiersEx)
Sets the modifiersEx of the event that started the interaction
(usually
MouseEvent.MOUSE_PRESSED ). |
void |
setPosition(IlpPoint position)
Sets the location where a gesture ended, in view coordinates.
|
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()
int getInitialModifiersEx()
MouseEvent.MOUSE_PRESSED
).setInitialModifiersEx(int)
void setInitialModifiersEx(int modifiersEx)
MouseEvent.MOUSE_PRESSED
).modifiersEx
- The modifiers to be stored.getInitialModifiersEx()
void reset()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.