|
||||||||||
| 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
public abstract class AbstractGraduations
| Constructor Summary | |
|---|---|
AbstractGraduations(double lowerBound,
boolean lowerBoundIncluded,
double upperBound,
boolean upperBoundIncluded)
Root constructor. |
|
AbstractGraduations(double lowerBound,
double upperBound)
Root constructor. |
|
AbstractGraduations(Graduations parentGraduations)
Constructor from parent graduations. |
|
AbstractGraduations(Graduations parentGraduations,
double lowerBound,
boolean lowerBoundIncluded,
double upperBound,
boolean upperBoundIncluded)
Child constructor. |
|
| Method Summary | |
|---|---|
boolean |
contain(double value)
Return true if the interval contain the given value. |
java.text.DecimalFormat |
getFormat()
Return an adapted number format. |
double |
getLowerBound()
Return the lower bound. |
Graduations |
getParentGraduations()
Return the parent graduation. |
double |
getUpperBound()
Return the upper bound. |
boolean |
isLowerBoundIncluded()
Return true if the lower bound is included. |
boolean |
isUpperBoundIncluded()
Return true if the lower bound is included. |
java.lang.String |
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 |
|---|
getAllValues, getAlternative, getMore, getNewValues, getSubDensity, getSubGraduations |
| Constructor Detail |
|---|
public AbstractGraduations(Graduations parentGraduations)
Graduations and set it as is parent.
parentGraduations - the parent graduations to copy.
public AbstractGraduations(double lowerBound,
boolean lowerBoundIncluded,
double upperBound,
boolean upperBoundIncluded)
lowerBound - the actual lower bounds.lowerBoundIncluded - the actual lower bounds included status.upperBound - the actual upper bounds.upperBoundIncluded - the actual upper bounds included status.
public AbstractGraduations(double lowerBound,
double upperBound)
lowerBound - the actual lower bounds included status.upperBound - the actual upper bounds included status.
public AbstractGraduations(Graduations parentGraduations,
double lowerBound,
boolean lowerBoundIncluded,
double upperBound,
boolean upperBoundIncluded)
parentGraduations - the parent graduation.lowerBound - the actual lower bounds.lowerBoundIncluded - the actual lower bounds included status.upperBound - the actual upper bounds.upperBoundIncluded - the actual upper bounds included status.| Method Detail |
|---|
public final double getLowerBound()
Graduations
getLowerBound in interface Graduationspublic final boolean isLowerBoundIncluded()
Graduations
isLowerBoundIncluded in interface Graduationspublic final double getUpperBound()
Graduations
getUpperBound in interface Graduationspublic final boolean isUpperBoundIncluded()
Graduations
isUpperBoundIncluded in interface Graduationspublic final Graduations getParentGraduations()
Graduations
getParentGraduations in interface Graduationspublic final boolean contain(double value)
Graduations
contain in interface Graduationsvalue - the given value.
public final java.text.DecimalFormat getFormat()
Graduations
getFormat in interface Graduationspublic final java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||