Package org.eclipse.birt.chart.datafeed
Class AbstractDataPointDefinition
java.lang.Object
org.eclipse.birt.chart.datafeed.AbstractDataPointDefinition
- All Implemented Interfaces:
IDataPointDefinition
The abstract class implements an adapter for subclass.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getCompatibleDataType
(String type) Check if data type of specified component type is any.String[]
Creates and returns a data types array.getDisplayText
(String type) Returns the externalized text for display
-
Constructor Details
-
AbstractDataPointDefinition
public AbstractDataPointDefinition()
-
-
Method Details
-
getDataPointTypes
Description copied from interface:IDataPointDefinition
Creates and returns a data types array.- Specified by:
getDataPointTypes
in interfaceIDataPointDefinition
- Returns:
- data types
-
getDisplayText
Description copied from interface:IDataPointDefinition
Returns the externalized text for display- Specified by:
getDisplayText
in interfaceIDataPointDefinition
- Parameters:
type
- data type- Returns:
- display text
-
getCompatibleDataType
Description copied from interface:IDataPointDefinition
Check if data type of specified component type is any.- Specified by:
getCompatibleDataType
in interfaceIDataPointDefinition
- Parameters:
type
- component type- Returns:
- the compatible data types, it's a combination of (IConstants.NUMERICAL, IConstants.TEXT and IConstants.DATE_TIME).
-