Package org.eclipse.birt.chart.event
Class WrappedStructureSource
- java.lang.Object
-
- org.eclipse.birt.chart.event.StructureSource
-
- org.eclipse.birt.chart.event.WrappedStructureSource
-
public class WrappedStructureSource extends StructureSource
This class defines a wrapped structure source object which could have a parent source for all chart events.
-
-
Constructor Summary
Constructors Constructor Description WrappedStructureSource(java.lang.Object source)The constructor.WrappedStructureSource(java.lang.Object source, StructureType type)The constructor.WrappedStructureSource(java.lang.Object parentSource, StructureType parentType, java.lang.Object source, StructureType type)The constructor.WrappedStructureSource(StructureSource parent, java.lang.Object source, StructureType type)The constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StructureSourcecreateAxisLabel(Axis ax, Label lb)Creates a WrappedStructure Source for type Axis Label with an Axis parent.static StructureSourcecreateAxisTitle(Axis ax, Label title)Creates a WrappedStructure Source for type Axis Title with an Axis parent.static StructureSourcecreateLegendEntry(Legend lg, LegendItemHints entry)Creates a WrappedStructure Source for type Legend Entry with a Legend parent.static StructureSourcecreateLegendTitle(Legend lg, Label title)Creates a WrappedStructure Source for type Legend Title with a Legend parent.static StructureSourcecreateSeriesDataElement(Series se, DataPointHints dph)Creates a WrappedStructure Source for type Series Element with a Series parent.static StructureSourcecreateSeriesDataPoint(Series se, DataPointHints dph)Creates a WrappedStructure Source for type Series DataPoint with a Series parent.static StructureSourcecreateSeriesFittingCurve(Series se, CurveFitting cf)Creates a WrappedStructure Source for type Series FittingCurve with a Series parent.static StructureSourcecreateSeriesMarker(Series se, Marker mk)Creates a WrappedStructure Source for type Series Marker with a Series parent.static StructureSourcecreateSeriesTitle(Series se, Label title)Creates a WrappedStructure Source for type Series Title with a Series parent.StructureSourcegetParent()Returns the parent object.-
Methods inherited from class org.eclipse.birt.chart.event.StructureSource
createAxis, createChartBlock, createLegend, createMarkerLine, createMarkerRange, createPlot, createSeries, createTitle, createUnknown, getSource, getType
-
-
-
-
Constructor Detail
-
WrappedStructureSource
public WrappedStructureSource(java.lang.Object source)
The constructor.- Parameters:
source-
-
WrappedStructureSource
public WrappedStructureSource(java.lang.Object source, StructureType type)The constructor.- Parameters:
source-
-
WrappedStructureSource
public WrappedStructureSource(StructureSource parent, java.lang.Object source, StructureType type)
The constructor.- Parameters:
parent-source-
-
WrappedStructureSource
public WrappedStructureSource(java.lang.Object parentSource, StructureType parentType, java.lang.Object source, StructureType type)The constructor.- Parameters:
parentSource-parentType-source-type-
-
-
Method Detail
-
getParent
public StructureSource getParent()
Returns the parent object.- Returns:
-
createLegendTitle
public static StructureSource createLegendTitle(Legend lg, Label title)
Creates a WrappedStructure Source for type Legend Title with a Legend parent.- Parameters:
lg-title-- Returns:
-
createLegendEntry
public static StructureSource createLegendEntry(Legend lg, LegendItemHints entry)
Creates a WrappedStructure Source for type Legend Entry with a Legend parent.- Parameters:
lg-title-- Returns:
-
createAxisTitle
public static StructureSource createAxisTitle(Axis ax, Label title)
Creates a WrappedStructure Source for type Axis Title with an Axis parent.- Parameters:
ax-title-- Returns:
-
createAxisLabel
public static StructureSource createAxisLabel(Axis ax, Label lb)
Creates a WrappedStructure Source for type Axis Label with an Axis parent.- Parameters:
ax-title-- Returns:
-
createSeriesDataPoint
public static StructureSource createSeriesDataPoint(Series se, DataPointHints dph)
Creates a WrappedStructure Source for type Series DataPoint with a Series parent.- Parameters:
se-dph-- Returns:
-
createSeriesDataElement
public static StructureSource createSeriesDataElement(Series se, DataPointHints dph)
Creates a WrappedStructure Source for type Series Element with a Series parent.- Parameters:
se-dph-- Returns:
-
createSeriesTitle
public static StructureSource createSeriesTitle(Series se, Label title)
Creates a WrappedStructure Source for type Series Title with a Series parent.- Parameters:
se-title-- Returns:
-
createSeriesMarker
public static StructureSource createSeriesMarker(Series se, Marker mk)
Creates a WrappedStructure Source for type Series Marker with a Series parent.- Parameters:
se-dph-- Returns:
-
createSeriesFittingCurve
public static StructureSource createSeriesFittingCurve(Series se, CurveFitting cf)
Creates a WrappedStructure Source for type Series FittingCurve with a Series parent.- Parameters:
se-dph-- Returns:
-
-