com.jogamp.newt.impl
Class ScreenModeStatus

java.lang.Object
  extended by com.jogamp.newt.impl.ScreenModeStatus

public class ScreenModeStatus
extends Object


Constructor Summary
ScreenModeStatus(ArrayHashSet screenModes, IntIntHashMap screenModesIdx2NativeIdx)
           
 
Method Summary
protected  int addListener(ScreenModeListener l)
           
protected  void fireScreenModeChanged(ScreenMode currentScreenMode, boolean success)
           
protected  void fireScreenModeChangeNotify(ScreenMode desiredScreenMode)
           
 ScreenMode getCurrentScreenMode()
           
 ScreenMode getOriginalScreenMode()
           
protected  ArrayHashSet getScreenModes()
           
protected  IntIntHashMap getScreenModesIdx2NativeIdx()
           
protected static ScreenModeStatus getScreenModeStatus(String screenFQN)
           
 boolean isOriginalMode()
           
protected  void lock()
           
protected static void lockScreenModeStatus()
           
protected static void mapScreenModeStatus(String screenFQN, ScreenModeStatus sms)
           
protected  int removeListener(ScreenModeListener l)
           
protected  void setOriginalScreenMode(ScreenMode originalScreenMode)
           
protected  void unlock()
           
protected static void unlockScreenModeStatus()
           
protected static void unmapScreenModeStatus(String screenFQN)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenModeStatus

public ScreenModeStatus(ArrayHashSet screenModes,
                        IntIntHashMap screenModesIdx2NativeIdx)
Method Detail

mapScreenModeStatus

protected static void mapScreenModeStatus(String screenFQN,
                                          ScreenModeStatus sms)

unmapScreenModeStatus

protected static void unmapScreenModeStatus(String screenFQN)
Parameters:
screen - the prev user

getScreenModeStatus

protected static ScreenModeStatus getScreenModeStatus(String screenFQN)

lockScreenModeStatus

protected static void lockScreenModeStatus()

unlockScreenModeStatus

protected static void unlockScreenModeStatus()

setOriginalScreenMode

protected final void setOriginalScreenMode(ScreenMode originalScreenMode)

getOriginalScreenMode

public final ScreenMode getOriginalScreenMode()

getCurrentScreenMode

public final ScreenMode getCurrentScreenMode()

isOriginalMode

public final boolean isOriginalMode()

getScreenModes

protected final ArrayHashSet getScreenModes()

getScreenModesIdx2NativeIdx

protected final IntIntHashMap getScreenModesIdx2NativeIdx()

addListener

protected final int addListener(ScreenModeListener l)

removeListener

protected final int removeListener(ScreenModeListener l)

fireScreenModeChangeNotify

protected final void fireScreenModeChangeNotify(ScreenMode desiredScreenMode)

fireScreenModeChanged

protected void fireScreenModeChanged(ScreenMode currentScreenMode,
                                     boolean success)

lock

protected final void lock()
                   throws RuntimeException
Throws:
RuntimeException

unlock

protected final void unlock()
                     throws RuntimeException
Throws:
RuntimeException


Copyright 2010 JogAmp Community.