Class LogarithmicGraduations
- java.lang.Object
-
- org.scilab.forge.scirenderer.ruler.graduations.AbstractGraduations
-
- org.scilab.forge.scirenderer.ruler.graduations.LogarithmicGraduations
-
- All Implemented Interfaces:
Graduations
public final class LogarithmicGraduations extends AbstractGraduations implements Graduations
- Author:
- Pierre Lando
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogarithmicGraduationscreate(double lowerBound, boolean lowerBoundIncluded, double upperBound, boolean upperBoundIncluded)static LogarithmicGraduationscreate(double lowerBound, double upperBound)java.util.List<java.lang.Double>getAllValues()Return all values of this graduation.GraduationsgetAlternative()Return a child graduation with more values but less thangetMore()GraduationsgetMore()Return a child graduation with more values.java.util.List<java.lang.Double>getNewValues()Return values not present in parents graduations.intgetSubDensity()Return the density of sub ticks.GraduationsgetSubGraduations()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
-
-
-
-
Method Detail
-
create
public static LogarithmicGraduations create(double lowerBound, double upperBound)
-
create
public static LogarithmicGraduations create(double lowerBound, boolean lowerBoundIncluded, double upperBound, boolean upperBoundIncluded)
-
getAllValues
public java.util.List<java.lang.Double> getAllValues()
Description copied from interface:GraduationsReturn all values of this graduation.- Specified by:
getAllValuesin interfaceGraduations- Returns:
- all values of this graduation.
-
getNewValues
public java.util.List<java.lang.Double> getNewValues()
Description copied from interface:GraduationsReturn values not present in parents graduations.- Specified by:
getNewValuesin interfaceGraduations- Returns:
- values not present in parents graduations.
-
getMore
public Graduations getMore()
Description copied from interface:GraduationsReturn a child graduation with more values.- Specified by:
getMorein interfaceGraduations- Returns:
- a child graduation with more values.
-
getAlternative
public Graduations getAlternative()
Description copied from interface:GraduationsReturn a child graduation with more values but less thangetMore()- Specified by:
getAlternativein interfaceGraduations- Returns:
- a child graduation with more values but less than
getMore()
-
getSubGraduations
public Graduations getSubGraduations()
Description copied from interface:GraduationsReturn a child graduation for sub ticks.- Specified by:
getSubGraduationsin interfaceGraduations- Returns:
- a child graduation for sub ticks.
-
getSubDensity
public int getSubDensity()
Description copied from interface:GraduationsReturn the density of sub ticks.- Specified by:
getSubDensityin interfaceGraduations- Returns:
- the density of sub ticks.
-
-