Package com.oorian.html.js.fullscreen
Class FullscreenChangeEvent
java.lang.Object
com.oorian.messaging.events.Event<FullscreenListener>
com.oorian.messaging.events.client.ClientEvent<FullscreenListener>
com.oorian.html.js.fullscreen.FullscreenChangeEvent
Event fired when fullscreen state changes.
- Author:
- Marvin P. Warble Jr.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFullscreenChangeEvent(boolean fullscreen) Constructs a FullscreenChangeEvent. -
Method Summary
Modifier and TypeMethodDescriptionvoiddispatchTo(FullscreenListener listener) Dispatches this event to the specified listener.booleanReturns whether the document is now in fullscreen mode.toString()Methods inherited from class com.oorian.messaging.events.client.ClientEvent
getSource, getTarget, setSource, setTarget
-
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
Description copied from class:EventDispatches this event to the specified listener.Subclasses implement this method to call the appropriate handler method on the listener interface.
- Specified by:
dispatchToin classEvent<FullscreenListener>- Parameters:
listener- the listener to dispatch this event to
-
toString
-