public class CursorChangedEvent extends PresentationSpaceEvent
PresentationSpaceEvent,
PresentationSpaceListenerPresentationSpaceEvent.Originorigin, ps| Constructor and Description |
|---|
CursorChangedEvent(PresentationSpace ps,
PresentationSpaceEvent.Origin origin,
boolean visible,
Position pos)
Constructor for generating a new CursorEvent.
|
| Modifier and Type | Method and Description |
|---|---|
Position |
getPosition()
Returns the current cursor position
|
boolean |
isVisible()
Flag to indicate the current cursor visibility state
|
String |
toString() |
getEventOrigin, getPresentationSpacepublic CursorChangedEvent(PresentationSpace ps, PresentationSpaceEvent.Origin origin, boolean visible, Position pos)
ps - The PresentationSpace instance that generated the eventorigin - of the eventvisible - flag to indicate cursor visibility statepos - the current cursor positionpublic boolean isVisible()
public Position getPosition()
public String toString()
toString in class PresentationSpaceEventCopyright © 2020 Micro Focus. All rights reserved.