com.aspose.slides
Class StringOrDoubleChartValue

java.lang.Object
  extended by com.aspose.slides.BaseChartValue
      extended by com.aspose.slides.StringOrDoubleChartValue
All Implemented Interfaces:
IBaseChartValue, ISingleCellChartValue, IStringOrDoubleChartValue

public class StringOrDoubleChartValue
extends BaseChartValue
implements IStringOrDoubleChartValue

Represent string or double value which can be stored in pptx presentation document in two ways: 1) in cell/cells of workbook related to chart; 2) as literal value.


Method Summary
 IChartDataCell getAsCell()
           
 double getAsLiteralDouble()
           
 java.lang.String getAsLiteralString()
           
 java.lang.Object getData()
           
 void setAsCell(IChartDataCell value)
           
 void setAsLiteralDouble(double value)
           
 void setAsLiteralString(java.lang.String value)
           
 void setData(java.lang.Object value)
           
 double toDouble()
           
 
Methods inherited from class com.aspose.slides.BaseChartValue
getDataSourceType, setDataSourceType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.aspose.slides.IBaseChartValue
getDataSourceType, setDataSourceType
 

Method Detail

getAsCell

public IChartDataCell getAsCell()
Specified by:
getAsCell in interface ISingleCellChartValue

setAsCell

public void setAsCell(IChartDataCell value)
Specified by:
setAsCell in interface ISingleCellChartValue

getAsLiteralString

public java.lang.String getAsLiteralString()
Specified by:
getAsLiteralString in interface IStringOrDoubleChartValue

setAsLiteralString

public void setAsLiteralString(java.lang.String value)
Specified by:
setAsLiteralString in interface IStringOrDoubleChartValue

getAsLiteralDouble

public double getAsLiteralDouble()
Specified by:
getAsLiteralDouble in interface IStringOrDoubleChartValue

setAsLiteralDouble

public void setAsLiteralDouble(double value)
Specified by:
setAsLiteralDouble in interface IStringOrDoubleChartValue

getData

public java.lang.Object getData()
Specified by:
getData in interface IBaseChartValue
Specified by:
getData in class BaseChartValue

setData

public void setData(java.lang.Object value)
Specified by:
setData in interface IBaseChartValue
Specified by:
setData in class BaseChartValue

toDouble

public double toDouble()
Specified by:
toDouble in interface IStringOrDoubleChartValue