Field Summary |
|
final public static byte | MODE_OPAQUE Specifies that the element is opaque. |
final public static byte | MODE_TRANSPARENT Specifies that the element is transparent. |
final public static byte | POSITION_TYPE_FIX_RELATIVE_TO_BOTTOM If the height of the parent report section is affected by elements that stretch, the current element will try to
conserve the original distance between its bottom margin and the bottom of the band. |
final public static byte | POSITION_TYPE_FIX_RELATIVE_TO_TOP The element will simply ignore what happens to the other section elements and tries to
conserve the y offset measured from the top of its parent report section. |
final public static byte | POSITION_TYPE_FLOAT The element will float in its parent section if it is pushed downwards by other elements fount above it. |
final public static byte | STRETCH_TYPE_NO_STRETCH The element preserves its original specified height. |
final public static byte | STRETCH_TYPE_RELATIVE_TO_BAND_HEIGHT The graphic element will adapt its height to match the new height of the report section it placed on, which
has been affected by stretch. |
final public static byte | STRETCH_TYPE_RELATIVE_TO_TALLEST_OBJECT Users have the possibility to group the elements of a report section in multiple imbricate groups. |
Method Summary |
|
public void | collectExpressions(JRExpressionCollector collector) |
public Color | getBackcolor() |
public JRElementGroup | getElementGroup() Indicates the logical group that the element belongs to. |
public Color | getForecolor() |
public int | getHeight() |
public String | getKey() Returns the string value that uniquely identifies the element. |
public byte | getMode() Returns the element transparency mode.
The default value depends on the type of the report element. |
public Color | getOwnBackcolor() |
public Color | getOwnForecolor() |
public Byte | getOwnMode() |
public byte | getPositionType() |
public JRExpression | getPrintWhenExpression() Gets the the expression that is evaluated in order to decide if the element should be displayed. |
public JRGroup | getPrintWhenGroupChanges() Returns the group for which an element with a printRepeatedValues attribute set to true will be redisplayed
even if the value has not changed. |
public byte | getStretchType() |
public int | getWidth() |
public int | getX() Gets the the section relative horizontal offset of the element top left corner. |
public int | getY() Gets the the section relative vertical offset of the element top left corner. |
public boolean | isPrintInFirstWholeBand() Returns true if an element with a printRepeatedValues attribute set to true will be redisplayed for every
new page or column that is not an overflow from a previous page or column. |
public boolean | isPrintRepeatedValues() Specifies if the element value will be printed for every iteration, even if its value has not changed. |
public boolean | isPrintWhenDetailOverflows() If this is set to true, the element will be reprinted on the next page if the band does not fit in the current page. |
public boolean | isRemoveLineWhenBlank() Returns true if the remaining blank space appearing when the value is not printed will be removed. |
public void | setBackcolor(Color backcolor) |
public void | setForecolor(Color forecolor) |
public void | setMode(byte mode) Returns the element transparency mode.
The default value depends on the type of the report element. |
public void | setMode(Byte mode) |
public void | setPositionType(byte positionType) Sets the position type for the element. |
public void | setPrintInFirstWholeBand(boolean isPrintInFirstWholeBand) Specifies whether an element with a printRepeatedValues attribute set to true should be redisplayed for every
new page or column that is not an overflow from a previous page or column. |
public void | setPrintRepeatedValues(boolean isPrintRepeatedValues) |
public void | setPrintWhenDetailOverflows(boolean isPrintWhenDetailOverflows) If this is set to true, the element will be reprinted on the next page if the band does not fit in the current page. |
public void | setRemoveLineWhenBlank(boolean isRemoveLineWhenBlank) Specifies whether the remaining blank space appearing when the value is not printed will be removed. |
public void | setStretchType(byte stretchType) Sets the stretch type for the element. |
public void | setWidth(int width) |
public void | setX(int x) Sets the the section relative horizontal offset of the element top left corner. |