|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cosylab.gui.components.range2.LinearRange
public class LinearRange
Implementation of linear range.
| Constructor Summary | |
|---|---|
LinearRange()
|
|
| Method Summary | |
|---|---|
TickCalculator |
getDefaultTickCalculator()
Returns the default TickCaluclator employed by this Range. |
double |
toAbsolute(double relative,
RangedValue ranged)
Converts relative value in this range to absolute. |
double |
toRelative(double absolute,
RangedValue ranged)
Converts absolute value into relative (defined in 0.0 to 1.0 range). |
double |
validate(double value)
Returns the parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinearRange()
| Method Detail |
|---|
public double validate(double value)
validate in interface Rangevalue - to test.
com.cosylab.gui.components.range.Range#checkValue(double)
public double toAbsolute(double relative,
RangedValue ranged)
toAbsolute in interface Rangerelative - value in range 0.0 to 1.0 inclusively.
com.cosylab.gui.components.range.Range#toAbsolute(double)
public double toRelative(double absolute,
RangedValue ranged)
toRelative in interface Rangeabsolute - value.
com.cosylab.gui.components.range.Range#toRelative(double)public TickCalculator getDefaultTickCalculator()
Range
getDefaultTickCalculator in interface Range
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||