i-net Clear Reports

com.inet.report.chart.axis
Class LineMarker

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

public class LineMarker
extends AbstractMarker

Class to create line markers in a chart plot. A line has one value for the position, and is drawn perpendicular to its axis

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
LineMarker()
          Creates a line marker on the 0 line of current chart axis.
 
Method Summary
protected  java.lang.StringBuffer getSubProperties(int depth)
          Returns the serialized properties of subclasses.
 double getValue()
          Returns the value (position) of this marker.
 void readProperties(org.w3c.dom.Element element)
          Loads the XML properties of a marker.
 void setValue(double value)
          Sets the value (position) for this marker.
 
Methods inherited from class com.inet.report.chart.axis.AbstractMarker
getColor, getLineStyle, getLineWidth, setColor, setLineStyle, setLineWidth
 

Constructor Detail

LineMarker

public LineMarker()
Creates a line marker on the 0 line of current chart axis.

Since:
8.0
Method Detail

getValue

public double getValue()
Returns the value (position) of this marker.

Returns:
the position of this marker
Since:
8.0
See Also:
setValue(double)

setValue

public void setValue(double value)
Sets the value (position) for this marker.

Parameters:
value - the position
Since:
8.0
See Also:
getValue()

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