com.aspose.slides
Class DataLabelsEx

java.lang.Object
  extended by com.aspose.slides.DataLabelsEx
All Implemented Interfaces:
com.aspose.ms.System.Collections.IEnumerable, java.lang.Iterable

public class DataLabelsEx
extends java.lang.Object
implements com.aspose.ms.System.Collections.IEnumerable

Represents a series labels.


Method Summary
 int add(DataLabelEx value)
           Adds the new DataLabel at the end of a collection.
 DataLabelEx get_Item(int index)
           Gets the element at the specified index.
 int getCount()
           Gets the number of elements actually contained in the collection.
 boolean getDelete()
           Returns or sets delete flag.
 FormatEx getFormat()
           Represents the format of the data labels.
 boolean getLinkedSource()
           Gets and sets a reference to the worksheet
 java.lang.String getNumberFormat()
           Represents the format string for the DataLabels object.
 int getPosition()
           Represents the position of the data lable.
 java.lang.String getSeparator()
           Sets or returns a Variant representing the separator used for the data labels on a chart.
 boolean getShowBubbleSize()
           Represents a specified chart's data label bubble size value display behavior.
 boolean getShowCategoryName()
           Represents a specified chart's data label category name display behavior.True to display the category name for the data labels on a chart.
 boolean getShowLeaderLines()
           Represents a specified chart's data label leader line display behavior.
 boolean getShowLegendKey()
           Represents a specified chart's data label legend key display behavior.
 boolean getShowPercentage()
           Represents a specified chart's data label percentage value display behavior.
 boolean getShowSeriesName()
           Returns or sets a Boolean to indicate the series name display behavior for the data labels on a chart.
 boolean getShowValue()
           Represents a specified chart's data label percentage value display behavior.
 TextFrameEx getTextProperties()
           Returns a text properties of this data labels Readonly TextFrameEx.
 int indexOf(DataLabelEx value)
           Returns an index of the specified DataLabel in the collection.
 com.aspose.ms.System.Collections.IEnumerator iterator()
           Returns an enumerator for the entire collection.
 void remove(DataLabelEx value)
           Removes the first occurrence of a specific object from the collection.
 void setDelete(boolean value)
           
 void setFormat(FormatEx value)
           
 void setLinkedSource(boolean value)
           
 void setNumberFormat(java.lang.String value)
           
 void setPosition(int value)
           
 void setSeparator(java.lang.String value)
           
 void setShowBubbleSize(boolean value)
           
 void setShowCategoryName(boolean value)
           
 void setShowLeaderLines(boolean value)
           
 void setShowLegendKey(boolean value)
           
 void setShowPercentage(boolean value)
           
 void setShowSeriesName(boolean value)
           
 void setShowValue(boolean value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNumberFormat

public java.lang.String getNumberFormat()

Represents the format string for the DataLabels object. Read/write string.


setNumberFormat

public void setNumberFormat(java.lang.String value)

getLinkedSource

public boolean getLinkedSource()

Gets and sets a reference to the worksheet


setLinkedSource

public void setLinkedSource(boolean value)

getDelete

public boolean getDelete()

Returns or sets delete flag. True means that data labels was removed by user but preserved in file.


setDelete

public void setDelete(boolean value)

getTextProperties

public TextFrameEx getTextProperties()

Returns a text properties of this data labels Readonly TextFrameEx.


getFormat

public FormatEx getFormat()

Represents the format of the data labels. Read/write FormatEx.


setFormat

public void setFormat(FormatEx value)

getPosition

public int getPosition()

Represents the position of the data lable. Read/write LegendDataLabelPositionEx.


setPosition

public void setPosition(int value)

getShowLegendKey

public boolean getShowLegendKey()

Represents a specified chart's data label legend key display behavior. True if the data label legend key is visible. Read/write bool.


setShowLegendKey

public void setShowLegendKey(boolean value)

getShowLeaderLines

public boolean getShowLeaderLines()

Represents a specified chart's data label leader line display behavior. True if the data label leader line is visible. Read/write bool.


setShowLeaderLines

public void setShowLeaderLines(boolean value)

getShowCategoryName

public boolean getShowCategoryName()

Represents a specified chart's data label category name display behavior.True to display the category name for the data labels on a chart. False to hide. Read/write bool.


setShowCategoryName

public void setShowCategoryName(boolean value)

getShowValue

public boolean getShowValue()

Represents a specified chart's data label percentage value display behavior. True displays the percentage value. False to hide. Read/write bool.


setShowValue

public void setShowValue(boolean value)

getShowPercentage

public boolean getShowPercentage()

Represents a specified chart's data label percentage value display behavior. True displays the percentage value. False to hide. Read/write bool.


setShowPercentage

public void setShowPercentage(boolean value)

getShowSeriesName

public boolean getShowSeriesName()

Returns or sets a Boolean to indicate the series name display behavior for the data labels on a chart. True to show the series name. False to hide. Read/write bool.


setShowSeriesName

public void setShowSeriesName(boolean value)

getShowBubbleSize

public boolean getShowBubbleSize()

Represents a specified chart's data label bubble size value display behavior. True displays the bubble size value. False to hide. Read/write bool.


setShowBubbleSize

public void setShowBubbleSize(boolean value)

getSeparator

public java.lang.String getSeparator()

Sets or returns a Variant representing the separator used for the data labels on a chart. Read/write string.


setSeparator

public void setSeparator(java.lang.String value)

getCount

public int getCount()

Gets the number of elements actually contained in the collection. Read-only int.


add

public int add(DataLabelEx value)

Adds the new DataLabel at the end of a collection.

Parameters:
value - The DataLabel to be added to the end of the collection.
Returns:

remove

public void remove(DataLabelEx value)

Removes the first occurrence of a specific object from the collection.

Parameters:
value - The DataLabel to remove from the collection.

indexOf

public int indexOf(DataLabelEx value)

Returns an index of the specified DataLabel in the collection.

Parameters:
value - DataLabel to find.
Returns:
Index of a DataLabel or -1 if DataLabel not from this collection.

get_Item

public DataLabelEx get_Item(int index)

Gets the element at the specified index. Read-only DataLabelEx.


iterator

public com.aspose.ms.System.Collections.IEnumerator iterator()

Returns an enumerator for the entire collection.

Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable
Specified by:
iterator in interface java.lang.Iterable