public class XFullScreenStrategy extends Object implements FullScreenStrategy
With this full-screen strategy, a full-screen transparent overlay will work correctly,
see EmbeddedMediaPlayer.setOverlay(Window)
.
Constructor and Description |
---|
XFullScreenStrategy(Window window)
Create a new full-screen strategy.
|
Modifier and Type | Method and Description |
---|---|
void |
enterFullScreenMode()
Attempt to enter full-screen mode.
|
void |
exitFullScreenMode()
Exit full-screen mode.
|
boolean |
isFullScreenMode()
Test whether or not full-screen mode is currently active.
|
public XFullScreenStrategy(Window window)
window
- component that will be made full-screenpublic void enterFullScreenMode()
FullScreenStrategy
enterFullScreenMode
in interface FullScreenStrategy
public void exitFullScreenMode()
FullScreenStrategy
exitFullScreenMode
in interface FullScreenStrategy
public boolean isFullScreenMode()
FullScreenStrategy
isFullScreenMode
in interface FullScreenStrategy
true
if full-screen mode is active; otherwise false
Copyright © 2009–2014 Caprica Software Limited. All rights reserved.