|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
aspose.pdf.Shapes
public class Shapes
Represents a collection of Shape
objects.
Typical usages are the following:
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
Shapes()
Initializes a new instance of the Shapes class. |
Method Summary | |
---|---|
void |
add(Shape shape)
The culture info. |
void |
copyTo(Shape[] shapeArray,
int index)
Copies the elements to a Shape object array,
starting at a specified array index. |
Shape |
get(java.lang.String id)
Gets a Shape object from the collection according to Shape ID. |
Shape |
getShape(int index)
Gets a Shape object from the
collection according to Shape index. |
int |
indexOf(Shape shape)
Gets the index of a specified Shape object in the collection. |
void |
remove(Shape shapeToRemove)
Removes a Shape object from the collection. |
void |
set(int index,
Shape shape)
Sets a Shape object from the
collection according to Shape index. |
void |
set(java.lang.String id,
Shape value)
Sets a Shape object to the collection with the specified index. |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
---|
public Shapes()
Shapes
class.
Method Detail |
---|
public void add(Shape shape)
shape
- The Shape
object to be added.public void remove(Shape shapeToRemove)
Shape
object from the collection.
shapeToRemove
- The Shape
object to be removed.public void copyTo(Shape[] shapeArray, int index)
Shape
object array,
starting at a specified array index.
shapeArray
- The Gets or sets a Shape
object array.index
- The start indexpublic int indexOf(Shape shape)
Shape
object in the collection.
shape
- The specified Shape
object.
public Shape getShape(int index)
Shape
object from the
collection according to Shape index.
public void set(int index, Shape shape)
Shape
object from the
collection according to Shape index.
index
- the index of the object to be setshape
- the value of the object to be setpublic Shape get(java.lang.String id)
Shape
object from the collection according to Shape ID.
id
- the ID of the Shape
objectpublic void set(java.lang.String id, Shape value)
Shape
object to the collection with the specified index.
id
- the index to be setvalue
- the value of the Shape
object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |