public class CursorChangedEvent extends PresentationSpaceEvent
PresentationSpaceEvent
,
PresentationSpaceListener
PresentationSpaceEvent.Origin
origin, 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, getPresentationSpace
public 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 PresentationSpaceEvent
Copyright © 2020 Micro Focus. All rights reserved.