Klasse NumberRange

java.lang.Object
com.inet.report.chart.axis.NumberRange
Alle implementierten Schnittstellen:
Serializable

public class NumberRange extends Object implements Serializable
Class representing a range of number values.
Seit:
8.0
Siehe auch:
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    Creates a range of the number values.
    NumberRange(double lower, double upper)
    Creates a range for the number values given.
  • Methodenübersicht

    Modifikator und Typ
    Methode
    Beschreibung
    Returns the manually set lower bound of this range.
    Returns the manually set upper bound of this range.
    boolean
    Returns whether or not the range will be defined automatically instead of using the manually set values.
    void
    setAutoRange(boolean autoRange)
    Sets whether or not the range will be defined automatically instead of using the manually set values.
    void
    Manually sets the lower bound of this range.
    void
    Sets the manually set upper bound of this range.

    Von Klasse geerbte Methoden Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • NumberRange

      public NumberRange()
      Creates a range of the number values. The default state of this range is that it is to be generated automatically at run-time.
      Seit:
      8.0
    • NumberRange

      public NumberRange(double lower, double upper)
      Creates a range for the number values given.
      Parameter:
      lower - the lower bound of range
      upper - the upper bound of range
      Löst aus:
      IllegalArgumentException - if the upper value is less than the lower value
      Seit:
      8.0
  • Methodendetails

    • isAutoRange

      public boolean isAutoRange()
      Returns whether or not the range will be defined automatically instead of using the manually set values.
      Gibt zurück:
      the flag.
      Seit:
      8.0
      Siehe auch:
    • setAutoRange

      public void setAutoRange(boolean autoRange)
      Sets whether or not the range will be defined automatically instead of using the manually set values.
      Parameter:
      autoRange - whether the range will be defined automatically
      Seit:
      8.0
      Siehe auch:
    • getLowerBound

      public Double getLowerBound()
      Returns the manually set lower bound of this range. Note that this value will only be used if this range is set to not be automatic, but manual.
      Gibt zurück:
      the lower bound or null if this bound was not set
      Seit:
      8.0
      Siehe auch:
    • setLowerBound

      public void setLowerBound(Double lower)
      Manually sets the lower bound of this range. Note that this value will only be used if this range is set to not be automatic, but manual.
      Parameter:
      lower - the lower bound of this range
      Löst aus:
      IllegalArgumentException - if the parameter is greater than upper bound.
      Seit:
      8.0
      Siehe auch:
    • getUpperBound

      public Double getUpperBound()
      Returns the manually set upper bound of this range. Note that this value will only be used if this range is set to not be automatic, but manual.
      Gibt zurück:
      the upper bound or null if this bound was not set.
      Seit:
      8.0
      Siehe auch:
    • setUpperBound

      public void setUpperBound(Double upper)
      Sets the manually set upper bound of this range. Note that this value will only be used if this range is set to not be automatic, but manual.
      Parameter:
      upper - the upper bound of this range
      Löst aus:
      IllegalArgumentException - if the parameter is less than lower bound.
      Seit:
      8.0
      Siehe auch: