public class TableHeaderFooterInfo
extends java.lang.Object
| Constructor and Description | 
|---|
TableHeaderFooterInfo(java.util.Vector displayInfos)
Constructor. 
 | 
TableHeaderFooterInfo(java.util.Vector displayInfos,
                     double width,
                     double height)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
addDisplayInfo(DisplayFieldInfo displayFieldInfo)
Appends a DisplayFieldInfo definition in this container. 
 | 
void | 
addDisplayInfo(int index,
              DisplayFieldInfo element)
Inserts a DisplayFieldInfo definition of the container at the specified position. 
 | 
void | 
clearDisplayInfos()
Removes all of the DisplayFieldInfo definitions from the container. 
 | 
DisplayFieldInfo | 
getDisplayInfo(int index)
Gets the DisplayFieldInfo at the specified position. 
 | 
java.util.Vector | 
getDisplayInfos()
Gets DisplayFieldInfos' definition of the header/footer container. 
 | 
double | 
getHeight()
Gets the height of the table header or footer. 
 | 
double | 
getWidth()
Gets the width of the table header. 
 | 
boolean | 
isVerticalToDetail()
Indicates whether there is a Vertical Group Header in the table. 
 | 
boolean | 
removeDisplayInfo(DisplayFieldInfo displayInfo)
Removes the first occurrence of the DisplayFieldInfo. 
 | 
DisplayFieldInfo | 
removeDisplayInfo(int index)
Removes the DisplayFieldInfo at the specified position. 
 | 
void | 
setDisplayInfos(java.util.Vector displayInfos)
Sets DisplayFieldInfos' definition of the header/footer container. 
 | 
void | 
setHeight(double height)
Sets the height of the table header or footer. 
 | 
void | 
setVerticalToDetail(boolean isVerticaltoDetail)
Sets whether to create a Vertical Group Header in the table. 
 | 
void | 
setWidth(double width)
Sets the width of the table header. 
 | 
public TableHeaderFooterInfo(java.util.Vector displayInfos)
displayInfos - A set of DisplayFieldInfo of the table's Header/Footer section. See also DisplayFieldInfopublic TableHeaderFooterInfo(java.util.Vector displayInfos,
                             double width,
                             double height)
displayInfos - A set of DisplayFieldInfo of table's Header/Footer section. See also DisplayFieldInfowidth - Predefined      Table's Header/Footer width.height - Predefined      Table's Header/Footer height.public java.util.Vector getDisplayInfos()
public void setDisplayInfos(java.util.Vector displayInfos)
public void addDisplayInfo(int index,
                           DisplayFieldInfo element)
index - Specifies at which the DisplayFieldInfo to be inserted.element - DisplayFieldInfo to be inserted.java.lang.ArrayIndexOutOfBoundsException - if the index is out of range (index < 0 || index > size()).public boolean addDisplayInfo(DisplayFieldInfo displayFieldInfo)
displayFieldInfo - DisplayFieldInfo to be appended.true if the DisplayFieldInfo is inserted successfully; false otherwise.public void clearDisplayInfos()
public DisplayFieldInfo getDisplayInfo(int index)
index - Index of DisplayFieldInfo in the container.java.lang.ArrayIndexOutOfBoundsException - if the index is out of range (index < 0 || index >=
                size()).public DisplayFieldInfo removeDisplayInfo(int index)
index - The index of the DisplayFieldInfo to be removed.java.lang.ArrayIndexOutOfBoundsException - if the index is out of range (index < 0 || index >= size()).public boolean removeDisplayInfo(DisplayFieldInfo displayInfo)
displayInfo - DisplayFieldInfo to be removed.true if the Header/footerInfo contains the displayInfo and removes it; false otherwise.public double getHeight()
#API.setUnit(int),
                                                and the default unit is inch.public void setHeight(double height)
height - The height of the table header/footer. The unit of the value can be set by #API.setUnit(int),
                                                and the default unit is inch.public double getWidth()
public void setWidth(double width)
width - The width of the table header.public void setVerticalToDetail(boolean isVerticaltoDetail)
isVerticaltoDetail - Sets true when it is a Vertical Group Header in the table.public boolean isVerticalToDetail()