Package org.eclipse.birt.chart.event
Class StructureSource
- java.lang.Object
-
- org.eclipse.birt.chart.event.StructureSource
-
- Direct Known Subclasses:
WrappedStructureSource
public class StructureSource extends java.lang.ObjectThis class defines a structure source object for all chart events.
-
-
Constructor Summary
Constructors Constructor Description StructureSource(java.lang.Object source)The constructor.StructureSource(java.lang.Object source, StructureType type)The constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StructureSourcecreateAxis(Axis ax)Creates a Structure Source for type Axis.static StructureSourcecreateChartBlock(Block block)Creates a Structure Source for type Chart Block.static StructureSourcecreateLegend(Legend lg)Creates a Structure Source for type Legend.static StructureSourcecreateMarkerLine(MarkerLine ml)Creates a Structure Source for type MarkerLine.static StructureSourcecreateMarkerRange(MarkerRange mr)Creates a Structure Source for type MarkerRange.static StructureSourcecreatePlot(Plot pt)Creates a Structure Source for type Plot.static StructureSourcecreateSeries(Series se)Creates a Structure Source for type Series.static StructureSourcecreateTitle(TitleBlock tb)Creates a Structure Source for type Title.static StructureSourcecreateUnknown(org.eclipse.emf.ecore.EObject o)Creates a Structure Source for type Unknown.java.lang.ObjectgetSource()Returns the source object.StructureTypegetType()Returns the source type.
-
-
-
Constructor Detail
-
StructureSource
public StructureSource(java.lang.Object source)
The constructor.- Parameters:
source-
-
StructureSource
public StructureSource(java.lang.Object source, StructureType type)The constructor.- Parameters:
source-
-
-
Method Detail
-
getSource
public java.lang.Object getSource()
Returns the source object.- Returns:
-
getType
public StructureType getType()
Returns the source type.- Returns:
-
createSeries
public static StructureSource createSeries(Series se)
Creates a Structure Source for type Series.- Parameters:
se-- Returns:
-
createPlot
public static StructureSource createPlot(Plot pt)
Creates a Structure Source for type Plot.- Parameters:
pt-- Returns:
-
createTitle
public static StructureSource createTitle(TitleBlock tb)
Creates a Structure Source for type Title.- Parameters:
pt-- Returns:
-
createChartBlock
public static StructureSource createChartBlock(Block block)
Creates a Structure Source for type Chart Block.- Parameters:
pt-- Returns:
-
createUnknown
public static StructureSource createUnknown(org.eclipse.emf.ecore.EObject o)
Creates a Structure Source for type Unknown.- Parameters:
o-- Returns:
-
createAxis
public static StructureSource createAxis(Axis ax)
Creates a Structure Source for type Axis.- Parameters:
ax-- Returns:
-
createLegend
public static StructureSource createLegend(Legend lg)
Creates a Structure Source for type Legend.- Parameters:
lg-- Returns:
-
createMarkerLine
public static StructureSource createMarkerLine(MarkerLine ml)
Creates a Structure Source for type MarkerLine.- Parameters:
ml-- Returns:
-
createMarkerRange
public static StructureSource createMarkerRange(MarkerRange mr)
Creates a Structure Source for type MarkerRange.- Parameters:
ml-- Returns:
-
-