Klasse Element
java.lang.Object
com.inet.report.ReportComponent
com.inet.report.Element
- Alle implementierten Schnittstellen:
GeneralProperties, NodeParser, com.inet.report.ReferenceHolder, Serializable, Cloneable
- Bekannte direkte Unterklassen:
AbstractFontElement, AbstractLineElement, AbstractPictureElement, Chart2, CrossTab, Paragraph, SignatureForm, Text
The class
Each of them is inheriting from this class. It holds the properties that all objects have in common, like position, size, color. The elements used in the report are saved in particular sections; you can get them with method
Element is the superclass of all visible objects in
the report.Each of them is inheriting from this class. It holds the properties that all objects have in common, like position, size, color. The elements used in the report are saved in particular sections; you can get them with method
Section.getElements() in class
Section. Note that the returned array is a snapshot of the
current state of the section. The reason for this is to allow you to
insert elements into a section according to the current state without
creating infinite loops. No field of the array contains an instance of
class Element, each of them is an instance of the subclasses
of Element.- Seit:
- 1.0
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifikator und TypKlasseBeschreibungprotected static enumFOR INTERNAL USE ONLYstatic enumFOR INTERNAL USE ONLYstatic enumFOR INTERNAL USE ONLYprotected static enumFOR INTERNAL USE ONLYprotected static enumFOR INTERNAL USE ONLY -
Feldübersicht
FelderModifikator und TypFeldBeschreibungstatic final intElement is an instance of Box.static final intElement is an instance of Chart.static final intElement is an instance of CrossTab.static final intElement is an instance of CrossTabDescriptionSection.static final intElement is an instance of DatabasePicture.static final intElement is an instance of Field.static final intElement is an instance of FieldPart.static final intElement is an instance of FormFieldElement.static final intElement is an instance of InteractiveSortingstatic final intElement is an instance of JavaBean.static final intElement is an instance of Line.static final intElement is an instance of Paragraph.static final intElement is an instance of Picture.static final intElement is an instance of SignatureForm.static final intElement is an instance of Subreport.static final intElement is an instance of Text.static final intElement is an instance of TextPart. -
Konstruktorübersicht
KonstruktorenModifikatorKonstruktorBeschreibungprotectedElement(int type, com.inet.report.RendererBase renderer) Constructor of Element with necessary dependencies, calls the full constructor with parentSection=null -
Methodenübersicht
Modifikator und TypMethodeBeschreibungvoidAdds a listener.copy()Creates a serializable copy of this Element.intReturns the value of the property 'bottom line style'.Returns the formula of the property 'bottom line style'.final com.inet.lib.list.IntStackFOR INTERNAL USE ONLYfinal intReturns the value of the property 'can grow count'.
This property gives the maximum numbers of lines that a Text or a FieldElement can grow.Returns the formula of the property 'can grow'.
If this property is enabled, elements with dynamic state will be expanded vertically if its content is larger than its container.Returns the formula for the property 'close border on page break'.Returns the formula for the property 'drop shadow'.Returns the Engine this Element is associated with.getField()Returns the field definition element (for example, database field element, prompt field element).intReturns the fore color of the element.Returns the formula fore color of the element.intReturns the value of the property 'horizontal alignment'.
Possible alignments are default, left, center, right or justified.Returns the formula for the property 'horizontal alignment'.
Possible alignments are default, left, center, right or justified.Returns the target url of the hyperlink which is associated with this element.Returns the formula of the property 'hyperlink url'.
Use this property to specify an url of a web site, an e-mail address or the url of a html-file.intReturns the value of the property 'left line style'.Returns the formula for the property 'left line style'.final com.inet.lib.list.IntStackFOR INTERNAL USE ONLYReturns the parent element in object hierarchie (here: Section or null).Returns a list with all property formulas that are set for this report element.intReturns the value of the property 'right line style'.Returns the formula for the property 'right line style'.Returns the formula for the property 'suppress if duplicated'.
If this property is enabled, values of the field that are duplicated will not be printed.Returns the formula for the property 'tight horizontal'.Returns the value of the property 'tool tips text'.
The 'tool tips text' specifies a text which appear after short time slice when you move your mouse on the element.Returns the formula of the property 'tool tips text'.
The 'tool tips text' specifies a text which appear after short time slice when you move your mouse on the element.intReturns the value of the property 'top line style'.Returns the formula of the property 'top line style'.FOR INTERNAL USE ONLYintReturns the value of the property 'vertical alignment'.Gets the formula for the property 'vertical alignment'.intindexOf()Returns the current index of this element in section (z-order).booleanReturns the value of the property 'can grow'.
If this property is enabled, elements with dynamic state will be expanded vertically if its content is larger than its container.booleanReturns the value of the property 'close border on page break'.protected booleanFOR INTERNAL USE ONLYbooleanReturns the value of the property 'drop shadow'.booleanFOR INTERNAL USE ONLYbooleanReturns the value of the property 'suppress if duplicated'.
If this property is enabled, values of the field that are duplicated will not be printed.booleanReturns the value of the property 'tight horizontal'.Creates and return a String representation for debugging.parseElement(com.inet.report.parser.XMLTag group, String tag, Attributes atts, Map<String, Object> parserMap) FOR INTERNAL USE ONLY FOR INTERNAL USE ONLY Internal method for reading report XMLvoidFOR INTERNAL USE ONLY FOR INTERNAL USE ONLY Internal method for reading report XMLvoidRemoves a previously added listener.voidsetBottomLineStyle(int newValue) Sets the value of the property 'bottom line style'.voidsetBottomLineStyleFormula(FormulaField newFormula) Sets the formula for the property 'bottom line style'.final voidsetBulletValueStack(com.inet.lib.list.IntStack bulletValueStack) FOR INTERNAL USE ONLYvoidsetCanGrow(boolean canGrow) Sets the value of the property 'can grow'.
If this property is enabled, elements with dynamic state will be expanded vertically if its content is larger than its container.voidsetCanGrowCount(int newValue) Sets the value of the property 'can grow count'.
This property gives the maximum numbers of lines that a Text or a FieldElement can grow.voidsetCanGrowFormula(FormulaField newFormula) Sets the formula for the property 'can grow'.
If this property is enabled, elements with dynamic state will be expanded vertically if its content is larger than its container.voidsetCloseBorderOnPageBreak(boolean newValue) Sets the value of the property 'close border on page break'.voidsetCloseBorderOnPageBreakFormula(FormulaField newFormula) Sets the formula for the property 'close border on page break'.voidsetDropShadow(boolean newValue) Sets the value of the property 'drop shadow'.voidsetDropShadowFormula(FormulaField newFormula) Sets the formula for the property 'drop shadow'.voidSets the field definition element (for example, DatabaseField element, prompt field element).voidsetForeColor(int newValue) Sets the value of the property 'fore color'.voidsetForeColorFormula(FormulaField newFormula) Sets the formula fore color of the element.voidsetHorAlign(int value) Sets the value of the property 'horizontal alignment'.
Possible alignments are default, left, center, right or justified.voidsetHorAlignFormula(FormulaField newFormula) Sets the formula for the property 'horizontal alignment'.
Possible alignments are default, left, center, right or justified.voidsetHyperlinkUrl(String url) Sets the target location of a hyperlink which is assoziated with this element.
This modify also the hyperlink type.voidsetHyperlinkUrlFormula(FormulaField newFormula) Sets the formula for the property 'hyperlink url'.
Use this property to specify an url of a web site, an e-mail address or the url of a html-file.voidsetIndex(int zPos) Changes the z-order position of this element in the section (0 is all the way in the back, greater numbers cause the elements to overlap elements with a lower z index).voidsetLeftLineStyle(int newValue) Sets the value of the property 'left line style'.voidsetLeftLineStyleFormula(FormulaField newFormula) Sets the formula for the property 'left line style'.final voidsetListStack(com.inet.lib.list.IntStack listStack) FOR INTERNAL USE ONLYvoidFOR INTERNAL USE ONLYvoidsetRightLineStyle(int newValue) Sets the value of the property 'right line style'.voidsetRightLineStyleFormula(FormulaField newFormula) Sets the formula for the property 'right line style'.voidsetSuppressIfDuplicated(boolean newValue) Sets the value of the property 'suppress if duplicated'.
If this property is enabled values of the field that are duplicated will not be printed.voidsetSuppressIfDuplicatedFormula(FormulaField newFormula) Sets the formula for the property 'suppress if duplicated'.
If this property is enabled, values of the field that are duplicated will not be printed.voidsetTightHorizontal(boolean newValue) Sets the value of the property 'tight horizontal'.voidsetTightHorizontalFormula(FormulaField newFormula) Sets the formula for the property 'tight horizontal'.voidsetToolTipsText(String newValue) Sets the value of the property 'tool tips text'.
The 'tool tips text' specifies a text which appear after short time slice when you move your mouse on the element.voidsetToolTipsTextFormula(FormulaField newFormula) Sets the formula for the property 'tool tips text'.
The 'tool tips text' specifies a text which appear after short time slice when you move your mouse on the element.voidsetTopLineStyle(int newValue) Sets the value of the property 'top line style'.voidsetTopLineStyleFormula(FormulaField newFormula) Sets the formula for the property 'top line style'.voidsetVerAlign(int value) Sets the value of the property 'vertical alignment'.voidsetVerAlignFormula(FormulaField newFormula) Sets the formula for the property 'vertical alignment'.Von Klasse geerbte Methoden ReportComponent
addPropertyChangeListener, addPropertyChangeListener, addReferencedObject, addVetoableChangeListener, addVetoableChangeListener, getBackColor, getBackColorFormula, getCustomData, getHeight, getKeepTogetherFormula, getRealReferencedObjectCount, getReferencedObjectCount, getReferencedObjects, getStructElem, getSubComponents, getSuppressFormula, getType, getWidth, getX, getY, isDOMParser, isKeepTogether, isSuppress, parseDOM, parseEndElement, removePropertyChangeListener, removePropertyChangeListener, removeReferencedObject, removeVetoableChangeListener, removeVetoableChangeListener, resetReferences, setBackColor, setBackColorFormula, setCustomData, setHeight, setKeepTogether, setKeepTogetherFormula, setStructElem, setSuppress, setSuppressFormula, setWidth, setX, setYVon Klasse geerbte Methoden Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden GeneralProperties
getKeepTogetherFormula, getSuppressFormula, isKeepTogether, isSuppress, setKeepTogether, setKeepTogetherFormula, setSuppress, setSuppressFormula
-
Felddetails
-
TEXT
public static final int TEXTElement is an instance of Text.- Siehe auch:
-
FIELD
public static final int FIELDElement is an instance of Field.- Siehe auch:
-
LINE
public static final int LINEElement is an instance of Line.- Siehe auch:
-
BOX
public static final int BOXElement is an instance of Box.- Siehe auch:
-
CHART
public static final int CHARTElement is an instance of Chart.- Siehe auch:
-
PICTURE
public static final int PICTUREElement is an instance of Picture.- Siehe auch:
-
SUBREPORT
public static final int SUBREPORTElement is an instance of Subreport.- Siehe auch:
-
DATABASE_PICTURE
public static final int DATABASE_PICTUREElement is an instance of DatabasePicture.- Siehe auch:
-
CROSSTAB
public static final int CROSSTABElement is an instance of CrossTab.- Siehe auch:
-
CROSSTABSECTION
public static final int CROSSTABSECTIONElement is an instance of CrossTabDescriptionSection.- Siehe auch:
-
PARAGRAPH
public static final int PARAGRAPHElement is an instance of Paragraph.- Siehe auch:
-
TEXTPART
public static final int TEXTPARTElement is an instance of TextPart.- Siehe auch:
-
FIELDPART
public static final int FIELDPARTElement is an instance of FieldPart.- Siehe auch:
-
JAVABEAN
public static final int JAVABEANElement is an instance of JavaBean.- Siehe auch:
-
SIGNATURE
public static final int SIGNATUREElement is an instance of SignatureForm.- Siehe auch:
-
FORMFIELD
public static final int FORMFIELDElement is an instance of FormFieldElement.- Siehe auch:
-
INTERACTIVE_SORTING
public static final int INTERACTIVE_SORTINGElement is an instance of InteractiveSorting- Siehe auch:
-
-
Konstruktordetails
-
Element
protected Element(int type, com.inet.report.RendererBase renderer) Constructor of Element with necessary dependencies, calls the full constructor with parentSection=null- Parameter:
type- type of element (valid valus defined in subclasses)renderer- renderer responsible for this element- Seit:
- 5.0
-
-
Methodendetails
-
copy
Creates a serializable copy of this Element. The returned Object is not an instance of Element. This method is used from i-net Designer for Copy and Paste.- Gibt zurück:
- A serializable Object.
- Löst aus:
ReportException- If accessing properties of this Element causes any errors.- Seit:
- 6.0
- Siehe auch:
-
paramString
Creates and return a String representation for debugging.- Setzt außer Kraft:
paramStringin KlasseReportComponent- Gibt zurück:
- String representation of this Element for debugging purposes
- Seit:
- 4.0
-
getField
Returns the field definition element (for example, database field element, prompt field element).- Gibt zurück:
FieldThe current value of the 'field' property.- Seit:
- 3.0
-
setField
Sets the field definition element (for example, DatabaseField element, prompt field element).- Parameter:
newField- The new field element of the property 'field'.- Seit:
- 3.0
-
getParent
Returns the parent element in object hierarchie (here: Section or null).- Gibt zurück:
- The parent element in object hierarchie.
- Seit:
- 3.0
-
getEngine
Returns the Engine this Element is associated with.- Gibt zurück:
- The Engine responsible for this Element
- Seit:
- 6.0
-
indexOf
public int indexOf()Returns the current index of this element in section (z-order). If this Element is not found in the parent section-1is returned.- Angegeben von:
indexOfin KlasseReportComponent- Gibt zurück:
- The index (z-order) of this Element in the parent section or
-1if the Element was not found in the parent section. - Seit:
- 3.0
- Siehe auch:
-
setIndex
Changes the z-order position of this element in the section (0 is all the way in the back, greater numbers cause the elements to overlap elements with a lower z index).- Parameter:
zPos- z Index to set for this Element. 0 would be in the very back. If an Element's z index is greater than the z index of another Element, it will overlap that Element.- Löst aus:
ReportException- Thrown if this element was not found in parent section- Seit:
- 3.0
- Siehe auch:
-
getTypeAsString
-
setForeColor
public void setForeColor(int newValue) Sets the value of the property 'fore color'. This property sets the fore color of the element. Set the value as ABGR, i.e. 0x000000FF for red or use the color constants in class RDC. In most cases this color represents the border color.- Parameter:
newValue- the new Value for the property 'fore color'.- Seit:
- 3.0
- Siehe auch:
-
getForeColor
public int getForeColor()Returns the fore color of the element. Set the value as ABGR, i.e. 0x000000FF for red or use the color constants in class RDC. In most cases this color represents the border color.- Gibt zurück:
- The 'fore color' value of the element.
- Seit:
- 3.0
- Siehe auch:
-
setForeColorFormula
Sets the formula fore color of the element. Set the value as ABGR, i.e. 0x000000FF for red or use the color constants in class RDC. In most cases this color represents the border color.- Parameter:
newFormula- The new formula fore color of this element.- Seit:
- 3.0
- Siehe auch:
-
getForeColorFormula
Returns the formula fore color of the element. Set the value as ABGR, i.e. 0x000000FF for red or use the color constants in class RDC. In most cases this color represents the border color.- Gibt zurück:
FormulaFieldThe formula fore color of this element.- Seit:
- 3.0
- Siehe auch:
-
getBottomLineStyle
public int getBottomLineStyle()Returns the value of the property 'bottom line style'. Returns one of the different line styles single line, double line, dashed line, dotted line or no line. If the property is set to one of the first four, a line will be drawn on the bottom of the element with the defined style.- Gibt zurück:
- The value of the property 'bottom line style'.
- Seit:
- 3.0
- Siehe auch:
-
setBottomLineStyle
public void setBottomLineStyle(int newValue) Sets the value of the property 'bottom line style'. Choose one of the different line styles single line, double line, dashed line, dotted line or no line. If you have chosen one of the first four, a line will be drawn on the bottom of the element with the defined style.- Parameter:
newValue- The new value of the property 'bottom line style'.- Löst aus:
IllegalArgumentException- if newValue is no valid line style- Seit:
- 3.0
- Siehe auch:
-
getBottomLineStyleFormula
Returns the formula of the property 'bottom line style'. Returns the formula that results in one of the following line styles: single line, double line, dashed line, dotted line or no line. If it results in any of the first four a line will be drawn on the bottom of the element with the defined style.- Gibt zurück:
- FormulaField The formula of the property 'bottom line style'.
- Seit:
- 3.0
- Siehe auch:
-
setBottomLineStyleFormula
Sets the formula for the property 'bottom line style'. Give a formula that results in one of the following line styles: single line, double line, dashed line, dotted line or no line. If it results in one of the first four, a line will be drawn on the bottom of the element with the defined style.- Parameter:
newFormula- The new formula for the property 'bottom line style'.- Seit:
- 3.0
- Siehe auch:
-
getTopLineStyle
public int getTopLineStyle()Returns the value of the property 'top line style'. Returns one of the different line styles single line, double line, dashed line, dotted line or no line. If the property is set to one of the first four, a line will be drawn on the top of the element with the defined style.- Gibt zurück:
- The value of the property 'top line style'.
- Seit:
- 3.0
- Siehe auch:
-
setTopLineStyle
public void setTopLineStyle(int newValue) Sets the value of the property 'top line style'. Choose one of the different line styles single line, double line, dashed line, dotted line or no line. If you have chosen one of the first four, a line will be drawn on the top of the element with the defined style.- Parameter:
newValue- The new value of the property 'top line style'.- Löst aus:
IllegalArgumentException- if newValue is no valid line style- Seit:
- 3.0
- Siehe auch:
-
getTopLineStyleFormula
Returns the formula of the property 'top line style'. Returns the formula that results in one of the different line styles single line, double line, dashed line, dotted line or no line. If it results in one of the first four, a line will be drawn on the top of the element with the defined style.- Gibt zurück:
FormulaFieldThe formula of the property 'top line style'.- Seit:
- 6.0
- Siehe auch:
-
setTopLineStyleFormula
Sets the formula for the property 'top line style'. Give a formula that results in one of the different line styles single line, double line, dashed line, dotted line or no line. If it results in one of the first four, a line will be drawn on the top of the element with the defined style.- Parameter:
newFormula- The new formula for the property 'top line style'.- Seit:
- 3.0
- Siehe auch:
-
setLeftLineStyle
public void setLeftLineStyle(int newValue) Sets the value of the property 'left line style'. Choose one of the different line styles single line, double line, dashed line, dotted line or no line. If you have chosen one of the first four, a line will be drawn on the left side of the element with the defined style.- Parameter:
newValue- The new value of the property 'left line style'- Löst aus:
IllegalArgumentException- if newValue is no valid line style- Seit:
- 3.0
- Siehe auch:
-
getLeftLineStyle
public int getLeftLineStyle()Returns the value of the property 'left line style'. Returns one of the different line styles single line, double line, dashed line, dotted line or no line. If the property is set to one of the first four, a line will be drawn on the left side of the element with the defined style.- Gibt zurück:
- The value of the property 'left line style'.
- Seit:
- 3.0
- Siehe auch:
-
setLeftLineStyleFormula
Sets the formula for the property 'left line style'. Give a formula that results in one of the different line styles single line, double line, dashed line, dotted line or no line. If it results in one of the first four, a line will be drawn on the left side of the element with the defined style.- Parameter:
newFormula- The new formula for the property 'left line style'.- Seit:
- 3.0
- Siehe auch:
-
getLeftLineStyleFormula
Returns the formula for the property 'left line style'. Returns a formula that results in one of the different line styles single line, double line, dashed line, dotted line or no line. If it results in one of the first four, a line will be drawn on the left side of the element with the defined style.- Gibt zurück:
FormulaFieldThe formula for the property 'left line style'.- Seit:
- 3.0
- Siehe auch:
-
setRightLineStyle
public void setRightLineStyle(int newValue) Sets the value of the property 'right line style'. Choose one of the different line styles single line, double line, dashed line, dotted line or no line. If you have chosen one of the first four, a line will be drawn on the right side of the element with the defined style.- Parameter:
newValue- The new value of the property 'right line style'.- Löst aus:
IllegalArgumentException- if newValue is no valid line style- Seit:
- 3.0
- Siehe auch:
-
getRightLineStyle
public int getRightLineStyle()Returns the value of the property 'right line style'. Returns one of the different line styles single line, double line, dashed line, dotted line or no line. If the property is set to one of the first four, a line will be drawn on the right side of the element with the defined style.- Gibt zurück:
- The value of the property 'right line style'.
- Seit:
- 3.0
- Siehe auch:
-
setRightLineStyleFormula
Sets the formula for the property 'right line style'. Give a formula that results in one of the different line styles single line, double line, dashed line, dotted line or no line. If it results in one of the first four, a line will be drawn on the right side of the element with the defined style.- Parameter:
newFormula- The new formula for the property 'right line style'.- Seit:
- 3.0
- Siehe auch:
-
getRightLineStyleFormula
Returns the formula for the property 'right line style'. Returns a formula that results in one of the different line styles single line, double line, dashed line, dotted line or no line. If it results in one of the first four, a line will be drawn on the right side of the element with the defined style.- Gibt zurück:
FormulaFieldThe formula for the property 'right line style'.- Seit:
- 3.0
- Siehe auch:
-
setTightHorizontal
public void setTightHorizontal(boolean newValue) Sets the value of the property 'tight horizontal'. If this property is enabled the border of the element will be trimed to the size of the field. When this property is disabled the size will be the same for each record.- Parameter:
newValue-trueif the value should be set, elsefalse.- Seit:
- 3.0
-
setTightHorizontalFormula
Sets the formula for the property 'tight horizontal'. If this property is enabled the border of the element will be trimed to the size of the field. When this property is disabled the size will be the same for each record.- Parameter:
newFormula- The new formula for the property 'tight horizontal'.- Seit:
- 3.0
-
isTightHorizontal
public boolean isTightHorizontal()Returns the value of the property 'tight horizontal'. If this property is enabled the border of the element will be trimmed to the size of the field. When this property is disabled the size will be the same for each record.- Gibt zurück:
- true if the property is set, else
false. - Seit:
- 3.0
-
getTightHorizontalFormula
Returns the formula for the property 'tight horizontal'. If this property is enabled the border of the element will be trimed to the size of the field. When this property is disabled the size will be the same for each record.- Gibt zurück:
FormulaFieldThe formula for the property 'tight horizontal'.- Seit:
- 3.0
-
getHyperlinkUrlFormula
Returns the formula of the property 'hyperlink url'.
Use this property to specify an url of a web site, an e-mail address or the url of a html-file. If formula is not empty a click on the element will open a webbrowser with the content of the web-site or the file, or an e-mail client will open.- Gibt zurück:
FormulaFieldThe formula of the property 'hyperlink url'.- Seit:
- 4.0
-
setHyperlinkUrlFormula
Sets the formula for the property 'hyperlink url'.
Use this property to specify an url of a web site, an e-mail address or the url of a html-file. If formula is not empty a click on the element will open a webbrowser with the content of the web-site or the file, or an e-mail client will open.- Parameter:
newFormula- The new formula for the property 'hyperlink url'.- Seit:
- 4.0
-
setHyperlinkUrl
Sets the target location of a hyperlink which is assoziated with this element.
This modify also the hyperlink type.- Parameter:
url- A string which starts with one of the following protocol types (followed by the target):
mailto:
file:///
http://
or an empty string.- Seit:
- 4.0
-
getHyperlinkUrl
Returns the target url of the hyperlink which is associated with this element.- Gibt zurück:
- A string which starts with one of the following protocol types (followed by the target):
mailto:
file:///
http://
or an empty string. - Seit:
- 4.0
-
setSuppressIfDuplicated
public void setSuppressIfDuplicated(boolean newValue) Sets the value of the property 'suppress if duplicated'.
If this property is enabled values of the field that are duplicated will not be printed.- Angegeben von:
setSuppressIfDuplicatedin SchnittstelleGeneralProperties- Parameter:
newValue- The new value of the property 'suppress if duplicated'.
-
isSuppressIfDuplicated
public boolean isSuppressIfDuplicated()Returns the value of the property 'suppress if duplicated'.
If this property is enabled, values of the field that are duplicated will not be printed.- Angegeben von:
isSuppressIfDuplicatedin SchnittstelleGeneralProperties- Gibt zurück:
- The value of the property 'suppress if duplicated'.
-
setSuppressIfDuplicatedFormula
Sets the formula for the property 'suppress if duplicated'.
If this property is enabled, values of the field that are duplicated will not be printed.- Angegeben von:
setSuppressIfDuplicatedFormulain SchnittstelleGeneralProperties- Parameter:
newFormula- The new formula for the property 'suppress if duplicated'.
-
getSuppressIfDuplicatedFormula
Returns the formula for the property 'suppress if duplicated'.
If this property is enabled, values of the field that are duplicated will not be printed.- Angegeben von:
getSuppressIfDuplicatedFormulain SchnittstelleGeneralProperties- Gibt zurück:
- FormulaField The formula for the property 'suppress if duplicated'.
-
getCanGrowCount
public final int getCanGrowCount()Returns the value of the property 'can grow count'.
This property gives the maximum numbers of lines that a Text or a FieldElement can grow. Give 0 if you do not want to set a limit.- Angegeben von:
getCanGrowCountin SchnittstelleGeneralProperties- Gibt zurück:
- The current value of the property 'can grow count'.
-
setCanGrowCount
public void setCanGrowCount(int newValue) Sets the value of the property 'can grow count'.
This property gives the maximum numbers of lines that a Text or a FieldElement can grow. Give 0 if you do not want to set a limit.- Angegeben von:
setCanGrowCountin SchnittstelleGeneralProperties- Parameter:
newValue- The new value of the property 'can grow count'.- Löst aus:
IllegalArgumentException- when newValue < 0
-
getHorAlignFormula
Returns the formula for the property 'horizontal alignment'.
Possible alignments are default, left, center, right or justified.- Angegeben von:
getHorAlignFormulain SchnittstelleGeneralProperties- Gibt zurück:
- FormulaField The formula for the property 'horizontal alignment'.
-
setHorAlignFormula
Sets the formula for the property 'horizontal alignment'.
Possible alignments are default, left, center, right or justified.- Angegeben von:
setHorAlignFormulain SchnittstelleGeneralProperties- Parameter:
newFormula- The new formula for the property 'horizontal alignment'. The result of the formula should be in range from 0 to 4.- Siehe auch:
-
setHorAlign
public void setHorAlign(int value) Sets the value of the property 'horizontal alignment'.
Possible alignments are default, left, center, right or justified.- Angegeben von:
setHorAlignin SchnittstelleGeneralProperties- Parameter:
value- The new value of the property 'horizontal alignment'.- Löst aus:
IllegalArgumentException- If the value given is not one of the provided constants- Siehe auch:
-
getHorAlign
public int getHorAlign()Returns the value of the property 'horizontal alignment'.
Possible alignments are default, left, center, right or justified.- Angegeben von:
getHorAlignin SchnittstelleGeneralProperties- Gibt zurück:
- Possible return values are default, left, center, right or justified.
- Siehe auch:
-
getVerAlignFormula
Gets the formula for the property 'vertical alignment'. Possible alignments are default, top, center, or bottom.- Angegeben von:
getVerAlignFormulain SchnittstelleGeneralProperties- Gibt zurück:
- The formula for the property 'vertical alignment'.
- Siehe auch:
-
setVerAlignFormula
Sets the formula for the property 'vertical alignment'. Possible alignments are default, top, center, or bottom.- Angegeben von:
setVerAlignFormulain SchnittstelleGeneralProperties- Parameter:
newFormula- The new formula for the property 'horizontal alignment'.- Siehe auch:
-
setVerAlign
public void setVerAlign(int value) Sets the value of the property 'vertical alignment'. Possible alignments are default, left, center, right or justified.- Angegeben von:
setVerAlignin SchnittstelleGeneralProperties- Parameter:
value- The new value of the property 'vertical alignment'.- Siehe auch:
-
getVerAlign
public int getVerAlign()Returns the value of the property 'vertical alignment'. Possible alignments are default, left, center, right or justified.- Angegeben von:
getVerAlignin SchnittstelleGeneralProperties- Gibt zurück:
- the 'vertical alignment' property of this element.
- Siehe auch:
-
isCanGrow
public boolean isCanGrow()Returns the value of the property 'can grow'.
If this property is enabled, elements with dynamic state will be expanded vertically if its content is larger than its container. If this property is disabled the content will be truncated when its size is larger than the container.- Angegeben von:
isCanGrowin SchnittstelleGeneralProperties- Gibt zurück:
- The value of the property 'can grow'.
-
setCanGrow
public void setCanGrow(boolean canGrow) Sets the value of the property 'can grow'.
If this property is enabled, elements with dynamic state will be expanded vertically if its content is larger than its container. If this property is disabled the content will be truncated when its size is larger than the container.- Angegeben von:
setCanGrowin SchnittstelleGeneralProperties- Parameter:
canGrow- The new value of the property 'can grow'
-
getCanGrowFormula
Returns the formula of the property 'can grow'.
If this property is enabled, elements with dynamic state will be expanded vertically if its content is larger than its container. If this property is disabled the content will be truncated when its size is larger than the container.- Angegeben von:
getCanGrowFormulain SchnittstelleGeneralProperties- Gibt zurück:
- FormulaField The formula of the property 'can grow'.
-
setCanGrowFormula
Sets the formula for the property 'can grow'.
If this property is enabled, elements with dynamic state will be expanded vertically if its content is larger than its container. If this property is disabled the content will be truncated when its size is larger than the container.- Angegeben von:
setCanGrowFormulain SchnittstelleGeneralProperties- Parameter:
newFormula- The new formula for the property 'can grow'.
-
setCloseBorderOnPageBreak
public void setCloseBorderOnPageBreak(boolean newValue) Sets the value of the property 'close border on page break'. If this property is enabled and if the element has a border and will break over two pages, then the border of both parts will be closed (on bottom of the first, on top of the second part). If not the borders of both parts will be partial (on bottom of the first, on top of the second part are no borders).- Parameter:
newValue- The new value of the property 'close border on page break'.- Seit:
- 10.0
-
isCloseBorderOnPageBreak
public boolean isCloseBorderOnPageBreak()Returns the value of the property 'close border on page break'. If this property is enabled and if the element has a border and will break over two pages, then the border of both parts will be closed (on bottom of the first, on top of the second part). If not the borders of both parts will be partial (on bottom of the first, on top of the second part are no borders).- Gibt zurück:
- FormulaField The value of the property 'close border on page break'.
- Seit:
- 10.0
-
isCloseBorderOnPageBreakInternal
protected boolean isCloseBorderOnPageBreakInternal()FOR INTERNAL USE ONLY- Gibt zurück:
- The value of the property 'close border on page break'.
-
setCloseBorderOnPageBreakFormula
Sets the formula for the property 'close border on page break'. If this property is enabled and if the element has a border and will break over two pages, then the border of both parts will be closed (on bottom of the first, on top of the second part). If not the borders of both parts will be partial (on bottom of the first, on top of the second part are no borders).- Parameter:
newFormula- The new formula for the property 'close border on page break'.- Seit:
- 10.0
-
getCloseBorderOnPageBreakFormula
Returns the formula for the property 'close border on page break'. If this property is enabled and if the element has a border and will break over two pages, then the border of both parts will be closed (on bottom of the first, on top of the second part). If not the borders of both parts will be partial (on bottom of the first, on top of the second part are no borders).- Gibt zurück:
- FormulaField The formula for the property 'close border on page break'.
- Seit:
- 10.0
-
setDropShadow
public void setDropShadow(boolean newValue) Sets the value of the property 'drop shadow'. If this property is enabled, a shadow will be printed (below and on the right side). Otherwise no shadow will be printed.- Parameter:
newValue-true- shadow will be displayed,false- no shadow.- Seit:
- 3.0
-
isDropShadow
public boolean isDropShadow()Returns the value of the property 'drop shadow'. If this property is enabled, a shadow will be printed (below and on the right side). Otherwise no shadow will be printed.- Gibt zurück:
- true if the shadow will be displayed else
false. - Seit:
- 3.0
-
setDropShadowFormula
Sets the formula for the property 'drop shadow'. If this property is enabled, a shadow will be printed (below and on the right side). Otherwise no shadow will be printed.- Parameter:
newFormula- The new formula for the property 'drop shadow'.- Seit:
- 3.0
-
getDropShadowFormula
Returns the formula for the property 'drop shadow'. If this property is enabled, a shadow will be printed (below and on the right side). Otherwise no shadow will be printed.- Gibt zurück:
- FormulaField The formula for the property 'drop shadow'.
- Seit:
- 3.0
-
getToolTipsText
Returns the value of the property 'tool tips text'.
The 'tool tips text' specifies a text which appear after short time slice when you move your mouse on the element. Use it for little notes.- Angegeben von:
getToolTipsTextin SchnittstelleGeneralProperties- Gibt zurück:
- The value of the property 'tool tips text'.
-
setToolTipsText
Sets the value of the property 'tool tips text'.
The 'tool tips text' specifies a text which appear after short time slice when you move your mouse on the element. Use it for little notes.- Angegeben von:
setToolTipsTextin SchnittstelleGeneralProperties- Parameter:
newValue- The new value of the property 'tool tips text'.
-
getToolTipsTextFormula
Returns the formula of the property 'tool tips text'.
The 'tool tips text' specifies a text which appear after short time slice when you move your mouse on the element. Use it for little notes.- Angegeben von:
getToolTipsTextFormulain SchnittstelleGeneralProperties- Gibt zurück:
- FormulaField The formula of the property 'tool tips text'.
-
setToolTipsTextFormula
Sets the formula for the property 'tool tips text'.
The 'tool tips text' specifies a text which appear after short time slice when you move your mouse on the element. Use it for little notes.- Angegeben von:
setToolTipsTextFormulain SchnittstelleGeneralProperties- Parameter:
newFormula- The new formula for the property 'tool tips text'.
-
addListener
Adds a listener. All added listeners will get an remove call if this element is removed from engine.- Parameter:
erl- An object which implements the CoderXML.ElementRemoveListener and should handle the call-back for this element.- Seit:
- 4.0
-
removeListener
Removes a previously added listener.- Parameter:
erl- An object which implements the CoderXML.ElementRemoveListener interface and should handle the call-back for this element.- Seit:
- 4.0
-
setReferences
public void setReferences()FOR INTERNAL USE ONLY- Angegeben von:
setReferencesin Schnittstellecom.inet.report.ReferenceHolder- Setzt außer Kraft:
setReferencesin KlasseReportComponent
-
getPropertyFormulas
Returns a list with all property formulas that are set for this report element. This includes property formulas for any type of sub-component but excludes formulas for any descendantReportComponentof this one. To get the property formulas for descendantReportComponentuseReportComponent.getSubComponents()- Setzt außer Kraft:
getPropertyFormulasin KlasseReportComponent- Gibt zurück:
- List of property formulas
- Seit:
- 6.0
-
isInCrossTab
public boolean isInCrossTab()FOR INTERNAL USE ONLY- Seit:
- 6.1
-
setListStack
public final void setListStack(com.inet.lib.list.IntStack listStack) FOR INTERNAL USE ONLY- Seit:
- 6.1
-
setBulletValueStack
public final void setBulletValueStack(com.inet.lib.list.IntStack bulletValueStack) FOR INTERNAL USE ONLY- Seit:
- 6.1
-
getBulletValueStack
public final com.inet.lib.list.IntStack getBulletValueStack()FOR INTERNAL USE ONLY- Seit:
- 6.1
-
getListStack
public final com.inet.lib.list.IntStack getListStack()FOR INTERNAL USE ONLY- Seit:
- 6.1
-
parseElement
public NodeParser parseElement(com.inet.report.parser.XMLTag group, String tag, Attributes atts, Map<String, Object> parserMap) throws FatalParserExceptionFOR INTERNAL USE ONLY FOR INTERNAL USE ONLY Internal method for reading report XMLParses an XML node with the given information, and returns either a sub-element which was created as a result, or null if no sub-element was created, i.e. the information was applied to the ReportComponent itself. Note that the parsing is highly tolerant, i.e. exceptions are intercepted and suppressed if at all possible.
- Angegeben von:
parseElementin SchnittstelleNodeParser- Setzt außer Kraft:
parseElementin KlasseReportComponent- Parameter:
group- XMLTag of the current node to be parsed, or null if there is no such current group. An XMLTag is a group of nodes bundled together, usually it is a Properties node such as CommonProperties, BorderProperties, etc.tag- The XMLTag to be parsedatts- The set of attributes in the current XMLTagparserMap- The map of current Parser.- Gibt zurück:
- The NodeParser sub-element if one needed to be created, or null if none was created.
- Löst aus:
FatalParserException- if an exception occurs which causes the report to not be able to be read: causes the abortion of the reading of the report.
-
parseText
FOR INTERNAL USE ONLY FOR INTERNAL USE ONLY Internal method for reading report XMLThis method is called if text was encountered in the context of this node. (Examples would be a formula's text or a text element's text)
- Angegeben von:
parseTextin SchnittstelleNodeParser- Setzt außer Kraft:
parseTextin KlasseReportComponent- Parameter:
textData- text encountered and to be storedparserMap- The map of current Parser.
-