com.aspose.slides
Class ColorOperationCollection

java.lang.Object
  extended by com.aspose.slides.ColorOperationCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IColorOperation>, com.aspose.ms.System.Collections.IEnumerable<IColorOperation>, IColorOperationCollection, IGenericCloneable<IColorOperationCollection>, IGenericCollection<IColorOperation>, java.lang.Iterable<IColorOperation>

public final class ColorOperationCollection
extends java.lang.Object
implements IColorOperationCollection

Represents a collection of color transform operations.


Method Summary
 IColorOperation add(int operation)
           Adds a new operation to the end of collection.
 IColorOperation add(int operation, float parameter)
           Adds a new operation to the end of collection.
 void clear()
           Removes all color operations.
 IColorOperationCollection cloneT()
           
 void copyTo(IColorOperation[] array, int index)
           Copies all elements from the collection to the specified array.
 java.lang.Object deepClone()
           Creates a copy of a ColorOperationCollection collection.
 IColorOperation get_Item(int index)
           Returns or sets the operation at the specified index.
 java.lang.Object getSyncRoot()
           Returns a synchronization root.
 IColorOperation insert(int position, int operation)
           Inserts the new operation to a collection.
 IColorOperation 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.Generic.IGenericEnumerator<IColorOperation> iterator()
           Returns an enumerator that iterates through the collection.
 void removeAt(int index)
           Removes the color operation from a collection.
 void set_Item(int index, IColorOperation value)
           Returns or sets the operation at the specified index.
 int size()
           Returns the number of operations in a collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

size

public int size()

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

Specified by:
size in interface IGenericCollection<IColorOperation>

get_Item

public IColorOperation get_Item(int index)

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

Specified by:
get_Item in interface IColorOperationCollection

set_Item

public void set_Item(int index,
                     IColorOperation value)

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

Specified by:
set_Item in interface IColorOperationCollection

add

public IColorOperation add(int operation,
                           float parameter)

Adds a new operation to the end of collection.

Specified by:
add in interface IColorOperationCollection
Parameters:
operation - Operation type.
parameter - Operation's parameter.
Returns:
Added operation.

add

public IColorOperation add(int operation)

Adds a new operation to the end of collection.

Specified by:
add in interface IColorOperationCollection
Parameters:
operation - Operation type.
Returns:
Added operation.

insert

public IColorOperation insert(int position,
                              int operation,
                              float parameter)

Inserts the new operation to a collection.

Specified by:
insert in interface IColorOperationCollection
Parameters:
position - The index at which the operation will be inserted.
operation - Operation type.
parameter - Operation's parameter.
Returns:
Inserted operation.

insert

public IColorOperation insert(int position,
                              int operation)

Inserts the new operation to a collection.

Specified by:
insert in interface IColorOperationCollection
Parameters:
position - The index at which the operation will be inserted.
operation - Operation type.
Returns:
Inserted operation.

removeAt

public void removeAt(int index)

Removes the color operation from a collection.

Specified by:
removeAt in interface IColorOperationCollection
Parameters:
index - Index of a color operation to remove.

clear

public void clear()

Removes all color operations.

Specified by:
clear in interface IColorOperationCollection

iterator

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

Returns an enumerator that iterates through the collection.

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

copyTo

public void copyTo(IColorOperation[] array,
                   int index)

Copies all elements from the collection to the specified array.

Specified by:
copyTo in interface IGenericCollection<IColorOperation>
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). Read-only boolean.

Specified by:
isSynchronized in interface IGenericCollection<IColorOperation>

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Read-only Object.

Specified by:
getSyncRoot in interface IGenericCollection<IColorOperation>

deepClone

public java.lang.Object deepClone()

Creates a copy of a ColorOperationCollection collection.

Returns:
New ColorOperationCollection collection.

cloneT

public IColorOperationCollection cloneT()
Specified by:
cloneT in interface IGenericCloneable<IColorOperationCollection>


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