|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.util.coordinate.CoordinateMapping
public abstract class CoordinateMapping
Abstract class describing a coordinate mapping. A coordinate mapping describes the mapping from a real data domain to a fixed length coordinate axis.
Constructor Summary | |
---|---|
CoordinateMapping(String stringDomValue,
double mappingValue)
Constructs a coordinate mapping from a string representation of the domain value and its mapping value. |
Method Summary | |
---|---|
String |
getDomainValueAsString()
A coordinate mapping must also return the corresponding domain value as a string. |
double |
getMappingValue()
Each coordinate mapping must return the mapping value as a double. |
(package private) String |
getStringDomainValue()
|
DataValue[] |
getValues()
Returns the values if set. |
void |
setValues(DataValue... values)
Sets values of this mapping. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
CoordinateMapping(String stringDomValue, double mappingValue)
stringDomValue
- the domain value as a stringmappingValue
- the corresponding mappingMethod Detail |
---|
public double getMappingValue()
public String getDomainValueAsString()
String getStringDomainValue()
public String toString()
toString
in class Object
public DataValue[] getValues()
public void setValues(DataValue... values)
values
- the values
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |