|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.x3d.CockpitProperties
The set of properties used to configure the Cockpit.
Cockpit| Constructor Summary | |
protected |
CockpitProperties()
Restricted Constructor |
| Method Summary | |
void |
addCockpitPropertyListener(CockpitPropertyListener cpl)
Add a Cockpit property listener |
protected void |
fireCockpitPropertyEvent(int id)
Deliver the events..... |
float[] |
getAvatarSize(float[] size)
Return the avatar size |
float |
getFieldOfView()
Return the field of view |
boolean |
getHeadlight()
Return the state of the headlight |
static CockpitProperties |
getInstance()
Return the instance of the properties |
float |
getVisibilityLimit()
Return the visibility limit |
void |
removeCockpitPropertyListener(CockpitPropertyListener cpl)
Remove a Cockpit property listener |
void |
setAvatarSize(float[] size)
Set the avatar size |
void |
setFieldOfView(float fov)
Set the field of view |
void |
setHeadlight(boolean state)
Set the headlight state |
void |
setVisibilityLimit(float visLimit)
Set the visibility limit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected CockpitProperties()
| Method Detail |
public static CockpitProperties getInstance()
public void setHeadlight(boolean state)
state - the headlight statepublic boolean getHeadlight()
public void setFieldOfView(float fov)
fov - the field of viewpublic float getFieldOfView()
public void setVisibilityLimit(float visLimit)
visLimit - the visibility limitpublic float getVisibilityLimit()
public void setAvatarSize(float[] size)
size - the avatar sizepublic float[] getAvatarSize(float[] size)
public void addCockpitPropertyListener(CockpitPropertyListener cpl)
cpl - the listenerpublic void removeCockpitPropertyListener(CockpitPropertyListener cpl)
cpl - the listenerprotected void fireCockpitPropertyEvent(int id)
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||