|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
backend.information.InformationNugget
backend.information.AngleNugget
public class AngleNugget
AngleNugget is used to display angle measures and get them ready for displaying
Constructor Summary | |
---|---|
AngleNugget(SpherePointModel fPoint,
SpherePointModel sPoint,
SpherePointModel tPoint)
The default AngleNugget constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object checkMe)
|
SpherePointModel |
getFirstPoint()
getFirstPoint was only added as a way to get the necessary information needed to write the AngleNugget to a file |
SpherePointModel |
getSecondPoint()
getsecondPoint was only added as a way to get the necessary information needed to write the AngleNugget to a file |
SpherePointModel |
getThirdPoint()
getThirdPoint was only added as a way to get the necessary information needed to write the AngleNugget to a file |
static void |
setDefaultRadians(boolean myDefault)
setDefaultRadians if set to true will make the default units for all AngleNuggets radian if set to false it will be degrees |
void |
setRadians(boolean radians)
setRadians will change what this AngleNugget displays in |
java.lang.String |
toString()
|
void |
update(java.util.Observable obv,
java.lang.Object myArg)
|
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, wait, wait, wait |
Constructor Detail |
---|
public AngleNugget(SpherePointModel fPoint, SpherePointModel sPoint, SpherePointModel tPoint)
fPoint
- The first point in the anglesPoint
- The second (middle) point of the angletPoint
- The third point of the angleMethod Detail |
---|
public void setRadians(boolean radians)
radians
- True to display in radians false to display in degreespublic java.lang.String toString()
toString
in class InformationNugget
public boolean equals(java.lang.Object checkMe)
equals
in class InformationNugget
public SpherePointModel getFirstPoint()
public SpherePointModel getSecondPoint()
public SpherePointModel getThirdPoint()
public static void setDefaultRadians(boolean myDefault)
myDefault
- true to make radians, false to make degreespublic void update(java.util.Observable obv, java.lang.Object myArg)
update
in interface java.util.Observer
update
in class InformationNugget
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |