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()
           Returns or sets chart data cell.
 double getAsLiteralDouble()
           Returns or sets value as literal double.
 java.lang.String getAsLiteralString()
           Returns or sets value as literal string.
 java.lang.Object getData()
          Read/write Object.
 void setAsCell(IChartDataCell value)
           Returns or sets chart data cell.
 void setAsLiteralDouble(double value)
           Returns or sets value as literal double.
 void setAsLiteralString(java.lang.String value)
           Returns or sets value as literal string.
 void setData(java.lang.Object value)
          Read/write Object.
 double toDouble()
           
 
Methods inherited from class com.aspose.slides.BaseChartValue
getDataSourceType, getParent_Immediate, 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()

Returns or sets chart data cell. Read/write IChartDataCell.

Specified by:
getAsCell in interface ISingleCellChartValue

setAsCell

public void setAsCell(IChartDataCell value)

Returns or sets chart data cell. Read/write IChartDataCell.

Specified by:
setAsCell in interface ISingleCellChartValue

getAsLiteralString

public java.lang.String getAsLiteralString()

Returns or sets value as literal string. Read/write String.

Specified by:
getAsLiteralString in interface IStringOrDoubleChartValue

setAsLiteralString

public void setAsLiteralString(java.lang.String value)

Returns or sets value as literal string. Read/write String.

Specified by:
setAsLiteralString in interface IStringOrDoubleChartValue

getAsLiteralDouble

public double getAsLiteralDouble()

Returns or sets value as literal double. Read/write double.

Specified by:
getAsLiteralDouble in interface IStringOrDoubleChartValue

setAsLiteralDouble

public void setAsLiteralDouble(double value)

Returns or sets value as literal double. Read/write double.

Specified by:
setAsLiteralDouble in interface IStringOrDoubleChartValue

getData

public java.lang.Object getData()
Read/write Object.

Specified by:
getData in interface IBaseChartValue

setData

public void setData(java.lang.Object value)
Read/write Object.

Specified by:
setData in interface IBaseChartValue

toDouble

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


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.