|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.scilab.forge.scirenderer.ruler.graduations.AbstractGraduations
org.scilab.forge.scirenderer.ruler.graduations.LinearGraduations
public final class LinearGraduations
A linear graduation is a graduation with regular spaces mark.
The mark distance is called "Step" and have for value mantissa x 10^exponent
.
Where mantissa is 1, 2 or 5.
Exponent is an integer.
Field Summary | |
---|---|
protected int |
stepExponent
The step exponent. |
protected int |
stepMantissa
The step mantissa. |
Method Summary | |
---|---|
static LinearGraduations |
create(double lowerBound,
boolean lowerBoundIncluded,
double upperBound,
boolean upperBoundIncluded)
|
static LinearGraduations |
create(double lowerBound,
double upperBound)
|
static LinearGraduations |
create(Graduations parentGraduations,
double lowerBound,
boolean lowerBoundIncluded,
double upperBound,
boolean upperBoundIncluded)
|
java.util.List<java.lang.Double> |
getAllValues()
Return all values of this graduation. |
LinearGraduations |
getAlternative()
Return a child graduation with more values but less than getMore() |
LinearGraduations |
getMore()
Return a child graduation with more values. |
java.util.List<java.lang.Double> |
getNewValues()
Return values not present in parents graduations. |
int |
getSubDensity()
Return the density of sub ticks. |
Graduations |
getSubGraduations()
Return a child graduation for sub ticks. |
Methods inherited from class org.scilab.forge.scirenderer.ruler.graduations.AbstractGraduations |
---|
contain, containRelative, getFormat, getLowerBound, getParentGraduations, getSubGraduations, getUpperBound, isLowerBoundIncluded, isUpperBoundIncluded, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.scilab.forge.scirenderer.ruler.graduations.Graduations |
---|
contain, getFormat, getLowerBound, getParentGraduations, getSubGraduations, getUpperBound, isLowerBoundIncluded, isUpperBoundIncluded |
Field Detail |
---|
protected final int stepExponent
protected final int stepMantissa
Method Detail |
---|
public static LinearGraduations create(double lowerBound, double upperBound)
public static LinearGraduations create(Graduations parentGraduations, double lowerBound, boolean lowerBoundIncluded, double upperBound, boolean upperBoundIncluded)
public static LinearGraduations create(double lowerBound, boolean lowerBoundIncluded, double upperBound, boolean upperBoundIncluded)
public java.util.List<java.lang.Double> getNewValues()
Graduations
getNewValues
in interface Graduations
public java.util.List<java.lang.Double> getAllValues()
Graduations
getAllValues
in interface Graduations
public LinearGraduations getMore()
Graduations
getMore
in interface Graduations
public LinearGraduations getAlternative()
Graduations
getMore()
getAlternative
in interface Graduations
getMore()
public Graduations getSubGraduations()
Graduations
getSubGraduations
in interface Graduations
public int getSubDensity()
Graduations
getSubDensity
in interface Graduations
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |