|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ascape.util.data.UnitIntervalDataPoint
public abstract class UnitIntervalDataPoint
An abstract class providing some value 0..1 based on the state of the instance provided.
| Constructor Summary | |
|---|---|
UnitIntervalDataPoint()
Constructs a UnitIntervalDataPoint. |
|
UnitIntervalDataPoint(java.lang.String name)
Constructs a UnitIntervalDataPoint. |
|
| Method Summary | |
|---|---|
double |
getAssertedValue(java.lang.Object object)
Returns a value guaranteed to be within 0..1 based on the state of the object as defined by getValue. |
double |
getBracketedValue(java.lang.Object object)
Returns a value guaranteed to be within 0..1 based on the state of the object as defined by getValue. |
java.lang.String |
getName()
Returns the name of this unit interval data point. |
abstract double |
getValue(java.lang.Object object)
Returns a value that is supposed to be between 0..1 based on the state of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnitIntervalDataPoint()
public UnitIntervalDataPoint(java.lang.String name)
name - the name of this draw feature| Method Detail |
|---|
public abstract double getValue(java.lang.Object object)
getValue in interface DataPointobject - the object to get a value from.public java.lang.String getName()
getName in interface DataPointgetName in interface HasNamepublic double getBracketedValue(java.lang.Object object)
object - the object to get a value from.
public double getAssertedValue(java.lang.Object object)
throws ValueNotInRangeException
object - the object to get a value from.
ValueNotInRangeException - if value is not within limit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||