|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jogamp.newt.Display
public abstract class Display
Field Summary | |
---|---|
protected AbstractGraphicsDevice |
aDevice
|
static boolean |
DEBUG
|
protected Thread |
edt
|
protected com.jogamp.newt.util.EDTUtil |
edtUtil
|
protected String |
name
|
protected int |
refCount
|
protected String |
type
|
Constructor Summary | |
---|---|
Display()
|
Method Summary | |
---|---|
protected abstract void |
closeNative()
|
protected static Display |
create(String type,
String name)
Make sure to reuse a Display with the same name |
protected abstract void |
createNative()
|
void |
destroy()
|
protected void |
dispatchMessages()
|
protected abstract void |
dispatchMessagesNative()
|
static void |
dumpDisplayMap(String prefix)
|
void |
enqueueEvent(NEWTEvent e)
|
static Display |
getCurrentDisplay(String type,
String name)
Returns the thread local display mapped to the given name |
static Map |
getCurrentDisplayMap()
Returns the thread local display map |
static Collection |
getCurrentDisplays()
Returns the thread local display collection |
com.jogamp.newt.util.EDTUtil |
getEDTUtil()
|
String |
getFQName()
|
static String |
getFQName(String type,
String name)
|
AbstractGraphicsDevice |
getGraphicsDevice()
|
long |
getHandle()
|
String |
getName()
|
String |
getType()
|
protected void |
lockDisplay()
Default impl. |
void |
pumpMessages()
|
protected static Display |
removeCurrentDisplay(String type,
String name)
removes the mapping of the given name from the thread local display map and notifies all threads synchronized to this display map. |
protected static Display |
setCurrentDisplay(Display display)
maps the given display to the thread local display map and notifies all threads synchronized to this display map. |
String |
toString()
|
protected void |
unlockDisplay()
Default impl. |
protected static Display |
wrapHandle(String type,
String name,
AbstractGraphicsDevice aDevice)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final boolean DEBUG
protected com.jogamp.newt.util.EDTUtil edtUtil
protected Thread edt
protected String name
protected String type
protected int refCount
protected AbstractGraphicsDevice aDevice
Constructor Detail |
---|
public Display()
Method Detail |
---|
public static Map getCurrentDisplayMap()
protected static Display setCurrentDisplay(Display display)
protected static Display removeCurrentDisplay(String type, String name)
public static Display getCurrentDisplay(String type, String name)
public static void dumpDisplayMap(String prefix)
public static Collection getCurrentDisplays()
protected static Display create(String type, String name)
protected static Display wrapHandle(String type, String name, AbstractGraphicsDevice aDevice)
public com.jogamp.newt.util.EDTUtil getEDTUtil()
public void destroy()
protected abstract void createNative()
protected abstract void closeNative()
public final String getType()
public final String getName()
public final String getFQName()
public static final String getFQName(String type, String name)
public long getHandle()
public AbstractGraphicsDevice getGraphicsDevice()
public void pumpMessages()
public String toString()
toString
in class Object
protected abstract void dispatchMessagesNative()
protected void dispatchMessages()
public void enqueueEvent(NEWTEvent e)
protected void lockDisplay()
protected void unlockDisplay()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |