org.apache.poi.hwpf.model
Class ListData

java.lang.Object
  extended by org.apache.poi.hwpf.model.ListData

public class ListData
extends java.lang.Object


Constructor Summary
ListData(int listID, boolean numbered)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 ListLevel getLevel(int index)
          Gets the level associated to a particular List at a particular index.
 ListLevel[] getLevels()
           
 int getLevelStyle(int index)
           
 int getLsid()
           
 int numLevels()
           
 void setLevel(int index, ListLevel level)
           
 void setLevelStyle(int index, int styleIndex)
           
 byte[] toByteArray()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListData

public ListData(int listID,
                boolean numbered)
Method Detail

getLsid

public int getLsid()

numLevels

public int numLevels()

setLevel

public void setLevel(int index,
                     ListLevel level)

getLevels

public ListLevel[] getLevels()

getLevel

public ListLevel getLevel(int index)
Gets the level associated to a particular List at a particular index.

Parameters:
index - 1-based index
Returns:
a list level

getLevelStyle

public int getLevelStyle(int index)

setLevelStyle

public void setLevelStyle(int index,
                          int styleIndex)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toByteArray

public byte[] toByteArray()


Copyright 2008 The Apache Software Foundation or its licensors, as applicable.