com.aspose.slides
Class ColorOperationExCollection

java.lang.Object
  extended by com.aspose.slides.ColorTransformEx
      extended by com.aspose.slides.ColorOperationExCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.ICollection, com.aspose.ms.System.Collections.IEnumerable, com.aspose.ms.System.ICloneable, java.lang.Iterable

public final class ColorOperationExCollection
extends ColorTransformEx
implements com.aspose.ms.System.Collections.ICollection, com.aspose.ms.System.ICloneable

Represents a collection of color transform operations.


Method Summary
 int add(int operation)
           Adds a new operation to the end of collection.
 int add(int operation, float parameter)
           Adds a new operation to the end of collection.
 void clear()
           Removes all color operations.
 void copyTo(com.aspose.ms.System.Array array, int index)
           Copies all elements from the collection to the specified array.
 java.lang.Object deepClone()
           Creates a copy of a ColorTransformEx collection.
 ColorOperationEx get_Item(int index)
           Returns or sets the operation at the specified index.
 int getCount()
           Returns the number of operations in a collection.
 java.lang.Object getSyncRoot()
           Returns a synchronization root.
 void insert(int position, int operation)
           Inserts the new operation to a collection.
 void insert(int position, int operation, float parameter)
           Inserts the new operation to a collection.
 boolean isSynchronized()
           Returns a value indicating whether access to the collection is synchronized (thread-safe).
 com.aspose.ms.System.Collections.IEnumerator iterator()
           Returns an enumerator for the entire collection.
 void removeAt(int index)
           Removes the color operation from a collection.
 void set_Item(int index, ColorOperationEx value)
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

copyTo

public void copyTo(com.aspose.ms.System.Array array,
                   int index)

Copies all elements from the collection to the specified array.

Specified by:
copyTo in interface com.aspose.ms.System.Collections.ICollection
Parameters:
array - Target array.
index - Starting index in the target array.

isSynchronized

public boolean isSynchronized()

Returns a value indicating whether access to the collection is synchronized (thread-safe).

Specified by:
isSynchronized in interface com.aspose.ms.System.Collections.ICollection

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Readonly object.

Specified by:
getSyncRoot in interface com.aspose.ms.System.Collections.ICollection

deepClone

public java.lang.Object deepClone()

Creates a copy of a ColorTransformEx collection.

Specified by:
deepClone in interface com.aspose.ms.System.ICloneable
Returns:
New ColorTransformEx collection.

size

public int size()
Specified by:
size in interface com.aspose.ms.System.Collections.ICollection

getCount

public int getCount()
Description copied from class: ColorTransformEx

Returns the number of operations in a collection. Read-only int.

Overrides:
getCount in class ColorTransformEx

get_Item

public ColorOperationEx get_Item(int index)
Description copied from class: ColorTransformEx

Returns or sets the operation at the specified index. Read/write ColorOperationEx.

Overrides:
get_Item in class ColorTransformEx

set_Item

public void set_Item(int index,
                     ColorOperationEx value)
Overrides:
set_Item in class ColorTransformEx

add

public int add(int operation,
               float parameter)
Description copied from class: ColorTransformEx

Adds a new operation to the end of collection.

Overrides:
add in class ColorTransformEx
Parameters:
operation - Operation type.
parameter - Operation's parameter.
Returns:
The index at which the operation has been added.

add

public int add(int operation)
Description copied from class: ColorTransformEx

Adds a new operation to the end of collection.

Overrides:
add in class ColorTransformEx
Parameters:
operation - Operation type.
Returns:
The index at which the operation has been added.

insert

public void insert(int position,
                   int operation,
                   float parameter)
Description copied from class: ColorTransformEx

Inserts the new operation to a collection.

Overrides:
insert in class ColorTransformEx
Parameters:
position - The index at which the operation will be inserted.
operation - Operation type.
parameter - Operation's parameter.

insert

public void insert(int position,
                   int operation)
Description copied from class: ColorTransformEx

Inserts the new operation to a collection.

Overrides:
insert in class ColorTransformEx
Parameters:
position - The index at which the operation will be inserted.
operation - Operation type.

removeAt

public void removeAt(int index)
Description copied from class: ColorTransformEx

Removes the color operation from a collection.

Overrides:
removeAt in class ColorTransformEx
Parameters:
index - Index of a color operation to remove.

clear

public void clear()
Description copied from class: ColorTransformEx

Removes all color operations.

Overrides:
clear in class ColorTransformEx

iterator

public com.aspose.ms.System.Collections.IEnumerator iterator()
Description copied from class: ColorTransformEx

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
Overrides:
iterator in class ColorTransformEx
Returns:
An IEnumerator for the entire collection.