|
||||||||||
| 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()
SystemProvidergetProviderIdentifier returns a unique identifier for this
system.
getProviderIdentifier in interface SystemProviderpublic DisplaySystem getDisplaySystem()
SystemProvider
getDisplaySystem in interface SystemProviderpublic Timer getTimer()
SystemProvider
getTimer in interface SystemProviderpublic void disposeDisplaySystem()
SystemProvider
disposeDisplaySystem in interface SystemProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||