org.apogames
Class ApoDisplayConfiguration

java.lang.Object
  extended by org.apogames.ApoDisplayConfiguration

public class ApoDisplayConfiguration
extends java.lang.Object

Hilfsklasse zur Speicherung der Displaykonfiguration

Author:
Dirk Aporius

Constructor Summary
ApoDisplayConfiguration(int width, int height, int depth, boolean windowed, boolean applet)
           
 
Method Summary
 int getDepth()
          gibt die Farbtiefe des Frames zurück
 int getHeight()
          gibt die Höhe des Frames zurück
 int getWidth()
          gibt die Breite des Frames zurück
 boolean isApplet()
          gibt zurück, ob es ein Applet ist oder nicht
 boolean isWidescreen()
          gibt zurück, ob das Frame ein Breitbild ist oder nicht
 boolean isWindowed()
          gibt zurück, ob das Frame im Fenster gestartet wird oder im Fullscreen
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApoDisplayConfiguration

public ApoDisplayConfiguration(int width,
                               int height,
                               int depth,
                               boolean windowed,
                               boolean applet)
Method Detail

isApplet

public final boolean isApplet()
gibt zurück, ob es ein Applet ist oder nicht

Returns:
gibt zurück, ob es ein Applet ist oder nicht

isWidescreen

public final boolean isWidescreen()
gibt zurück, ob das Frame ein Breitbild ist oder nicht

Returns:
gibt zurück, ob das Frame ein Breitbild ist oder nicht

getWidth

public final int getWidth()
gibt die Breite des Frames zurück

Returns:
gibt die Breite des Frames zurück

getHeight

public final int getHeight()
gibt die Höhe des Frames zurück

Returns:
gibt die Höhe des Frames zurück

getDepth

public final int getDepth()
gibt die Farbtiefe des Frames zurück

Returns:
gibt die Farbtiefe des Frames zurück

isWindowed

public final boolean isWindowed()
gibt zurück, ob das Frame im Fenster gestartet wird oder im Fullscreen

Returns:
TRUE, Frame wird im Fenster gestartet, FALSE Frame im Fullscreen gestartet