public abstract class GameWindow
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
abstract void |
BeginScreenDeviceChange(boolean willBeFullScreen)
Starts a device transition (windowed to full screen or vice versa).
|
void |
EndScreenDeviceChange(java.lang.String screenDeviceName)
Completes a device transition.
|
abstract void |
EndScreenDeviceChange(java.lang.String screenDeviceName,
int clientWidth,
int clientHeight)
Completes a device transition.
|
abstract Microsoft.Xna.Framework.Rectangle |
getClientBounds()
The screen dimensions of the game window's client rectangle.
|
abstract Microsoft.Xna.Framework.DisplayOrientation |
getCurrentOrientation() |
abstract java.lang.String |
getScreenDeviceName()
Gets the device name of the screen the window is currently in.
|
java.lang.String |
getTitle()
Gets the title of the system window.
|
void |
setTitle(java.lang.String title)
Sets the title of the system window.
|
protected abstract void |
SetTitle(java.lang.String title)
Sets the title of the GameWindow.
|
public abstract Microsoft.Xna.Framework.Rectangle getClientBounds()
public abstract Microsoft.Xna.Framework.DisplayOrientation getCurrentOrientation()
public abstract java.lang.String getScreenDeviceName()
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
protected abstract void SetTitle(java.lang.String title)
title
- The new title of the GameWindow.public abstract void BeginScreenDeviceChange(boolean willBeFullScreen)
willBeFullScreen
- Specifies whether the device will be in full-screen mode upon completion of the change.public void EndScreenDeviceChange(java.lang.String screenDeviceName)
screenDeviceName
- The desktop screen to move the window to. This should be the screen device name of the graphics device that has transitioned to full screen.public abstract void EndScreenDeviceChange(java.lang.String screenDeviceName, int clientWidth, int clientHeight)
screenDeviceName
- The desktop screen to move the window to. This should be the screen device name of the graphics device that has transitioned to full screen.clientWidth
- The new width of the game's client window.clientHeight
- The new height of the game's client window.