Klasse AbstractMarker
java.lang.Object
com.inet.report.chart.axis.AbstractMarker
- Alle implementierten Schnittstellen:
Serializable
- Bekannte direkte Unterklassen:
IntervalMarker, LineMarker
Basic class to create markers in a chart plot.
- Seit:
- 8.0
- Siehe auch:
-
Feldübersicht
FelderModifikator und TypFeldBeschreibungstatic final floatDefault alpha transparency value of the marker.static final intDefault line marker color (a ABGR value representation).static final intDefault line style of the marker.static final intDefault line width of the marker.static final doubleDefault value. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungintgetColor()Returns the color of the line or area of this marker.intReturns the marker's line style.intReturns the line width in twips.static List<FormulaField> getMarkerReferencesIfExist(com.inet.report.chart.axis.MarkerAxis... axis) Get all references to FormulaFields for all given Marker-Axis.protected StringBuildergetSubProperties(int depth) Returns the serialized properties of subclasses.voidreadProperties(Element element, Chart2 chart) Loads the XML properties of a marker.voidsetColor(int markerColor) Sets the color of the line or area of this marker.voidsetLineStyle(int lineStyle) Sets the marker's line style.voidsetLineWidth(int lineWidth) Sets the marker line width in twips.
-
Felddetails
-
DEFAULT_COLOR
public static final int DEFAULT_COLORDefault line marker color (a ABGR value representation).- Siehe auch:
-
DEFAULT_LINE_STYLE
public static final int DEFAULT_LINE_STYLEDefault line style of the marker.- Siehe auch:
-
DEFAULT_LINE_WIDTH
public static final int DEFAULT_LINE_WIDTHDefault line width of the marker.- Siehe auch:
-
DEFAULT_ALPHA
public static final float DEFAULT_ALPHADefault alpha transparency value of the marker.- Siehe auch:
-
DEFAULT_VALUE
public static final double DEFAULT_VALUEDefault value. This value has a marker without initializing the value property.- Siehe auch:
-
-
Konstruktordetails
-
AbstractMarker
protected AbstractMarker()Protected constructor.- Seit:
- 8.0
-
-
Methodendetails
-
getColor
public int getColor()Returns the color of the line or area of this marker.- Gibt zurück:
- the ABGR value representing the marker color
- Seit:
- 8.0
- Siehe auch:
-
setColor
public void setColor(int markerColor) Sets the color of the line or area of this marker.- Parameter:
markerColor- the ABGR value representing the marker color- Löst aus:
IllegalArgumentException- if the color isRDC.COLOR_NO_COLOR.- Seit:
- 8.0
- Siehe auch:
-
getLineStyle
public int getLineStyle()Returns the marker's line style. Has no effect by a interval marker.- Gibt zurück:
- the line style of the marker
- Seit:
- 8.0
- Siehe auch:
-
setLineStyle
public void setLineStyle(int lineStyle) Sets the marker's line style. Has no effect by a interval marker.- Parameter:
lineStyle- the line style of the marker- Löst aus:
IllegalArgumentException- by unsupported line style.- Seit:
- 8.0
- Siehe auch:
-
getLineWidth
public int getLineWidth()Returns the line width in twips.- Gibt zurück:
- the line width.
- Seit:
- 8.0
- Siehe auch:
-
setLineWidth
public void setLineWidth(int lineWidth) Sets the marker line width in twips.- Parameter:
lineWidth- the line width- Löst aus:
IllegalArgumentException- if width is less than 1.- Seit:
- 8.0
- Siehe auch:
-
getSubProperties
Returns the serialized properties of subclasses.- Parameter:
depth- the depth of XML indent- Gibt zurück:
- the properties.
- Seit:
- 8.0
-
readProperties
-
getMarkerReferencesIfExist
public static List<FormulaField> getMarkerReferencesIfExist(com.inet.report.chart.axis.MarkerAxis... axis) Get all references to FormulaFields for all given Marker-Axis.- Parameter:
axis- all axis to get referenced FormulaFields for- Gibt zurück:
- a list with references fields, not null.
- Seit:
- 11.2
-