Package org.eclipse.birt.chart.event
Class WrappedStructureSource
java.lang.Object
org.eclipse.birt.chart.event.StructureSource
org.eclipse.birt.chart.event.WrappedStructureSource
This class defines a wrapped structure source object which could have a
parent source for all chart events.
-
Constructor Summary
ConstructorsConstructorDescriptionWrappedStructureSource(Object source) The constructor.WrappedStructureSource(Object source, StructureType type) The constructor.WrappedStructureSource(Object parentSource, StructureType parentType, Object source, StructureType type) The constructor.WrappedStructureSource(StructureSource parent, Object source, StructureType type) The constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 StructureSourceCreates 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.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 Details
-
WrappedStructureSource
The constructor.- Parameters:
source-
-
WrappedStructureSource
The constructor.- Parameters:
source-
-
WrappedStructureSource
The constructor.- Parameters:
parent-source-
-
WrappedStructureSource
public WrappedStructureSource(Object parentSource, StructureType parentType, Object source, StructureType type) The constructor.- Parameters:
parentSource-parentType-source-type-
-
-
Method Details
-
getParent
Returns the parent object.- Returns:
-
createLegendTitle
Creates a WrappedStructure Source for type Legend Title with a Legend parent.- Parameters:
lg-title-- Returns:
-
createLegendEntry
Creates a WrappedStructure Source for type Legend Entry with a Legend parent.- Parameters:
lg-title-- Returns:
-
createAxisTitle
Creates a WrappedStructure Source for type Axis Title with an Axis parent.- Parameters:
ax-title-- Returns:
-
createAxisLabel
Creates a WrappedStructure Source for type Axis Label with an Axis parent.- Parameters:
ax-title-- Returns:
-
createSeriesDataPoint
Creates a WrappedStructure Source for type Series DataPoint with a Series parent.- Parameters:
se-dph-- Returns:
-
createSeriesDataElement
Creates a WrappedStructure Source for type Series Element with a Series parent.- Parameters:
se-dph-- Returns:
-
createSeriesTitle
Creates a WrappedStructure Source for type Series Title with a Series parent.- Parameters:
se-title-- Returns:
-
createSeriesMarker
Creates a WrappedStructure Source for type Series Marker with a Series parent.- Parameters:
se-dph-- Returns:
-
createSeriesFittingCurve
Creates a WrappedStructure Source for type Series FittingCurve with a Series parent.- Parameters:
se-dph-- Returns:
-