Class FullscreenChangeEvent


public class FullscreenChangeEvent extends ClientEvent<FullscreenListener>
Event fired when fullscreen state changes.
Author:
Marvin P. Warble Jr.
See Also:
  • Constructor Details

    • FullscreenChangeEvent

      public FullscreenChangeEvent(boolean fullscreen)
      Constructs a FullscreenChangeEvent.
      Parameters:
      fullscreen - True if now in fullscreen mode, false if exited.
  • Method Details

    • isFullscreen

      public boolean isFullscreen()
      Returns whether the document is now in fullscreen mode.
      Returns:
      True if in fullscreen mode.
    • dispatchTo

      public void dispatchTo(FullscreenListener listener)
      Description copied from class: Event
      Dispatches this event to the specified listener.

      Subclasses implement this method to call the appropriate handler method on the listener interface.

      Specified by:
      dispatchTo in class Event<FullscreenListener>
      Parameters:
      listener - the listener to dispatch this event to
    • toString

      public String toString()
      Overrides:
      toString in class Object