|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme.system.dummy.DummySystemProvider
public class DummySystemProvider
SystemProvider for DummyDisplaySystem.
It is a basic SystemProvider which allows to specify which DisplaySystem owns it and what Timer to use. If a Timer is not providen, a NanoTimer will be used.
Field Summary | |
---|---|
protected DisplaySystem |
displaySystem
The DisplaySystem that this SystemProvider belongs to. |
static java.lang.String |
DUMMY_SYSTEM_IDENTIFIER
The DummySystemProvider identifier |
protected Timer |
timer
The timer hold by this SystemProvider. |
Constructor Summary | |
---|---|
DummySystemProvider()
Creates a new DummySystemProvider |
|
DummySystemProvider(DisplaySystem displaySystem)
Creates a new DummySystemProvider |
|
DummySystemProvider(DisplaySystem displaySystem,
Timer timer)
Creates a new DummySystemProvider |
Method Summary | |
---|---|
void |
disposeDisplaySystem()
Often the display system is in a static field. |
DisplaySystem |
getDisplaySystem()
Returns a valid DisplaySystem for the current system. |
java.lang.String |
getProviderIdentifier()
getProviderIdentifier returns a unique identifier for this
system. |
Timer |
getTimer()
Returns a hight resolution timer for the current system. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DUMMY_SYSTEM_IDENTIFIER
protected Timer timer
protected DisplaySystem displaySystem
Constructor Detail |
---|
public DummySystemProvider()
public DummySystemProvider(DisplaySystem displaySystem)
displaySystem
- The DisplaySystem that this SystemProvider belongs to.public DummySystemProvider(DisplaySystem displaySystem, Timer timer)
displaySystem
- The DisplaySystem that this SystemProvider belongs to.timer
- The timer hold by this SystemProvider.Method Detail |
---|
public java.lang.String getProviderIdentifier()
SystemProvider
getProviderIdentifier
returns a unique identifier for this
system.
getProviderIdentifier
in interface SystemProvider
public DisplaySystem getDisplaySystem()
SystemProvider
getDisplaySystem
in interface SystemProvider
public Timer getTimer()
SystemProvider
getTimer
in interface SystemProvider
public void disposeDisplaySystem()
SystemProvider
disposeDisplaySystem
in interface SystemProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |