|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.inet.report.chart.axis.AbstractMarker
public abstract class AbstractMarker
Basic class to create markers in a chart plot.
LineMarker,
IntervalMarker,
Serialized Form| Field Summary | |
|---|---|
static float |
DEFAULT_ALPHA
Default alpha transparency value of the marker. |
static int |
DEFAULT_COLOR
Default line marker color (a ABGR value representation). |
static int |
DEFAULT_LINE_STYLE
Default line style of the marker. |
static int |
DEFAULT_LINE_WIDTH
Default line width of the marker. |
static double |
DEFAULT_VALUE
Default value. |
| Constructor Summary | |
|---|---|
protected |
AbstractMarker()
Protected constructor. |
| Method Summary | |
|---|---|
int |
getColor()
Returns the color of the line or area of this marker. |
int |
getLineStyle()
Returns the marker's line style. |
int |
getLineWidth()
Returns the line width in twips. |
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 |
setColor(int markerColor)
Sets the color of the line or area of this marker. |
void |
setLineStyle(int lineStyle)
Sets the marker's line style. |
void |
setLineWidth(int lineWidth)
Sets the marker line width in twips. |
| Field Detail |
|---|
public static final int DEFAULT_COLOR
public static final int DEFAULT_LINE_STYLE
public static final int DEFAULT_LINE_WIDTH
public static final float DEFAULT_ALPHA
public static final double DEFAULT_VALUE
| Constructor Detail |
|---|
protected AbstractMarker()
| Method Detail |
|---|
public int getColor()
setColor(int),
RDC.toJavaColor(int)public void setColor(int markerColor)
markerColor - the ABGR value representing the marker color
java.lang.IllegalArgumentException - if the color is RDC.COLOR_NO_COLOR.getColor(),
RDC.toCcColor(Color)public int getLineStyle()
setLineStyle(int),
BorderProperties.LINE_STYLE_DASHED,
BorderProperties.LINE_STYLE_DOTTED,
BorderProperties.LINE_STYLE_SINGLE,
BorderProperties.NO_LINE,
DEFAULT_LINE_STYLEpublic void setLineStyle(int lineStyle)
lineStyle - the line style of the marker
java.lang.IllegalArgumentException - by unsupported line style.getLineStyle(),
BorderProperties.LINE_STYLE_DASHED,
BorderProperties.LINE_STYLE_DOTTED,
BorderProperties.LINE_STYLE_SINGLE,
BorderProperties.NO_LINE,
DEFAULT_LINE_STYLEpublic int getLineWidth()
setLineWidth(int)public void setLineWidth(int lineWidth)
lineWidth - the line width
java.lang.IllegalArgumentException - if width is less than 1.getLineWidth(),
DEFAULT_LINE_WIDTHprotected java.lang.StringBuffer getSubProperties(int depth)
depth - the depth of XML indent
public void readProperties(org.w3c.dom.Element element)
element - DOM element to read marker properties from
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||