|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IChartType
IChartType
Field Summary | |
---|---|
static java.lang.String |
THREE_DIMENSION_TYPE
Type constant of 3D. |
static java.lang.String |
TWO_DIMENSION_TYPE
Type constant of 2D. |
static java.lang.String |
TWO_DIMENSION_WITH_DEPTH_TYPE
Type constant of 2D with depth. |
Method Summary | |
---|---|
boolean |
canAdapt(Chart cModel,
java.util.Hashtable htModelHints)
Returns whether this type implementation can process the specified model. |
boolean |
canCombine()
Return true if the type can be used in a combination chart. |
ISelectDataComponent |
getBaseUI(Chart chart,
ISelectDataCustomizeUI selectDataUI,
org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context,
java.lang.String sTitle)
Returns base UI in data sheet |
java.util.Collection<IChartSubType> |
getChartSubtypes(java.lang.String Dimension,
Orientation orientation)
Returns the names of the chart sub-types available for this type. |
java.lang.String |
getDefaultDimension()
Returns the default dimension of this chart type. |
Orientation |
getDefaultOrientation()
Returns the default orientation. |
java.lang.String |
getDisplayName()
Returns the display name of the chart type. |
IHelpContent |
getHelp()
Returns the help information. |
org.eclipse.swt.graphics.Image |
getImage()
Returns the image icon of the chart type. |
Chart |
getModel(java.lang.String sType,
Orientation Orientation,
java.lang.String Dimension,
Chart currentChart)
Returns the Chart model for given parameters. |
java.lang.String |
getName()
Returns the name of the chart type. |
Series |
getSeries()
|
java.lang.String[] |
getSupportedDimensions()
Returns the dimension array this chart type supports. |
boolean |
isDimensionSupported(java.lang.String dimensionType,
org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context,
int nbOfAxes,
int nbOfSeries)
Checks whether the dimension is valid with specified number of axes or series. |
boolean |
supportsTransposition()
Returns if this chart type supports transposition. |
boolean |
supportsTransposition(java.lang.String dimension)
Returns if this chart type supports transposition for given dimension. |
Field Detail |
---|
static final java.lang.String TWO_DIMENSION_TYPE
static final java.lang.String TWO_DIMENSION_WITH_DEPTH_TYPE
static final java.lang.String THREE_DIMENSION_TYPE
Method Detail |
---|
java.lang.String getName()
java.lang.String getDisplayName()
org.eclipse.swt.graphics.Image getImage()
java.util.Collection<IChartSubType> getChartSubtypes(java.lang.String Dimension, Orientation orientation)
boolean canAdapt(Chart cModel, java.util.Hashtable htModelHints)
cModel
- chart model representing an existing charthtModelHints
- pre-computed 'hints' from the model to reduce computations
needed to be performed by each implementation.
Chart getModel(java.lang.String sType, Orientation Orientation, java.lang.String Dimension, Chart currentChart)
sType
- Orientation
- Dimension
- currentChart
- java.lang.String[] getSupportedDimensions()
java.lang.String getDefaultDimension()
boolean supportsTransposition()
boolean supportsTransposition(java.lang.String dimension)
Orientation getDefaultOrientation()
IHelpContent getHelp()
ISelectDataComponent getBaseUI(Chart chart, ISelectDataCustomizeUI selectDataUI, org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context, java.lang.String sTitle)
chart
- selectDataUI
- context
- sTitle
-
boolean isDimensionSupported(java.lang.String dimensionType, org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context, int nbOfAxes, int nbOfSeries)
dimensionType
- dimension typenbOfAxes
- number of axesnbOfSeries
- number of series
Series getSeries()
boolean canCombine()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |