com.jogamp.newt
Class Window

java.lang.Object
  extended by com.jogamp.newt.Window
All Implemented Interfaces:
NativeWindow, SurfaceUpdatedListener
Direct Known Subclasses:
AWTWindow, GLWindow, KDWindow, MacWindow, OffscreenWindow, Window, Window, WindowsWindow, X11Window

public abstract class Window
extends Object
implements NativeWindow


Field Summary
protected  Capabilities caps
           
static int ClickTimeout
           
protected  AbstractGraphicsConfiguration config
           
static boolean DEBUG_IMPLEMENTATION
           
static boolean DEBUG_KEY_EVENT
           
static boolean DEBUG_MOUSE_EVENT
           
static boolean DEBUG_WINDOW_EVENT
           
protected  boolean fullscreen
           
protected  int height
           
protected  int nfs_height
           
protected  int nfs_width
           
protected  int nfs_x
           
protected  int nfs_y
           
protected  NativeWindow parentNativeWindow
           
protected  long parentWindowHandle
           
protected  Screen screen
           
protected  String title
           
protected  boolean undecorated
           
protected  boolean visible
           
protected  int width
           
protected  long windowHandle
           
protected  RecursiveToolkitLock windowLock
           
protected  int x
           
protected  int y
           
 
Fields inherited from interface javax.media.nativewindow.NativeWindow
LOCK_SUCCESS, LOCK_SURFACE_CHANGED, LOCK_SURFACE_NOT_READY, LOCK_SURFACE_UNLOCKED
 
Constructor Summary
Window()
           
 
Method Summary
protected  void addChild(NativeWindow win)
           
 void addKeyListener(int index, KeyListener l)
          Inserts the given KeyListener at the specified position in the list.
 void addKeyListener(KeyListener l)
          Appends the given KeyListener to the end of the list.
 void addMouseListener(int index, MouseListener l)
          Inserts the given MouseListener at the specified position in the list.
 void addMouseListener(MouseListener l)
          Appends the given MouseListener to the end of the list.
 void addPaintListener(int index, PaintListener l)
          Inserts the given PaintListener at the specified position in the list.
 void addPaintListener(PaintListener l)
          Appends the given PaintListener to the end of the list.
 void addSurfaceUpdatedListener(int index, SurfaceUpdatedListener l)
          Inserts the given com.jogamp.newt.event.SurfaceUpdatedListener at the specified position in the list.
 void addSurfaceUpdatedListener(SurfaceUpdatedListener l)
          Appends the given com.jogamp.newt.event.SurfaceUpdatedListener to the end of the list.
 void addWindowListener(int index, WindowListener l)
          Inserts the given WindowListener at the specified position in the list.
 void addWindowListener(WindowListener l)
          Appends the given WindowListener to the end of the list.
protected abstract  void closeNative()
           
protected static Window create(String type, NativeWindow parentNativeWindow, long parentWindowHandle, Screen screen, Capabilities caps, boolean undecorated)
           
protected static Window create(String type, Object[] cstrArguments, Screen screen, Capabilities caps, boolean undecorated)
           
protected abstract  void createNativeImpl()
          Create native windowHandle, ie creates a new native invisible window.
 void destroy()
           destroys the window and children and releases windowing related resources.
 void destroy(boolean deep)
           
protected  void enqueueKeyEvent(int eventType, int modifiers, int keyCode, char keyChar)
           
protected  void enqueueMouseEvent(int eventType, int modifiers, int x, int y, int button, int rotation)
           
protected  void enqueueWindowEvent(int eventType)
           
 long getDisplayHandle()
          Convenience: Get display handle from AbstractGraphicsConfiguration .
 AbstractGraphicsConfiguration getGraphicsConfiguration()
          Returns the graphics configuration corresponding to this window.
 int getHeight()
          Returns the height of the client area of this window
 Window getInnerWindow()
          Returns the most inner Window instance.
Currently only GLWindow has an aggregation to an inner Window instance.
 Insets getInsets()
          Returns the insets for this native window (the difference between the size of the toplevel window with the decorations and the client area).
 KeyListener getKeyListener(int index)
           
 KeyListener[] getKeyListeners()
           
 Exception getLockedStack()
          Return the lock-exception, or null if not locked.
 MouseListener getMouseListener(int index)
           
 MouseListener[] getMouseListeners()
           
 PaintListener getPaintListener(int index)
           
 NativeWindow getParentNativeWindow()
           
 Capabilities getRequestedCapabilities()
           
 Screen getScreen()
           
 int getScreenIndex()
          Convenience: Get display handle from AbstractGraphicsConfiguration .
 long getSurfaceHandle()
          Returns the handle to the surface for this NativeWindow.
 Thread getSurfaceLockOwner()
           
 SurfaceUpdatedListener getSurfaceUpdatedListener(int index)
           
 SurfaceUpdatedListener[] getSurfaceUpdatedListeners()
           
static String getThreadName()
           
 String getTitle()
           
 int getWidth()
          Returns the width of the client area of this window
 long getWindowHandle()
          Returns the window handle for this NativeWindow.
 WindowListener getWindowListener(int index)
           
 WindowListener[] getWindowListeners()
           
protected  RecursiveToolkitLock getWindowLock()
           
 Object getWrappedWindow()
          If this Window actually wraps one from another toolkit such as the AWT, this will return a non-null value.
 int getX()
           
 int getY()
           
 boolean hasDeviceChanged()
          If the implementation is capable of detecting a device change return true and clear the status/reason of the change.
 void invalidate()
           render all native window information invalid, as if the native window was destroyed.
 void invalidate(boolean deep)
           
 boolean isDestroyed()
           
 boolean isFullscreen()
           
 boolean isNativeWindowValid()
           
 boolean isSurfaceLocked()
          Return if surface is locked
 boolean isUndecorated()
           
 boolean isUndecorated(boolean fullscreen)
           
 boolean isVisible()
           
 int lockSurface()
          Recursive and blocking lockSurface() implementation
 void removeAllSurfaceUpdatedListener()
           
protected  void removeChild(NativeWindow win)
           
 void removeKeyListener(KeyListener l)
           
 void removeMouseListener(MouseListener l)
           
 void removePaintListener(PaintListener l)
           
 void removeSurfaceUpdatedListener(SurfaceUpdatedListener l)
           
 void removeWindowListener(WindowListener l)
           
 void reparentWindow(NativeWindow newParent, Screen newScreen)
          Change this window's parent window.
protected  boolean reparentWindowImpl()
           
 void requestFocus()
           
protected  void requestFocusImpl()
           
 void runOnEDTIfAvail(boolean wait, Runnable task)
           
 void sendEvent(NEWTEvent e)
           
protected  void sendKeyEvent(KeyEvent e)
           
protected  void sendMouseEvent(MouseEvent e)
           
protected  void sendPaintEvent(int eventType, int x, int y, int w, int h)
           
protected  void sendPaintEvent(PaintEvent e)
           
protected  void sendWindowEvent(WindowEvent e)
           
 boolean setFullscreen(boolean fullscreen)
           
protected abstract  boolean setFullscreenImpl(boolean fullscreen, int x, int y, int widht, int height)
           
 void setHandleDestroyNotify(boolean b)
          If set to true, the default value, this NEWT Window implementation will handle the destruction (ie destroy() call) within windowDestroyNotify() implementation.
If set to false, it's up to the caller/owner to handle destruction within windowDestroyNotify().
 void setPosition(int x, int y)
          Sets the location of the top left corner of the window, including decorations (so the client area will be placed at x+insets.left,y+insets.top.
This call is ignored if in fullscreen mode.
protected abstract  void setPositionImpl(int x, int y)
           
 void setSize(int width, int height)
          Sets the size of the client area of the window, excluding decorations Total size of the window will be width+insets.left+insets.right, height+insets.top+insets.bottom
protected abstract  void setSizeImpl(int width, int height)
           
 void setTitle(String title)
           
protected  void setTitleImpl(String title)
           
 void setUndecorated(boolean value)
           
 void setVisible(boolean visible)
           setVisible makes the window and children visible if visible is true, otherwise the window and children becomes invisible.
protected abstract  void setVisibleImpl(boolean visible)
           
protected  void shouldNotCallThis()
           
 boolean surfaceSwap()
          Provide a mechanism to utilize custom (pre-) swap surface code.
 void surfaceUpdated(Object updater, NativeWindow window, long when)
          Notification of a surface update event.
static String toHexString(int hex)
           
static String toHexString(long hex)
           
 String toString()
           
 void unlockSurface()
          Recursive and unblocking unlockSurface() implementation
protected  void windowDestroyed()
           
protected  void windowDestroyNotify()
           
protected  boolean windowIsLocked()
           
protected  void windowLock()
           
protected  void windowUnlock()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEBUG_MOUSE_EVENT

public static final boolean DEBUG_MOUSE_EVENT

DEBUG_KEY_EVENT

public static final boolean DEBUG_KEY_EVENT

DEBUG_WINDOW_EVENT

public static final boolean DEBUG_WINDOW_EVENT

DEBUG_IMPLEMENTATION

public static final boolean DEBUG_IMPLEMENTATION

screen

protected Screen screen

parentNativeWindow

protected NativeWindow parentNativeWindow

parentWindowHandle

protected long parentWindowHandle

caps

protected Capabilities caps

config

protected AbstractGraphicsConfiguration config

windowHandle

protected long windowHandle

fullscreen

protected boolean fullscreen

visible

protected boolean visible

width

protected int width

height

protected int height

x

protected int x

y

protected int y

nfs_width

protected int nfs_width

nfs_height

protected int nfs_height

nfs_x

protected int nfs_x

nfs_y

protected int nfs_y

title

protected String title

undecorated

protected boolean undecorated

ClickTimeout

public static final int ClickTimeout
See Also:
Constant Field Values

windowLock

protected RecursiveToolkitLock windowLock
Constructor Detail

Window

public Window()
Method Detail

create

protected static Window create(String type,
                               NativeWindow parentNativeWindow,
                               long parentWindowHandle,
                               Screen screen,
                               Capabilities caps,
                               boolean undecorated)

create

protected static Window create(String type,
                               Object[] cstrArguments,
                               Screen screen,
                               Capabilities caps,
                               boolean undecorated)

runOnEDTIfAvail

public void runOnEDTIfAvail(boolean wait,
                            Runnable task)

createNativeImpl

protected abstract void createNativeImpl()
Create native windowHandle, ie creates a new native invisible window.


closeNative

protected abstract void closeNative()

getRequestedCapabilities

public Capabilities getRequestedCapabilities()

getParentNativeWindow

public NativeWindow getParentNativeWindow()

getScreen

public Screen getScreen()

toString

public String toString()
Overrides:
toString in class Object

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

setTitleImpl

protected void setTitleImpl(String title)

setUndecorated

public void setUndecorated(boolean value)

isUndecorated

public boolean isUndecorated(boolean fullscreen)

isUndecorated

public boolean isUndecorated()

requestFocus

public void requestFocus()

requestFocusImpl

protected void requestFocusImpl()

lockSurface

public int lockSurface()
Recursive and blocking lockSurface() implementation

Specified by:
lockSurface in interface NativeWindow
Returns:
NativeWindow.LOCK_SUCCESS, NativeWindow.LOCK_SURFACE_CHANGED or NativeWindow.LOCK_SURFACE_NOT_READY.
See Also:
ToolkitLock

unlockSurface

public void unlockSurface()
                   throws NativeWindowException
Recursive and unblocking unlockSurface() implementation

Specified by:
unlockSurface in interface NativeWindow
Throws:
NativeWindowException - if surface is not locked
See Also:
NativeWindow.lockSurface(), ToolkitLock

isSurfaceLocked

public boolean isSurfaceLocked()
Description copied from interface: NativeWindow
Return if surface is locked

Specified by:
isSurfaceLocked in interface NativeWindow

getSurfaceLockOwner

public Thread getSurfaceLockOwner()

getLockedStack

public Exception getLockedStack()
Description copied from interface: NativeWindow
Return the lock-exception, or null if not locked. The lock-exception is created at NativeWindow.lockSurface() and hence holds the locker's call stack.

Specified by:
getLockedStack in interface NativeWindow

destroy

public final void destroy()

destroys the window and children and releases windowing related resources.

all other resources and states are kept intact, ie listeners, parent handles and size, position etc.

Specified by:
destroy in interface NativeWindow
See Also:
destroy(boolean), invalidate()

destroy

public void destroy(boolean deep)
Parameters:
deep - If true, all resources, ie listeners, parent handles, size, position and the referenced NEWT screen and display, will be destroyed as well. Be aware that if you call this method with deep = true, you will not be able to regenerate the Window.
See Also:
destroy(), invalidate(boolean)

invalidate

public void invalidate()

render all native window information invalid, as if the native window was destroyed.

all other resources and states are kept intact, ie listeners, parent handles and size, position etc.

Specified by:
invalidate in interface NativeWindow
See Also:
destroy(), destroy(boolean), invalidate(boolean)

invalidate

public void invalidate(boolean deep)
Parameters:
deep - if false only the native window handle is invalidated, otherwise all states (references and properties) are reset. Be aware that if you call this method with deep = true, you will not be able to regenerate the Window.
See Also:
invalidate(), destroy(), destroy(boolean)

isNativeWindowValid

public boolean isNativeWindowValid()
Returns:
true if the native window handle is valid and ready to operate

isDestroyed

public boolean isDestroyed()

surfaceSwap

public boolean surfaceSwap()
Description copied from interface: NativeWindow
Provide a mechanism to utilize custom (pre-) swap surface code. This method is called before the render toolkit (e.g. JOGL) swaps the buffer/surface. The implementation may itself apply the swapping, in which case true shall be returned.

Specified by:
surfaceSwap in interface NativeWindow
Returns:
true if this method completed swapping the surface, otherwise false, in which case eg the GLDrawable implementation has to swap the code.

getDisplayHandle

public long getDisplayHandle()
Description copied from interface: NativeWindow
Convenience: Get display handle from AbstractGraphicsConfiguration . AbstractGraphicsScreen . AbstractGraphicsDevice

Specified by:
getDisplayHandle in interface NativeWindow

getScreenIndex

public int getScreenIndex()
Description copied from interface: NativeWindow
Convenience: Get display handle from AbstractGraphicsConfiguration . AbstractGraphicsScreen

Specified by:
getScreenIndex in interface NativeWindow

getWindowHandle

public long getWindowHandle()
Description copied from interface: NativeWindow
Returns the window handle for this NativeWindow.

The window handle shall reflect the platform one for all window related operations, e.g. open, close, resize.

On X11 this returns an entity of type Window.
On Microsoft Windows this returns an entity of type HWND.

Specified by:
getWindowHandle in interface NativeWindow

getSurfaceHandle

public long getSurfaceHandle()
Description copied from interface: NativeWindow
Returns the handle to the surface for this NativeWindow.

The surface handle should be set/update by NativeWindow.lockSurface(), where NativeWindow.unlockSurface() is not allowed to modify it. After NativeWindow.unlockSurface() it is no more guaranteed that the surface handle is still valid. The surface handle shall reflect the platform one for all drawable surface operations, e.g. opengl, swap-buffer.

On X11 this returns an entity of type Window, since there is no differentiation of surface and window there.
On Microsoft Windows this returns an entity of type HDC.

Specified by:
getSurfaceHandle in interface NativeWindow

getGraphicsConfiguration

public AbstractGraphicsConfiguration getGraphicsConfiguration()
Description copied from interface: NativeWindow
Returns the graphics configuration corresponding to this window.

Specified by:
getGraphicsConfiguration in interface NativeWindow
See Also:
GraphicsConfigurationFactory.chooseGraphicsConfiguration(Capabilities, CapabilitiesChooser, AbstractGraphicsScreen)

getWidth

public int getWidth()
Returns the width of the client area of this window

Specified by:
getWidth in interface NativeWindow
Returns:
width of the client area

getHeight

public int getHeight()
Returns the height of the client area of this window

Specified by:
getHeight in interface NativeWindow
Returns:
height of the client area

getInsets

public Insets getInsets()
Returns the insets for this native window (the difference between the size of the toplevel window with the decorations and the client area).

Returns:
insets for this platform window

getInnerWindow

public Window getInnerWindow()
Returns the most inner Window instance.
Currently only GLWindow has an aggregation to an inner Window instance.


getWrappedWindow

public Object getWrappedWindow()
If this Window actually wraps one from another toolkit such as the AWT, this will return a non-null value.


getX

public int getX()

getY

public int getY()

isVisible

public boolean isVisible()

isFullscreen

public boolean isFullscreen()

hasDeviceChanged

public boolean hasDeviceChanged()
If the implementation is capable of detecting a device change return true and clear the status/reason of the change.


setHandleDestroyNotify

public void setHandleDestroyNotify(boolean b)
If set to true, the default value, this NEWT Window implementation will handle the destruction (ie destroy() call) within windowDestroyNotify() implementation.
If set to false, it's up to the caller/owner to handle destruction within windowDestroyNotify().


windowDestroyNotify

protected void windowDestroyNotify()

windowDestroyed

protected void windowDestroyed()

reparentWindowImpl

protected boolean reparentWindowImpl()

reparentWindow

public void reparentWindow(NativeWindow newParent,
                           Screen newScreen)
Change this window's parent window.

In case the old parent is not null and a Window, this window is removed from it's list of children.
In case the new parent is not null and a Window, this window is added to it's list of children.

Parameters:
newParent - the new parent NativeWindow. If null, this Window becomes a top level window.
newScreen - if not null and this window handle is not yet set this Screen is being used.

setVisible

public void setVisible(boolean visible)

setVisible makes the window and children visible if visible is true, otherwise the window and children becomes invisible.

The setVisible(true) is responsible to actual create the native window.

Zero size semantics are respected, see setSize(int,int):

 if ( 0 == windowHandle && visible ) { 
      this.visible = visible;
      if( 0

In case this window is a child window and a parent NativeWindow is being used,
the parent's NativeWindow handle is retrieved via NativeWindow.getWindowHandle().
If this action fails, ie if the parent NativeWindow is not valid yet,
no native window is created yet and setVisible(true) shall be repeated when it is.


setVisibleImpl

protected abstract void setVisibleImpl(boolean visible)

setSize

public void setSize(int width,
                    int height)
Sets the size of the client area of the window, excluding decorations Total size of the window will be width+insets.left+insets.right, height+insets.top+insets.bottom

Zero size semantics are respected, see setVisible(boolean):

 if ( 0 != windowHandle && 0>=width*height && visible ) {
      setVisible(false);
 } else if ( 0 == windowHandle && 0

This call is ignored if in fullscreen mode.

Parameters:
width - of the client area of the window
height - of the client area of the window

setSizeImpl

protected abstract void setSizeImpl(int width,
                                    int height)

setPosition

public void setPosition(int x,
                        int y)
Sets the location of the top left corner of the window, including decorations (so the client area will be placed at x+insets.left,y+insets.top.
This call is ignored if in fullscreen mode.

Parameters:
x - coord of the top left corner
y - coord of the top left corner

setPositionImpl

protected abstract void setPositionImpl(int x,
                                        int y)

setFullscreen

public boolean setFullscreen(boolean fullscreen)

setFullscreenImpl

protected abstract boolean setFullscreenImpl(boolean fullscreen,
                                             int x,
                                             int y,
                                             int widht,
                                             int height)

removeChild

protected void removeChild(NativeWindow win)

addChild

protected void addChild(NativeWindow win)

sendEvent

public void sendEvent(NEWTEvent e)

addSurfaceUpdatedListener

public void addSurfaceUpdatedListener(SurfaceUpdatedListener l)
Appends the given com.jogamp.newt.event.SurfaceUpdatedListener to the end of the list.


addSurfaceUpdatedListener

public void addSurfaceUpdatedListener(int index,
                                      SurfaceUpdatedListener l)
                               throws IndexOutOfBoundsException
Inserts the given com.jogamp.newt.event.SurfaceUpdatedListener at the specified position in the list.

Parameters:
index - Position where the listener will be inserted. Should be within (0 <= index && index <= size()). An index value of -1 is interpreted as the end of the list, size().
l - The listener object to be inserted
Throws:
IndexOutOfBoundsException - If the index is not within (0 <= index && index <= size()), or -1

removeSurfaceUpdatedListener

public void removeSurfaceUpdatedListener(SurfaceUpdatedListener l)

removeAllSurfaceUpdatedListener

public void removeAllSurfaceUpdatedListener()

getSurfaceUpdatedListener

public SurfaceUpdatedListener getSurfaceUpdatedListener(int index)

getSurfaceUpdatedListeners

public SurfaceUpdatedListener[] getSurfaceUpdatedListeners()

surfaceUpdated

public void surfaceUpdated(Object updater,
                           NativeWindow window,
                           long when)
Description copied from interface: SurfaceUpdatedListener
Notification of a surface update event.

Specified by:
surfaceUpdated in interface SurfaceUpdatedListener
Parameters:
updater - is the caller object who updated the surface, e.g. a JOGL GLDrawable.
window - the NativeWindow, which surface is updated
when - the time in ms, when the surface was updated

enqueueMouseEvent

protected void enqueueMouseEvent(int eventType,
                                 int modifiers,
                                 int x,
                                 int y,
                                 int button,
                                 int rotation)

addMouseListener

public void addMouseListener(MouseListener l)
Appends the given MouseListener to the end of the list.


addMouseListener

public void addMouseListener(int index,
                             MouseListener l)
Inserts the given MouseListener at the specified position in the list.

Parameters:
index - Position where the listener will be inserted. Should be within (0 <= index && index <= size()). An index value of -1 is interpreted as the end of the list, size().
l - The listener object to be inserted
Throws:
IndexOutOfBoundsException - If the index is not within (0 <= index && index <= size()), or -1

removeMouseListener

public void removeMouseListener(MouseListener l)

getMouseListener

public MouseListener getMouseListener(int index)

getMouseListeners

public MouseListener[] getMouseListeners()

sendMouseEvent

protected void sendMouseEvent(MouseEvent e)

enqueueKeyEvent

protected void enqueueKeyEvent(int eventType,
                               int modifiers,
                               int keyCode,
                               char keyChar)

addKeyListener

public void addKeyListener(KeyListener l)
Appends the given KeyListener to the end of the list.


addKeyListener

public void addKeyListener(int index,
                           KeyListener l)
Inserts the given KeyListener at the specified position in the list.

Parameters:
index - Position where the listener will be inserted. Should be within (0 <= index && index <= size()). An index value of -1 is interpreted as the end of the list, size().
l - The listener object to be inserted
Throws:
IndexOutOfBoundsException - If the index is not within (0 <= index && index <= size()), or -1

removeKeyListener

public void removeKeyListener(KeyListener l)

getKeyListener

public KeyListener getKeyListener(int index)

getKeyListeners

public KeyListener[] getKeyListeners()

sendKeyEvent

protected void sendKeyEvent(KeyEvent e)

enqueueWindowEvent

protected void enqueueWindowEvent(int eventType)

addWindowListener

public void addWindowListener(WindowListener l)
Appends the given WindowListener to the end of the list.


addWindowListener

public void addWindowListener(int index,
                              WindowListener l)
                       throws IndexOutOfBoundsException
Inserts the given WindowListener at the specified position in the list.

Parameters:
index - Position where the listener will be inserted. Should be within (0 <= index && index <= size()). An index value of -1 is interpreted as the end of the list, size().
l - The listener object to be inserted
Throws:
IndexOutOfBoundsException - If the index is not within (0 <= index && index <= size()), or -1

removeWindowListener

public void removeWindowListener(WindowListener l)

getWindowListener

public WindowListener getWindowListener(int index)

getWindowListeners

public WindowListener[] getWindowListeners()

sendWindowEvent

protected void sendWindowEvent(WindowEvent e)

addPaintListener

public void addPaintListener(PaintListener l)
Appends the given PaintListener to the end of the list.


addPaintListener

public void addPaintListener(int index,
                             PaintListener l)
Inserts the given PaintListener at the specified position in the list.

Parameters:
index - Position where the listener will be inserted. Should be within (0 <= index && index <= size()). An index value of -1 is interpreted as the end of the list, size().
l - The listener object to be inserted
Throws:
IndexOutOfBoundsException - If the index is not within (0 <= index && index <= size()), or -1

removePaintListener

public void removePaintListener(PaintListener l)

getPaintListener

public PaintListener getPaintListener(int index)

sendPaintEvent

protected void sendPaintEvent(int eventType,
                              int x,
                              int y,
                              int w,
                              int h)

sendPaintEvent

protected void sendPaintEvent(PaintEvent e)

windowLock

protected final void windowLock()

windowUnlock

protected final void windowUnlock()

windowIsLocked

protected final boolean windowIsLocked()

getWindowLock

protected RecursiveToolkitLock getWindowLock()

shouldNotCallThis

protected final void shouldNotCallThis()

getThreadName

public static String getThreadName()

toHexString

public static String toHexString(int hex)

toHexString

public static String toHexString(long hex)


Copyright 2010 JogAmp Community.