backend.information
Class LineLengthNugget
java.lang.Object
java.util.Observable
backend.information.InformationNugget
backend.information.LineLengthNugget
- All Implemented Interfaces:
- java.util.Observer
public class LineLengthNugget
- extends InformationNugget
LineLengthNugget stores the length of a given spherical line
Method Summary |
boolean |
equals(java.lang.Object checkMe)
|
SphereLineModel |
getLine()
getLine will return the SphereLineModel associated with the
LineLengthNugget |
java.lang.String |
toString()
|
void |
update(java.util.Observable obj,
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 |
LineLengthNugget
public LineLengthNugget(SphereLineModel theLine)
- The LineLengthNugget default constructor
- Parameters:
theLine
- is the line to display information about
equals
public boolean equals(java.lang.Object checkMe)
- Specified by:
equals
in class InformationNugget
toString
public java.lang.String toString()
- Specified by:
toString
in class InformationNugget
getLine
public SphereLineModel getLine()
- getLine will return the SphereLineModel associated with the
LineLengthNugget
- Returns:
- The SphereLineModel for this LineLengthNugget
update
public void update(java.util.Observable obj,
java.lang.Object myArg)
- Specified by:
update
in interface java.util.Observer
- Overrides:
update
in class InformationNugget