|
||||||||||
| 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
| Field Summary | |
|---|---|
protected boolean |
isLowerBoundIncluded
|
protected boolean |
isUpperBoundIncluded
|
protected double |
lowerBound
|
protected double |
upperBound
|
| Constructor Summary | |
|---|---|
AbstractGraduations(double lowerBound,
boolean lowerBoundIncluded,
double upperBound,
boolean upperBoundIncluded)
|
|
AbstractGraduations(double lowerBound,
double upperBound)
|
|
AbstractGraduations(Graduations parentGraduations)
|
|
AbstractGraduations(Graduations parentGraduations,
double lowerBound,
boolean lowerBoundIncluded,
double upperBound,
boolean upperBoundIncluded)
|
|
| 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 |
| Field Detail |
|---|
protected final boolean isLowerBoundIncluded
protected final boolean isUpperBoundIncluded
protected final double lowerBound
protected final double upperBound
| Constructor Detail |
|---|
public AbstractGraduations(Graduations parentGraduations)
public AbstractGraduations(double lowerBound,
boolean lowerBoundIncluded,
double upperBound,
boolean upperBoundIncluded)
public AbstractGraduations(double lowerBound,
double upperBound)
public AbstractGraduations(Graduations parentGraduations,
double lowerBound,
boolean lowerBoundIncluded,
double upperBound,
boolean upperBoundIncluded)
| Method Detail |
|---|
public double getLowerBound()
Graduations
getLowerBound in interface Graduationspublic boolean isLowerBoundIncluded()
Graduations
isLowerBoundIncluded in interface Graduationspublic double getUpperBound()
Graduations
getUpperBound in interface Graduationspublic boolean isUpperBoundIncluded()
Graduations
isUpperBoundIncluded in interface Graduationspublic Graduations getParentGraduations()
Graduations
getParentGraduations in interface Graduationspublic boolean contain(double value)
Graduations
contain in interface Graduationsvalue - the given value.
public java.text.DecimalFormat getFormat()
Graduations
getFormat in interface Graduationspublic 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 | |||||||||