Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate


com.aspose.cells
Class SparklineCollection

java.lang.Object
  extended by com.aspose.cells.SparklineCollection

public class SparklineCollection
extends java.lang.Object

Encapsulates a collection of Sparkline objects.


Method Summary
 void clear()
          Removes all of the sparklines from this collection.
 Sparkline get(int index)
          Gets the sparkline element at the specified index.
 boolean remove(int index)
          Removes the sparkline at the specified position in this collection.
 boolean remove(Sparkline sparkline)
          Removes a sparkline from this collection.
 int size()
          Gets number of sparkline in the collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public Sparkline get(int index)
Gets the sparkline element at the specified index.


size

public int size()
Gets number of sparkline in the collection.

Returns:
number of sparkline in the collection

clear

public void clear()
Removes all of the sparklines from this collection.


remove

public boolean remove(int index)
Removes the sparkline at the specified position in this collection.

Parameters:
index - the zero based index of the sparkline.

remove

public boolean remove(Sparkline sparkline)
Removes a sparkline from this collection.

Parameters:
sparkline - the sparkline to be removed
Returns:
true if the sparkline exists and be removed.