|
|||||||||
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(org.eclipse.birt.chart.model.Chart cModel,
java.util.Hashtable htModelHints)
Deprecated. do not use any more |
boolean |
canCombine()
Return true if the type can be used in a combination chart. |
boolean |
canExpand()
Returns true if current chart type can expand according to the category number. |
ISelectDataComponent |
getBaseUI(org.eclipse.birt.chart.model.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,
org.eclipse.birt.chart.model.attribute.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. |
org.eclipse.birt.chart.model.attribute.Orientation |
getDefaultOrientation()
Returns the default orientation. |
java.lang.String |
getDefaultTitle()
Return the default chart title. |
java.lang.String |
getDisplayName()
Returns the display name of the chart type. |
IHelpContent |
getHelp()
Deprecated. do not use any more |
org.eclipse.swt.graphics.Image |
getImage()
Returns the image icon of the chart type. |
org.eclipse.birt.chart.model.Chart |
getModel(java.lang.String sType,
org.eclipse.birt.chart.model.attribute.Orientation Orientation,
java.lang.String Dimension,
org.eclipse.birt.chart.model.Chart currentChart)
Returns the Chart model for given parameters. |
java.lang.String |
getName()
Returns the name of the chart type. |
org.eclipse.birt.chart.model.component.Series |
getSeries()
Creates the corresponding series model. |
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, org.eclipse.birt.chart.model.attribute.Orientation orientation)
boolean canAdapt(org.eclipse.birt.chart.model.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.
org.eclipse.birt.chart.model.Chart getModel(java.lang.String sType, org.eclipse.birt.chart.model.attribute.Orientation Orientation, java.lang.String Dimension, org.eclipse.birt.chart.model.Chart currentChart)
sType
- Orientation
- Dimension
- currentChart
- java.lang.String[] getSupportedDimensions()
java.lang.String getDefaultDimension()
boolean supportsTransposition()
boolean supportsTransposition(java.lang.String dimension)
org.eclipse.birt.chart.model.attribute.Orientation getDefaultOrientation()
IHelpContent getHelp()
ISelectDataComponent getBaseUI(org.eclipse.birt.chart.model.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
org.eclipse.birt.chart.model.component.Series getSeries()
boolean canCombine()
java.lang.String getDefaultTitle()
boolean canExpand()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |