org.scilab.forge.scirenderer.ruler.graduations
Class LogarithmicGraduations

java.lang.Object
  extended by org.scilab.forge.scirenderer.ruler.graduations.AbstractGraduations
      extended by org.scilab.forge.scirenderer.ruler.graduations.LogarithmicGraduations
All Implemented Interfaces:
Graduations

public final class LogarithmicGraduations
extends AbstractGraduations
implements Graduations

Author:
Pierre Lando

Method Summary
static LogarithmicGraduations create(double lowerBound, boolean lowerBoundIncluded, double upperBound, boolean upperBoundIncluded)
           
static LogarithmicGraduations create(double lowerBound, double upperBound)
           
 java.util.List<java.lang.Double> getAllValues()
          Return all values of this graduation.
 Graduations getAlternative()
          Return a child graduation with more values but less than getMore()
 Graduations 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
 

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: Graduations
Return all values of this graduation.

Specified by:
getAllValues in interface Graduations
Returns:
all values of this graduation.

getNewValues

public java.util.List<java.lang.Double> getNewValues()
Description copied from interface: Graduations
Return values not present in parents graduations.

Specified by:
getNewValues in interface Graduations
Returns:
values not present in parents graduations.

getMore

public Graduations getMore()
Description copied from interface: Graduations
Return a child graduation with more values.

Specified by:
getMore in interface Graduations
Returns:
a child graduation with more values.

getAlternative

public Graduations getAlternative()
Description copied from interface: Graduations
Return a child graduation with more values but less than getMore()

Specified by:
getAlternative in interface Graduations
Returns:
a child graduation with more values but less than getMore()

getSubGraduations

public Graduations getSubGraduations()
Description copied from interface: Graduations
Return a child graduation for sub ticks.

Specified by:
getSubGraduations in interface Graduations
Returns:
a child graduation for sub ticks.

getSubDensity

public int getSubDensity()
Description copied from interface: Graduations
Return the density of sub ticks.

Specified by:
getSubDensity in interface Graduations
Returns:
the density of sub ticks.