|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fullscreen.FullScreenBase fullscreen.SoftFullScreen
public class SoftFullScreen
Creates a new softfullscreen object.
This will use undecorated frames to bring your sketch to the screen.
The advantages are:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class fullscreen.FullScreenBase |
---|
FullScreenBase.DelayedAction |
Constructor Summary | |
---|---|
SoftFullScreen(PApplet dad)
Creates a new softfullscreen object. |
|
SoftFullScreen(PApplet dad,
int screenNr)
Creates a new softfullscreen object on a specific screen (numbering starts at 0) |
Method Summary | |
---|---|
boolean |
available()
FullScreen is only available is applications, not in applets! |
boolean |
isFullScreen()
Are we in FullScreen mode? |
void |
minimize()
Allow for minimizing the frame |
void |
restore()
Restores the frame after it has been minimized. |
void |
setFullScreen(boolean fullScreen)
Enters/Leaves fullScreen mode. |
void |
setResolution(int xRes,
int yRes)
Setting resolution is not possible with the SoftFullScreen object. |
Methods inherited from class fullscreen.FullScreenBase |
---|
enter, getSketch, isGL, keyEvent, leave, requestFocus, setShortcutsEnabled |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SoftFullScreen(PApplet dad)
dad
- The parent sketch (aka "this")public SoftFullScreen(PApplet dad, int screenNr)
dad
- The parent sketch (usually "this")screenNr
- The screen number.Method Detail |
---|
public boolean isFullScreen()
isFullScreen
in class FullScreenBase
public void minimize()
public void restore()
public boolean available()
public void setFullScreen(boolean fullScreen)
setFullScreen
in class FullScreenBase
fullScreen
- true or falsepublic void setResolution(int xRes, int yRes)
setResolution
in class FullScreenBase
xRes
- x resolutionyRes
- y resolution
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |