com.aspose.slides
Class TrendlineCollection

java.lang.Object
  extended by com.aspose.slides.TrendlineCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ITrendline>, com.aspose.ms.System.Collections.IEnumerable<ITrendline>, ITrendlineCollection, java.lang.Iterable<ITrendline>

public class TrendlineCollection
extends java.lang.Object
implements ITrendlineCollection

Represents a collection of Trendline


Method Summary
 ITrendline add(int trendlineType)
           Adds the new Trendline at the end of a collection and return it.
 void add(ITrendline value)
          Deprecated. 
 ITrendline get_Item(int index)
           Gets the element at the specified index.
 int getCount()
           Gets the number of elements actually contained in the collection.
 com.aspose.slides.IDOMObject getParent_Immediate()
           Returns Parent_Immediate object.
 com.aspose.ms.System.Collections.Generic.IGenericEnumerator<ITrendline> iterator()
           Returns an enumerator that iterates through the collection.
 void remove(ITrendline value)
           Removes the specified value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get_Item

public ITrendline get_Item(int index)

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

Specified by:
get_Item in interface ITrendlineCollection

add

public ITrendline add(int trendlineType)

Adds the new Trendline at the end of a collection and return it.

Specified by:
add in interface ITrendlineCollection

add

@Deprecated
public void add(ITrendline value)
Deprecated. 

Adds the new Trendline at the end of a collection.

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

remove

public void remove(ITrendline value)

Removes the specified value.

Specified by:
remove in interface ITrendlineCollection

getParent_Immediate

public com.aspose.slides.IDOMObject getParent_Immediate()

Returns Parent_Immediate object. Read-only IDOMObject.


iterator

public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<ITrendline> iterator()

Returns an enumerator that iterates through the collection.

Specified by:
iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ITrendline>
Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable<ITrendline>
Specified by:
iterator in interface java.lang.Iterable<ITrendline>
Returns:
A T:System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.

getCount

public int getCount()

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

Specified by:
getCount in interface ITrendlineCollection


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