public class TableDetailInfo
extends java.lang.Object
| Constructor and Description |
|---|
TableDetailInfo(java.util.Vector displayInfos,
boolean isParallel,
boolean isTileDetail,
boolean isTileHorizontal)
Constructor.
|
TableDetailInfo(java.util.Vector displayInfos,
double width,
double height,
boolean isParallel,
boolean isTileDetail,
boolean isTileHorizontal)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDisplayInfo(DisplayFieldInfo displayFieldInfo)
Appends a display's information of this detail.
|
void |
addDisplayInfo(int index,
DisplayFieldInfo element)
Inserts a display's information of the detail at the specified position.
|
void |
clearDisplayInfos()
Removes all of the displays' information from the detail.
|
DisplayFieldInfo |
getDisplayInfo(int index)
Returns the DisplayFieldInfo at the specified position.
|
java.util.Vector |
getDisplayInfos()
Gets the displays' information of this detail.
|
double |
getHeight()
Gets the predefined table's Detail height.
|
double |
getWidth()
Deprecated.
since version 10.0.
|
boolean |
isParallel()
Deprecated.
since version 10.0.
|
boolean |
isTileDetail()
Deprecated.
since version 10.0.
|
boolean |
isTileHorizontal()
Deprecated.
since version 10.0.
|
boolean |
removeDisplayInfo(DisplayFieldInfo displayFieldInfo)
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 the displays' information of this detail.
|
void |
setHeight(double height)
Sets the predefined table's Detail height.
|
void |
setParallel(boolean isParallel)
Deprecated.
since version 10.0.
|
void |
setProperty(java.lang.String key,
java.lang.String value)
If the property is changed by a formula, the
value is the formula
mapping name. |
void |
setTileDetail(boolean isTileDetail)
Deprecated.
since version 10.0.
|
void |
setTileHorizontal(boolean isTileHorizontal)
Deprecated.
since version 10.0.
|
void |
setWidth(double width)
Deprecated.
since version 10.0.
|
public TableDetailInfo(java.util.Vector displayInfos,
boolean isParallel,
boolean isTileDetail,
boolean isTileHorizontal)
displayInfos - A set of DisplayFieldInfo of the table's Detail section. See also DisplayFieldInfoisParallel - Indicates whether it is a parallel Detail section or not in the banded object.isTileDetail - Indicates whether it would be created as a tiled section in the banded object.isTileHorizontal - Indicates whether it would be created as a Horizontally tiled section in the banded object.public TableDetailInfo(java.util.Vector displayInfos,
double width,
double height,
boolean isParallel,
boolean isTileDetail,
boolean isTileHorizontal)
displayInfos - A set of DisplayFieldInfo of the table's Detail section. See also DisplayFieldInfoheight - Indicates the height of the table's Detail section.isParallel - Indicates whether it is a parallel Detail section or not in the banded object.isTileDetail - Indicates whether it would be created as a tiled section in the banded object.isTileHorizontal - Indicates whether it would be created as a Horizontally tiled section in the banded object.public java.util.Vector getDisplayInfos()
public void setDisplayInfos(java.util.Vector displayInfos)
public void addDisplayInfo(int index,
DisplayFieldInfo element)
index - Index at which the DisplayFieldInfo is to be inserted.element - DisplayFieldInfo to be inserted.java.lang.ArrayIndexOutOfBoundsException - if the index is is out of range (index < 0 || index > size()).public boolean addDisplayInfo(DisplayFieldInfo displayFieldInfo)
displayFieldInfo - Defines the field information in Detail section. See also DisplayFieldInfopublic void clearDisplayInfos()
public DisplayFieldInfo getDisplayInfo(int index)
index - Index of DisplayFieldInfo to return.java.lang.ArrayIndexOutOfBoundsException - if the index is 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 displayFieldInfo)
isplayFieldInfo - DisplayFieldInfo to be removed, if present.public boolean isParallel()
public void setParallel(boolean isParallel)
isParallel - Specifies if the detail section is a parallel section.public double getWidth()
public void setWidth(double width)
width - Table's Detail width.public double getHeight()
public void setHeight(double height)
width - Table's Detail height.public boolean isTileHorizontal()
public void setTileHorizontal(boolean isTileHorizontal)
isTileHorizontal - Indicates to create a horizontally tiled section in banded object.public boolean isTileDetail()
public void setTileDetail(boolean isTileDetail)
isTileDetail - Indicates to create a tiled section in the banded object.public void setProperty(java.lang.String key,
java.lang.String value)
value is the formula
mapping name. And setMark(key, true) must be called to set the
changeBy information.key - property name.value - property value.
Note: Don't set x,y,width,height with this.