|
j3d.org Code | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.j3d.ui.navigation.ViewpointData
public class ViewpointData
A class to represent viewpoint information so that we can put it on screen, move around to it etc etc.
Does not include location information for a viewpoint. It expects a derived class for the individual renderer-type will be created that contains the specific transformation structure.
| Field Summary | |
|---|---|
int |
id
An identifier used to know which view data this is |
java.lang.String |
name
A string representing a name of the viewpoint. |
boolean |
selected
Flag indicating this is the currently selected viewpoint |
java.lang.Object |
userData
User specific data they can associate with this viewpoint |
| Constructor Summary | |
|---|---|
ViewpointData(java.lang.String name,
int id)
Create a new data object initialised to the set of values. |
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
Return a string representation of this viewpoint. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String name
public int id
public boolean selected
public java.lang.Object userData
| Constructor Detail |
|---|
public ViewpointData(java.lang.String name,
int id)
name - The name to useid - The id of this viewpoint| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
|
j3d.org Code | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||