|
|||||||||
| 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
backend.spheremodel.SpherePointCircModel
public class SpherePointCircModel
SpherePointCircModel represents a point that is part of a SphereCircleModel this point will stay with the SphereCircleModel as it is moved around the sphere
| Constructor Summary | |
|---|---|
SpherePointCircModel(float x,
float y,
float z,
java.lang.String ptLbl)
SpherePointCircModel constructor for reading in SpherePointCircModels from datafiles This constructor should only be used when reading in from files because it does not completely initalize the SpherePointCircModel. |
|
SpherePointCircModel(SphereCircleModel theCirc,
javax.vecmath.Point3f startLoc)
SpherePointCircModel default constructor |
|
| Method Summary | |
|---|---|
SphereCircleModel |
getCircle()
getCircle returns the circle this SpherePointCircModel is part of |
void |
setCircle(SphereCircleModel myCirc)
setCircle should be used on combination with the constructor meant for reading in SpherePointCircModels from file. |
void |
setLocation(javax.vecmath.Point3f newLoc)
setLocation should be called to set this SpherePointCircModel to a new location. |
void |
update(java.util.Observable o,
java.lang.Object arg)
|
| Methods inherited from class backend.spheremodel.SpherePointModel |
|---|
equals, getID, getLabel, getPoint, setLabel |
| 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 SpherePointCircModel(SphereCircleModel theCirc,
javax.vecmath.Point3f startLoc)
theCirc - is the circle this point will be placed onstartLoc - is a starting location supplied by the user
public SpherePointCircModel(float x,
float y,
float z,
java.lang.String ptLbl)
x - is the x coordinate for this pointy - is the y coordinate for this pointz - is the z coordinate for this pointptLbl - is the label to place on this SpherePointCircModel| Method Detail |
|---|
public void setCircle(SphereCircleModel myCirc)
myCirc - is the circle to set this SpherePointCircModel topublic SphereCircleModel getCircle()
public void setLocation(javax.vecmath.Point3f newLoc)
setLocation in class SpherePointModelnewLoc - is the new location for this SpherePointCircModel to go to
public void update(java.util.Observable o,
java.lang.Object arg)
update in interface java.util.Observer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||