Class CursorChangedEvent

    • Constructor Detail

      • CursorChangedEvent

        public CursorChangedEvent​(PresentationSpace ps,
                                  PresentationSpaceEvent.Origin origin,
                                  boolean visible,
                                  Position pos)
        Constructor for generating a new CursorEvent.
        Parameters:
        ps - The PresentationSpace instance that generated the event
        origin - of the event
        visible - flag to indicate cursor visibility state
        pos - the current cursor position
    • Method Detail

      • isVisible

        public boolean isVisible()
        Flag to indicate the current cursor visibility state
        Returns:
        true if the cursor is visible, false otherwise
      • getPosition

        public Position getPosition()
        Returns the current cursor position
        Returns:
        the current cursor position