DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements
Class SubPathList

java.lang.Object
  extended by com.cete.dynamicpdf.pageelements.SubPathList

public class SubPathList
extends java.lang.Object

Class represents a collection of sub paths.

Licensing:
This class is a DynamicPDF Generator Professional Edition feature. One of the following licenses is required for non-evaluation usage:


Method Summary
 int add(SubPath subPath)
          Adds a sub path to the current path.
 java.util.Iterator getEnumerator()
          Returns an enumerator that can iterate through the SubPathList.
 SubPath getSubPath(int index)
          Gets a SubPath object at the given index.
 void setSubPath(int index, SubPath value)
          Sets a SubPath object at the given index.
 int size()
          Gets the number of SubPath objects in the collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

size

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

Returns:
the number of SubPath objects in the collection.
See Also:
SubPath

getSubPath

public SubPath getSubPath(int index)
Gets a SubPath object at the given index.

Parameters:
index - the index of the SubPath object.
Returns:
a SubPath object at the given index.
See Also:
SubPath

setSubPath

public void setSubPath(int index,
                       SubPath value)
Sets a SubPath object at the given index.

Parameters:
index - the index.
value - the sub path value.
See Also:
SubPath

add

public int add(SubPath subPath)
Adds a sub path to the current path.

Parameters:
subPath - SubPath object to add to the path.
Returns:
The index of the added subpath.

getEnumerator

public java.util.Iterator getEnumerator()
Returns an enumerator that can iterate through the SubPathList.

Returns:
A Iterator for the entire SubPathList.
See Also:
Iterator

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software