Package org.eclipse.birt.chart.event
Class StructureSource
java.lang.Object
org.eclipse.birt.chart.event.StructureSource
- Direct Known Subclasses:
WrappedStructureSource
This class defines a structure source object for all chart events.
-
Constructor Summary
ConstructorsConstructorDescriptionStructureSource
(Object source) The constructor.StructureSource
(Object source, StructureType type) The constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic StructureSource
createAxis
(Axis ax) Creates a Structure Source for type Axis.static StructureSource
createChartBlock
(Block block) Creates a Structure Source for type Chart Block.static StructureSource
createLegend
(Legend lg) Creates a Structure Source for type Legend.static StructureSource
Creates a Structure Source for type MarkerLine.static StructureSource
Creates a Structure Source for type MarkerRange.static StructureSource
createPlot
(Plot pt) Creates a Structure Source for type Plot.static StructureSource
createSeries
(Series se) Creates a Structure Source for type Series.static StructureSource
Creates a Structure Source for type Title.static StructureSource
createUnknown
(org.eclipse.emf.ecore.EObject o) Creates a Structure Source for type Unknown.Returns the source object.getType()
Returns the source type.
-
Constructor Details
-
StructureSource
The constructor.- Parameters:
source
-
-
StructureSource
The constructor.- Parameters:
source
-
-
-
Method Details
-
getSource
Returns the source object.- Returns:
-
getType
Returns the source type.- Returns:
-
createSeries
Creates a Structure Source for type Series.- Parameters:
se
-- Returns:
-
createPlot
Creates a Structure Source for type Plot.- Parameters:
pt
-- Returns:
-
createTitle
Creates a Structure Source for type Title.- Parameters:
pt
-- Returns:
-
createChartBlock
Creates a Structure Source for type Chart Block.- Parameters:
pt
-- Returns:
-
createUnknown
Creates a Structure Source for type Unknown.- Parameters:
o
-- Returns:
-
createAxis
Creates a Structure Source for type Axis.- Parameters:
ax
-- Returns:
-
createLegend
Creates a Structure Source for type Legend.- Parameters:
lg
-- Returns:
-
createMarkerLine
Creates a Structure Source for type MarkerLine.- Parameters:
ml
-- Returns:
-
createMarkerRange
Creates a Structure Source for type MarkerRange.- Parameters:
ml
-- Returns:
-