org.xith3d.ui.hud
Class __HUD_PrivilegedAccess

java.lang.Object
  extended by org.xith3d.ui.hud.__HUD_PrivilegedAccess

public class __HUD_PrivilegedAccess
extends java.lang.Object

Since java doesn't correctly implement the protected modifier and also doesn't provide necessary other modifiers, we need this class to avoid exposing some internal methods to the Widgets' public APIs.


Constructor Summary
__HUD_PrivilegedAccess()
           
 
Method Summary
static void addVolatilePopup(HUD hud, Widget widget, Widget assembly, float locX, float locY)
           
static void bindMouseMovement(HUD hud, Widget widget)
           
static Widget focus(HUD hud, Widget widget)
           
static Widget getCurrentFocusedWidget(HUD hud, boolean getLeaf)
           
static Widget getCurrentVolatilePopup(HUD hud)
           
static void removeVolatilePopup(HUD hud)
           
static void updateOperations(HUD hud, long nanoGameTime, long nanoFrameTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

__HUD_PrivilegedAccess

public __HUD_PrivilegedAccess()
Method Detail

focus

public static final Widget focus(HUD hud,
                                 Widget widget)

getCurrentFocusedWidget

public static final Widget getCurrentFocusedWidget(HUD hud,
                                                   boolean getLeaf)

bindMouseMovement

public static final void bindMouseMovement(HUD hud,
                                           Widget widget)

addVolatilePopup

public static void addVolatilePopup(HUD hud,
                                    Widget widget,
                                    Widget assembly,
                                    float locX,
                                    float locY)

removeVolatilePopup

public static void removeVolatilePopup(HUD hud)

getCurrentVolatilePopup

public static final Widget getCurrentVolatilePopup(HUD hud)

updateOperations

public static final void updateOperations(HUD hud,
                                          long nanoGameTime,
                                          long nanoFrameTime)