| java.lang.Object it.businesslogic.ireport.IReportHashMapBean it.businesslogic.ireport.ReportElement
All known Subclasses: it.businesslogic.ireport.TextReportElement, it.businesslogic.ireport.SubReportElement, it.businesslogic.ireport.ChartReportElement2, it.businesslogic.ireport.GraphicReportElement, it.businesslogic.ireport.CrosstabReportElement, it.businesslogic.ireport.BreakReportElement, it.businesslogic.ireport.FrameReportElement,
Constructor Summary | |
public | ReportElement(int x, int y, int width, int height) Creates a new ReportElement object. |
Method Summary | |
public void | addToGroup(String groupname) | public void | adjustBand() Try to move the element to another band if the element is placed
entirely within the band. | public void | adjustCell(Vector cells) | public ReportElement | cloneMe() | public void | copyBaseReportElement(ReportElement destination, ReportElement source) | public void | copyElementPropertiesTo(ReportElement newReportElement) | public void | drawBorder(Graphics2D g, double zoom_factor, int x_shift_origin, int y_shift_origin) | public void | drawBorder(Graphics2D g, double zoom_factor, int x_shift_origin, int y_shift_origin, Box box) | public void | drawCorona(Graphics2D g, double zoom_factor, int x_shift_origin, int y_shift_origin, boolean selected) | public void | drawGraphicsElement(Graphics2D g, String pen, double zoom_factor, int x_shift_origin, int y_shift_origin) | public void | drawGraphicsElement(Graphics2D g, String pen, double zoom_factor, int x_shift_origin, int y_shift_origin, int radius) | public void | drawObject(Graphics2D g, double zoom_factor, int x_shift_origin, int y_shift_origin) | public boolean | enclosesOtherElement() | public static Color | getAlphaColor(Color c, int alpha) | public it.businesslogic.ireport.Band | getBand() Getter for property band. | public java.awt.Color | getBgcolor() Getter for property bgcolor. | public java.awt.Rectangle | getBounds() Getter for property bounds. | public CrosstabCell | getCell() | public String | getElementGroup() | public int | getElementID() | public java.util.List | getElementProperties() | public java.awt.Color | getFgcolor() Getter for property fgcolor. | public int | getHeight() Getter for property height. | public java.lang.String | getKey() Getter for property key. | public int | getLogicalDim(int dim) | public java.lang.String | getName() Getter for property name. | public ReportElement | getParentElement() | public Stroke | getPenStroke(String penName, double zoom_factor) | public static Stroke | getPenStroke(String penName, Pen pen, double zoom_factor) | public java.awt.Point | getPosition() Getter for property position. | public java.lang.String | getPositionType() Getter for property positionType. | public java.lang.String | getPrintWhenExpression() Getter for property printWhenExpression. | public java.lang.String | getPrintWhenGroupChanges() Getter for property printWhenGroupChanges. | public Point | getRelativePosition() | public java.lang.String | getStretchType() Getter for property stretchType. | public Style | getStyle() | public java.lang.String | getTransparent() Getter for property transparent. | public int | getWidth() Getter for property width. | public int | getZoomedDim(int dim) | public double | getZoomedDim(double dim) | public boolean | insideBand() | public boolean | insideBandReal() | public boolean | intersects(Point p) | public boolean | intersects(Rectangle r2) | public boolean | intersectsElements() | public boolean | isIsPrintInFirstWholeBand() Getter for property isPrintInFirstWholeBand. | public boolean | isIsPrintRepeatedValues() Getter for property isPrintRepeatedValues. | public boolean | isIsPrintWhenDetailOverflows() Getter for property isPrintWhenDetailOverflows. | public boolean | isIsRemoveLineWhenBlank() Getter for property isRemoveLineWhenBlank. | public void | removeFromAllGroups() | public void | removeFromGroup(String groupname) | public void | setBand(it.businesslogic.ireport.Band band) Setter for property band. | public void | setBgcolor(java.awt.Color bgcolor) Setter for property bgcolor. | public void | setBounds(java.awt.Rectangle bounds) Setter for property bounds. | public void | setCell(CrosstabCell cell) | public void | setElementGroup(String elementGroup) | public void | setElementID(int elementID) | public void | setElementProperties(java.util.List elementProperties) | public void | setFgcolor(java.awt.Color fgcolor) Setter for property fgcolor. | public void | setHeight(int height) Setter for property height. | public void | setIsPrintInFirstWholeBand(boolean isPrintInFirstWholeBand) Setter for property isPrintInFirstWholeBand. | public void | setIsPrintRepeatedValues(boolean isPrintRepeatedValues) Setter for property isPrintRepeatedValues. | public void | setIsPrintWhenDetailOverflows(boolean isPrintWhenDetailOverflows) Setter for property isPrintWhenDetailOverflows. | public void | setIsRemoveLineWhenBlank(boolean isRemoveLineWhenBlank) Setter for property isRemoveLineWhenBlank. | public void | setKey(java.lang.String key) Setter for property key. | public void | setName(java.lang.String name) Setter for property name. | public void | setParentElement(ReportElement parentElement) | public void | setPosition(Point p) | public void | setPositionType(java.lang.String positionType) Setter for property positionType. | public void | setPrintWhenExpression(java.lang.String printWhenExpression) Setter for property printWhenExpression. | public void | setPrintWhenGroupChanges(java.lang.String printWhenGroupChanges) Setter for property printWhenGroupChanges. | public void | setRelativePosition(Point relativePosition) | public void | setStretchType(java.lang.String stretchType) Setter for property stretchType. | public void | setStyle(Style style) | public void | setTransparent(java.lang.String transparent) Setter for property transparent. | public void | setWidth(int width) Setter for property width. | public static String | string_replace(String s1, String s2, String s3) | public String | toString() | public Point | trasform(Point delta, int type) | public Point | trasformTest(Point delta, int type) | public void | updateBounds() | public void | updateRelativePosition() this methos adjust the relativo position respect to the parent cell. | public void | writeGrip(Graphics2D g, int x, int y) |
BGCOLOR | final public static String BGCOLOR(Code) | | Key for element properties handled using the IReportHashMapBean
|
DEFAULT_BGCOLOR | final public static Color DEFAULT_BGCOLOR(Code) | | Default values. If a value can change for different elements,
it is not listed here (i.e. MODE).
|
DEFAULT_FGCOLOR | final public static Color DEFAULT_FGCOLOR(Code) | | |
DEFAULT_POSITION_TYPE | final public static String DEFAULT_POSITION_TYPE(Code) | | |
DEFAULT_PRINT_IN_FIRST_WHOLE_BAND | final public static boolean DEFAULT_PRINT_IN_FIRST_WHOLE_BAND(Code) | | |
DEFAULT_PRINT_REPEATED_VALUES | final public static boolean DEFAULT_PRINT_REPEATED_VALUES(Code) | | |
DEFAULT_PRINT_WHEN_DETAIL_OVERFLOW | final public static boolean DEFAULT_PRINT_WHEN_DETAIL_OVERFLOW(Code) | | |
DEFAULT_REMOVE_LINE_WHEN_BLANK | final public static boolean DEFAULT_REMOVE_LINE_WHEN_BLANK(Code) | | |
PRINT_IN_FIRST_WHOLE_BAND | final public static String PRINT_IN_FIRST_WHOLE_BAND(Code) | | |
PRINT_REPEATED_VALUES | final public static String PRINT_REPEATED_VALUES(Code) | | |
PRINT_WHEN_DETAIL_OVERFLOW | final public static String PRINT_WHEN_DETAIL_OVERFLOW(Code) | | |
REMOVE_LINE_WHEN_BLANK | final public static String REMOVE_LINE_WHEN_BLANK(Code) | | |
printWhenGroupChanges | public String printWhenGroupChanges(Code) | | |
transparentDefault | public String transparentDefault(Code) | | Values that can be overridden by subclasses....
|
zoom_factor | double zoom_factor(Code) | | |
ReportElement | public ReportElement(int x, int y, int width, int height)(Code) | | Creates a new ReportElement object.
Parameters: x - DOCUMENT ME! Parameters: y - DOCUMENT ME! Parameters: width - DOCUMENT ME! Parameters: height - DOCUMENT ME! |
addToGroup | public void addToGroup(String groupname)(Code) | | DOCUMENT ME!
Parameters: groupname - DOCUMENT ME! |
adjustBand | public void adjustBand()(Code) | | Try to move the element to another band if the element is placed
entirely within the band.
|
copyBaseReportElement | public void copyBaseReportElement(ReportElement destination, ReportElement source)(Code) | | DOCUMENT ME!
Parameters: destination - DOCUMENT ME! Parameters: source - DOCUMENT ME! |
copyElementPropertiesTo | public void copyElementPropertiesTo(ReportElement newReportElement)(Code) | | DOCUMENT ME!
Parameters: newReportElement - DOCUMENT ME! |
drawBorder | public void drawBorder(Graphics2D g, double zoom_factor, int x_shift_origin, int y_shift_origin)(Code) | | DOCUMENT ME!
Parameters: g - DOCUMENT ME! Parameters: zoom_factor - DOCUMENT ME! Parameters: x_shift_origin - DOCUMENT ME! Parameters: y_shift_origin - DOCUMENT ME! |
drawBorder | public void drawBorder(Graphics2D g, double zoom_factor, int x_shift_origin, int y_shift_origin, Box box)(Code) | | DOCUMENT ME!
Parameters: g - DOCUMENT ME! Parameters: zoom_factor - DOCUMENT ME! Parameters: x_shift_origin - DOCUMENT ME! Parameters: y_shift_origin - DOCUMENT ME! Parameters: box - DOCUMENT ME! |
drawCorona | public void drawCorona(Graphics2D g, double zoom_factor, int x_shift_origin, int y_shift_origin, boolean selected)(Code) | | DOCUMENT ME!
Parameters: g - DOCUMENT ME! Parameters: zoom_factor - DOCUMENT ME! Parameters: x_shift_origin - DOCUMENT ME! Parameters: y_shift_origin - DOCUMENT ME! Parameters: selected - DOCUMENT ME! |
drawGraphicsElement | public void drawGraphicsElement(Graphics2D g, String pen, double zoom_factor, int x_shift_origin, int y_shift_origin)(Code) | | DOCUMENT ME!
Parameters: g - DOCUMENT ME! Parameters: pen - DOCUMENT ME! Parameters: zoom_factor - DOCUMENT ME! Parameters: x_shift_origin - DOCUMENT ME! Parameters: y_shift_origin - DOCUMENT ME! |
drawGraphicsElement | public void drawGraphicsElement(Graphics2D g, String pen, double zoom_factor, int x_shift_origin, int y_shift_origin, int radius)(Code) | | DOCUMENT ME!
Parameters: g - DOCUMENT ME! Parameters: pen - DOCUMENT ME! Parameters: zoom_factor - DOCUMENT ME! Parameters: x_shift_origin - DOCUMENT ME! Parameters: y_shift_origin - DOCUMENT ME! Parameters: radius - DOCUMENT ME! |
drawObject | public void drawObject(Graphics2D g, double zoom_factor, int x_shift_origin, int y_shift_origin)(Code) | | DOCUMENT ME!
Parameters: g - DOCUMENT ME! Parameters: zoom_factor - DOCUMENT ME! Parameters: x_shift_origin - DOCUMENT ME! Parameters: y_shift_origin - DOCUMENT ME! |
enclosesOtherElement | public boolean enclosesOtherElement()(Code) | | DOCUMENT ME!
DOCUMENT ME! |
getBgcolor | public java.awt.Color getBgcolor()(Code) | | Getter for property bgcolor.
Value of property bgcolor. |
getElementID | public int getElementID()(Code) | | |
getFgcolor | public java.awt.Color getFgcolor()(Code) | | Getter for property fgcolor.
Value of property fgcolor. |
getHeight | public int getHeight()(Code) | | Getter for property height.
Value of property height. |
getLogicalDim | public int getLogicalDim(int dim)(Code) | | DOCUMENT ME!
Parameters: dim - DOCUMENT ME! DOCUMENT ME! |
getPenStroke | public static Stroke getPenStroke(String penName, Pen pen, double zoom_factor)(Code) | | DOCUMENT ME!
Parameters: pen - DOCUMENT ME! Parameters: zoom_factor - DOCUMENT ME! DOCUMENT ME! |
getPosition | public java.awt.Point getPosition()(Code) | | Getter for property position.
Value of property position. |
getPositionType | public java.lang.String getPositionType()(Code) | | Getter for property positionType.
Value of property positionType. |
getPrintWhenExpression | public java.lang.String getPrintWhenExpression()(Code) | | Getter for property printWhenExpression.
Value of property printWhenExpression. |
getPrintWhenGroupChanges | public java.lang.String getPrintWhenGroupChanges()(Code) | | Getter for property printWhenGroupChanges.
Value of property printWhenGroupChanges. |
getRelativePosition | public Point getRelativePosition()(Code) | | |
getStretchType | public java.lang.String getStretchType()(Code) | | Getter for property stretchType.
Value of property stretchType. |
getTransparent | public java.lang.String getTransparent()(Code) | | Getter for property transparent.
Value of property transparent. |
getWidth | public int getWidth()(Code) | | Getter for property width.
Value of property width. |
getZoomedDim | public int getZoomedDim(int dim)(Code) | | DOCUMENT ME!
Parameters: dim - DOCUMENT ME! DOCUMENT ME! |
getZoomedDim | public double getZoomedDim(double dim)(Code) | | DOCUMENT ME!
Parameters: dim - DOCUMENT ME! DOCUMENT ME! |
insideBand | public boolean insideBand()(Code) | | DOCUMENT ME!
DOCUMENT ME! |
insideBandReal | public boolean insideBandReal()(Code) | | DOCUMENT ME!
DOCUMENT ME! |
intersects | public boolean intersects(Point p)(Code) | | DOCUMENT ME!
Parameters: p - DOCUMENT ME! DOCUMENT ME! |
intersects | public boolean intersects(Rectangle r2)(Code) | | DOCUMENT ME!
Parameters: r2 - DOCUMENT ME! DOCUMENT ME! |
intersectsElements | public boolean intersectsElements()(Code) | | DOCUMENT ME!
DOCUMENT ME! |
isIsPrintInFirstWholeBand | public boolean isIsPrintInFirstWholeBand()(Code) | | Getter for property isPrintInFirstWholeBand.
Value of property isPrintInFirstWholeBand. |
isIsPrintRepeatedValues | public boolean isIsPrintRepeatedValues()(Code) | | Getter for property isPrintRepeatedValues.
Value of property isPrintRepeatedValues. |
isIsPrintWhenDetailOverflows | public boolean isIsPrintWhenDetailOverflows()(Code) | | Getter for property isPrintWhenDetailOverflows.
Value of property isPrintWhenDetailOverflows. |
isIsRemoveLineWhenBlank | public boolean isIsRemoveLineWhenBlank()(Code) | | Getter for property isRemoveLineWhenBlank.
Value of property isRemoveLineWhenBlank. |
removeFromAllGroups | public void removeFromAllGroups()(Code) | | DOCUMENT ME!
|
removeFromGroup | public void removeFromGroup(String groupname)(Code) | | DOCUMENT ME!
Parameters: groupname - DOCUMENT ME! |
setBgcolor | public void setBgcolor(java.awt.Color bgcolor)(Code) | | Setter for property bgcolor.
Parameters: bgcolor - New value of property bgcolor. |
setBounds | public void setBounds(java.awt.Rectangle bounds)(Code) | | Setter for property bounds.
Parameters: bounds - New value of property bounds. |
setElementGroup | public void setElementGroup(String elementGroup)(Code) | | |
setElementID | public void setElementID(int elementID)(Code) | | |
setFgcolor | public void setFgcolor(java.awt.Color fgcolor)(Code) | | Setter for property fgcolor.
Parameters: fgcolor - New value of property fgcolor. |
setHeight | public void setHeight(int height)(Code) | | Setter for property height.
Parameters: height - New value of property height. |
setIsPrintInFirstWholeBand | public void setIsPrintInFirstWholeBand(boolean isPrintInFirstWholeBand)(Code) | | Setter for property isPrintInFirstWholeBand.
Parameters: isPrintInFirstWholeBand - New value of propertyisPrintInFirstWholeBand. |
setIsPrintRepeatedValues | public void setIsPrintRepeatedValues(boolean isPrintRepeatedValues)(Code) | | Setter for property isPrintRepeatedValues.
Parameters: isPrintRepeatedValues - New value of propertyisPrintRepeatedValues. |
setIsPrintWhenDetailOverflows | public void setIsPrintWhenDetailOverflows(boolean isPrintWhenDetailOverflows)(Code) | | Setter for property isPrintWhenDetailOverflows.
Parameters: isPrintWhenDetailOverflows - New value of propertyisPrintWhenDetailOverflows. |
setIsRemoveLineWhenBlank | public void setIsRemoveLineWhenBlank(boolean isRemoveLineWhenBlank)(Code) | | Setter for property isRemoveLineWhenBlank.
Parameters: isRemoveLineWhenBlank - New value of propertyisRemoveLineWhenBlank. |
setKey | public void setKey(java.lang.String key)(Code) | | Setter for property key.
Parameters: key - New value of property key. |
setName | public void setName(java.lang.String name)(Code) | | Setter for property name.
Parameters: name - New value of property name. |
setPosition | public void setPosition(Point p)(Code) | | DOCUMENT ME!
Parameters: p - DOCUMENT ME! |
setPositionType | public void setPositionType(java.lang.String positionType)(Code) | | Setter for property positionType.
Parameters: positionType - New value of property positionType. |
setPrintWhenExpression | public void setPrintWhenExpression(java.lang.String printWhenExpression)(Code) | | Setter for property printWhenExpression.
Parameters: printWhenExpression - New value of property printWhenExpression. |
setPrintWhenGroupChanges | public void setPrintWhenGroupChanges(java.lang.String printWhenGroupChanges)(Code) | | Setter for property printWhenGroupChanges.
Parameters: printWhenGroupChanges - New value of propertyprintWhenGroupChanges. |
setRelativePosition | public void setRelativePosition(Point relativePosition)(Code) | | |
setStretchType | public void setStretchType(java.lang.String stretchType)(Code) | | Setter for property stretchType.
Parameters: stretchType - New value of property stretchType. |
setTransparent | public void setTransparent(java.lang.String transparent)(Code) | | Setter for property transparent.
Parameters: transparent - New value of property transparent. |
setWidth | public void setWidth(int width)(Code) | | Setter for property width.
Parameters: width - New value of property width. |
string_replace | public static String string_replace(String s1, String s2, String s3)(Code) | | DOCUMENT ME!
Parameters: s1 - DOCUMENT ME! Parameters: s2 - DOCUMENT ME! Parameters: s3 - DOCUMENT ME! DOCUMENT ME! |
toString | public String toString()(Code) | | DOCUMENT ME!
DOCUMENT ME! |
trasform | public Point trasform(Point delta, int type)(Code) | | DOCUMENT ME!
Parameters: delta - DOCUMENT ME! Parameters: type - DOCUMENT ME! DOCUMENT ME! |
trasformTest | public Point trasformTest(Point delta, int type)(Code) | | DOCUMENT ME!
Parameters: delta - DOCUMENT ME! Parameters: type - DOCUMENT ME! DOCUMENT ME! |
updateBounds | public void updateBounds()(Code) | | DOCUMENT ME!
|
updateRelativePosition | public void updateRelativePosition()(Code) | | this methos adjust the relativo position respect to the parent cell.
If parent cell is null, nothing is done.
You should call this method after a brute setPosition
|
|
|