com.jogamp.newt.impl.windows
Class WindowsScreen

java.lang.Object
  extended by com.jogamp.newt.Screen
      extended by com.jogamp.newt.impl.ScreenImpl
          extended by com.jogamp.newt.impl.windows.WindowsScreen
All Implemented Interfaces:
ScreenModeListener

public class WindowsScreen
extends ScreenImpl


Field Summary
 
Fields inherited from class com.jogamp.newt.impl.ScreenImpl
aScreen, DEBUG_TEST_SCREENMODE_DISABLED, display, fqname, hashCode, height, refCount, screen_idx, usrHeight, usrWidth, width
 
Fields inherited from class com.jogamp.newt.Screen
DEBUG, SCREEN_MODE_CHANGE_TIMEOUT, screenList, screensActive
 
Constructor Summary
WindowsScreen()
           
 
Method Summary
protected  void closeNativeImpl()
           
protected  void createNativeImpl()
           
protected  ScreenMode getCurrentScreenModeImpl()
          To be implemented by the native specification.
Is called within a thread safe environment.
protected  int[] getScreenModeFirstImpl()
          To be implemented by the native specification.
Is called within a thread safe environment.
Is called only to collect the ScreenModes, usually at startup setting up modes.

WARNING: must be synchronized with ScreenModeUtil.NUM_SCREEN_MODE_PROPERTIES, ie com.jogamp.newt.util.ScreenModeUtil#streamIn(com.jogamp.common.util.ArrayHashSet, com.jogamp.common.util.ArrayHashSet, com.jogamp.common.util.ArrayHashSet, com.jogamp.common.util.ArrayHashSet, int[], int)

Note: Additional 1st element is native mode id.
protected  int[] getScreenModeNextImpl()
          To be implemented by the native specification.
Is called within a thread safe environment.
Is called only to collect the ScreenModes, usually at startup setting up modes.

WARNING: must be synchronized with ScreenModeUtil.NUM_SCREEN_MODE_PROPERTIES, ie com.jogamp.newt.util.ScreenModeUtil#streamIn(com.jogamp.common.util.ArrayHashSet, com.jogamp.common.util.ArrayHashSet, com.jogamp.common.util.ArrayHashSet, com.jogamp.common.util.ArrayHashSet, int[], int)

Note: Additional 1st element is native mode id.
protected  boolean setCurrentScreenModeImpl(ScreenMode sm)
          To be implemented by the native specification.
Is called within a thread safe environment.
 
Methods inherited from class com.jogamp.newt.impl.ScreenImpl
addReference, addScreenModeListener, create, createNative, destroy, getCurrentScreenMode, getDisplay, getFQName, getGraphicsScreen, getHeight, getIndex, getOriginalScreenMode, getReferenceCount, getScreenModes, getScreenModesIdx2NativeIdx, getScreenModesOrig, getWidth, hashCode, isNativeValid, removeReference, removeScreenModeListener, screenModeChanged, screenModeChangeNotify, setCurrentScreenMode, setScreenSize, toString
 
Methods inherited from class com.jogamp.newt.Screen
equals, getActiveScreenNumber, getAllScreens, getFirstScreenOf, getLastScreenOf
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WindowsScreen

public WindowsScreen()
Method Detail

createNativeImpl

protected void createNativeImpl()
Specified by:
createNativeImpl in class ScreenImpl

closeNativeImpl

protected void closeNativeImpl()
Specified by:
closeNativeImpl in class ScreenImpl

getScreenModeFirstImpl

protected int[] getScreenModeFirstImpl()
Description copied from class: ScreenImpl
To be implemented by the native specification.
Is called within a thread safe environment.
Is called only to collect the ScreenModes, usually at startup setting up modes.

WARNING: must be synchronized with ScreenModeUtil.NUM_SCREEN_MODE_PROPERTIES, ie com.jogamp.newt.util.ScreenModeUtil#streamIn(com.jogamp.common.util.ArrayHashSet, com.jogamp.common.util.ArrayHashSet, com.jogamp.common.util.ArrayHashSet, com.jogamp.common.util.ArrayHashSet, int[], int)

Note: Additional 1st element is native mode id.

Overrides:
getScreenModeFirstImpl in class ScreenImpl

getScreenModeNextImpl

protected int[] getScreenModeNextImpl()
Description copied from class: ScreenImpl
To be implemented by the native specification.
Is called within a thread safe environment.
Is called only to collect the ScreenModes, usually at startup setting up modes.

WARNING: must be synchronized with ScreenModeUtil.NUM_SCREEN_MODE_PROPERTIES, ie com.jogamp.newt.util.ScreenModeUtil#streamIn(com.jogamp.common.util.ArrayHashSet, com.jogamp.common.util.ArrayHashSet, com.jogamp.common.util.ArrayHashSet, com.jogamp.common.util.ArrayHashSet, int[], int)

Note: Additional 1st element is native mode id.

Overrides:
getScreenModeNextImpl in class ScreenImpl

getCurrentScreenModeImpl

protected ScreenMode getCurrentScreenModeImpl()
Description copied from class: ScreenImpl
To be implemented by the native specification.
Is called within a thread safe environment.

Overrides:
getCurrentScreenModeImpl in class ScreenImpl

setCurrentScreenModeImpl

protected boolean setCurrentScreenModeImpl(ScreenMode sm)
Description copied from class: ScreenImpl
To be implemented by the native specification.
Is called within a thread safe environment.

Overrides:
setCurrentScreenModeImpl in class ScreenImpl


Copyright 2010 JogAmp Community.