|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Observable
backend.spheremodel.SphereBasicObject
backend.spheremodel.SpherePointModel
public class SpherePointModel
SpherePointModel is a backend model of a point on a sphere
| Constructor Summary | |
|---|---|
SpherePointModel(float x,
float y,
float z)
SpherePontModel constructor |
|
SpherePointModel(float x,
float y,
float z,
java.lang.String theLabel)
SpherePointModel file loading constructor |
|
SpherePointModel(javax.vecmath.Point3f thePoint)
SpherePointModel constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object checkMe)
|
int |
getID()
getID will return the unique indentifier for this SpherePointModel |
java.lang.String |
getLabel()
getLabel returns the label for this point |
javax.vecmath.Point3f |
getPoint()
Returns the point that this model represents |
void |
setLabel(java.lang.String newLabel)
setLabel() will change the label that is currently on this point |
void |
setLocation(javax.vecmath.Point3f newLoc)
setLocation will change the location of this point |
| Methods inherited from class backend.spheremodel.SphereBasicObject |
|---|
addChild, getChild, getChildCount, getSelected, isBeingRemoved, isHidden, notifyFamily, removeChild, setBeingRemoved, setHidden, setSelected |
| Methods inherited from class java.util.Observable |
|---|
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpherePointModel(javax.vecmath.Point3f thePoint)
thePoint - is the point to initalize the SpherePointModel to
public SpherePointModel(float x,
float y,
float z)
x - - the x coordinate for the modely - - the y coordinate for the modelz - - the z coordinate for the model
public SpherePointModel(float x,
float y,
float z,
java.lang.String theLabel)
x - - x coordinatey - - y coordinatez - - z coordinatetheLabel - - a label for this point| Method Detail |
|---|
public javax.vecmath.Point3f getPoint()
public java.lang.String getLabel()
public void setLabel(java.lang.String newLabel)
public boolean equals(java.lang.Object checkMe)
equals in class java.lang.Objectpublic void setLocation(javax.vecmath.Point3f newLoc)
newLoc - - New location for the pointpublic int getID()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||