org.eclipse.birt.chart.datafeed
Class AbstractDataPointDefinition

java.lang.Object
  extended by org.eclipse.birt.chart.datafeed.AbstractDataPointDefinition
All Implemented Interfaces:
IDataPointDefinition

public abstract class AbstractDataPointDefinition
extends java.lang.Object
implements IDataPointDefinition

The abstract class implements an adapter for subclass.


Constructor Summary
AbstractDataPointDefinition()
           
 
Method Summary
 int getCompatibleDataType(java.lang.String type)
          Check if data type of specified component type is any.
 java.lang.String[] getDataPointTypes()
          Creates and returns a data types array.
 java.lang.String getDisplayText(java.lang.String type)
          Returns the externalized text for display
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDataPointDefinition

public AbstractDataPointDefinition()
Method Detail

getDataPointTypes

public java.lang.String[] getDataPointTypes()
Description copied from interface: IDataPointDefinition
Creates and returns a data types array.

Specified by:
getDataPointTypes in interface IDataPointDefinition
Returns:
data types

getDisplayText

public java.lang.String getDisplayText(java.lang.String type)
Description copied from interface: IDataPointDefinition
Returns the externalized text for display

Specified by:
getDisplayText in interface IDataPointDefinition
Parameters:
type - data type
Returns:
display text

getCompatibleDataType

public int getCompatibleDataType(java.lang.String type)
Description copied from interface: IDataPointDefinition
Check if data type of specified component type is any.

Specified by:
getCompatibleDataType in interface IDataPointDefinition
Parameters:
type - component type
Returns:
the compatible data types, it's a combination of (IConstants.NUMERICAL, IConstants.TEXT and IConstants.DATE_TIME).


Copyright © 2005-2008 Actuate Corp. All rights reserved.