com.aspose.diagram
Class LayerCollection

java.lang.Object
  extended by Collection
      extended by com.aspose.diagram.LayerCollection
All Implemented Interfaces:
java.lang.Iterable

public class LayerCollection 
extends Collection

Layer collection.


Property Getters/Setters Summary
intgetCount()→ inherited from Collection
           Gets the number of elements actually contained in the collection.
Layerget(int)
           Gets the element at the specified index.
 
Method Summary
intadd(Layer item)
           Add the Layer object in the collection.
voidclear()→ inherited from Collection
           Removes all elements from collection.
booleanisExist(int index)→ inherited from Collection
           Is exist item in the collection.
java.util.Iteratoriterator()→ inherited from Collection
           Supports a simple iteration over a nongeneric collection.
voidremove(Layer item)
           Remove the Layer object from the collection.
 

Property Getters/Setters Detail

getCount

→ inherited from Collection
public int getCount()
Gets the number of elements actually contained in the collection.

get

public Layer get(int index)
Gets the element at the specified index.
Parameters:
index -
Returns:

Method Detail

add

public int add(Layer item)
Add the Layer object in the collection.
Returns:

remove

public void remove(Layer item)
Remove the Layer object from the collection.

iterator

→ inherited from Collection
public java.util.Iterator iterator()
Supports a simple iteration over a nongeneric collection.
Returns:

isExist

→ inherited from Collection
public boolean isExist(int index)
Is exist item in the collection.
Parameters:
index - index of element.
Returns:

clear

→ inherited from Collection
public void clear()
Removes all elements from collection.

See Also:
          Aspose.Diagram Documentation - the home page for the Aspose.Diagram Product Documentation.
          Aspose.Diagram Support Forum - our preferred method of support.