i-net Clear Reports

com.inet.report.chart.axis
Class IntervalMarker

java.lang.Object
  extended by com.inet.report.chart.axis.AbstractMarker
      extended by com.inet.report.chart.axis.IntervalMarker
All Implemented Interfaces:
java.io.Serializable

public class IntervalMarker
extends AbstractMarker

Class to create interval markers in a chart plot. An interval marker has two values, a start and an end value.

Since:
8.0
See Also:
AbstractMarker, Serialized Form

Field Summary
 
Fields inherited from class com.inet.report.chart.axis.AbstractMarker
DEFAULT_ALPHA, DEFAULT_COLOR, DEFAULT_LINE_STYLE, DEFAULT_LINE_WIDTH, DEFAULT_VALUE
 
Constructor Summary
IntervalMarker()
          Creates a marker area with two values: the first (start value) and the second (end value).
 
Method Summary
 double getFirstValue()
          Returns the first value (lower bound) of this marker.
 double getSecondValue()
          Returns the end value (upper bound) of this marker.
protected  java.lang.StringBuffer getSubProperties(int depth)
          Returns the serialized properties of subclasses.
 void readProperties(org.w3c.dom.Element element)
          Loads the XML properties of a marker.
 void setFirstValue(double firstValue)
          Sets the start value (lower bound) of this marker.
 void setSecondValue(double secondValue)
          Sets the end value (upper bound) of this marker.
 
Methods inherited from class com.inet.report.chart.axis.AbstractMarker
getColor, getLineStyle, getLineWidth, setColor, setLineStyle, setLineWidth
 

Constructor Detail

IntervalMarker

public IntervalMarker()
Creates a marker area with two values: the first (start value) and the second (end value). These are initialized as 0.

Since:
8.0
Method Detail

getFirstValue

public double getFirstValue()
Returns the first value (lower bound) of this marker.

Returns:
the firstValue.
Since:
8.0

setFirstValue

public void setFirstValue(double firstValue)
Sets the start value (lower bound) of this marker.

Parameters:
firstValue - the start value
Since:
8.0
See Also:
getFirstValue(), setSecondValue(double)

getSecondValue

public double getSecondValue()
Returns the end value (upper bound) of this marker.

Returns:
the end Value.
Since:
8.0

setSecondValue

public void setSecondValue(double secondValue)
Sets the end value (upper bound) of this marker.

Parameters:
secondValue - the end value
Since:
8.0
See Also:
getSecondValue(), setFirstValue(double)

getSubProperties

protected java.lang.StringBuffer getSubProperties(int depth)
Returns the serialized properties of subclasses.

Overrides:
getSubProperties in class AbstractMarker
Parameters:
depth - the depth of XML indent
Returns:
the properties.

readProperties

public void readProperties(org.w3c.dom.Element element)
Loads the XML properties of a marker.

Overrides:
readProperties in class AbstractMarker
Parameters:
element - DOM element to read marker properties from

i-net Clear Reports

Copyright © 1999-2011 by i-net software GmbH