DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements
Class ListItemList

java.lang.Object
  extended by com.cete.dynamicpdf.pageelements.ListItemList
Direct Known Subclasses:
OrderedListItemList, UnorderedListItemList

public abstract class ListItemList
extends java.lang.Object

Represents the collection of ListItems on a List.

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

See Also:
List, ListItem

Method Summary
 ListItem add(java.lang.String item)
          Adds the ListItem to the List.
 ListItem getItem(int index)
          Gets the ListItem from the ListItemList.
 int size()
          Returns the number of ListItems in the List.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public ListItem add(java.lang.String item)

Adds the ListItem to the List.

Parameters:
item - Text value of the ListItem.
Returns:
ListItem the newly created ListItem.

getItem

public ListItem getItem(int index)

Gets the ListItem from the ListItemList.

Parameters:
index - The index of the ListItem
Returns:
ListItem relavant to the index.

size

public int size()

Returns the number of ListItems in the List.

Returns:
The number of ListItems in the List.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software