Class CursorChangedEvent

java.lang.Object
com.microfocus.zfe.haapi.ps.PresentationSpaceEvent
com.microfocus.zfe.haapi.ps.CursorChangedEvent

public class CursorChangedEvent extends PresentationSpaceEvent
Event fired when the state of the presentation space cursor changes. The state change may be due to a new location or a change in visibility state or both.
See Also:
  • Constructor Details

    • 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 Details

    • 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
    • toString

      public String toString()
      Overrides:
      toString in class PresentationSpaceEvent
      Returns:
      a human-readable rendering of this object.