Class ExclusiveModeFullScreenStrategy

java.lang.Object
uk.co.caprica.vlcj.player.embedded.fullscreen.exclusivemode.ExclusiveModeFullScreenStrategy
All Implemented Interfaces:
FullScreenStrategy

public class ExclusiveModeFullScreenStrategy extends Object implements FullScreenStrategy
Default implementation of a full-screen strategy that attempts to use the JDK full-screen exclusive mode support.

Client applications may wish to select a screen device other than the default - extend this class and override getScreenDevice() to do so.

Client applications may wish to explicitly set the DisplayMode - extend this class and override getDisplayMode(DisplayMode[]) to do so.

Client applications may also have other requirements such as hiding other on-screen controls when in full-screen mode - extend this class and override onBeforeEnterFullScreenMode() and onAfterExitFullScreenMode() to do so.

It may be useful to specify "-Dsun.java2d.d3d=false" on the Windows platform for performance reasons.

This strategy implementation is not recommended for use, consider using any of the native strategies instead.