Class DRDesignComponent
- All Implemented Interfaces:
Serializable
,DRIDesignComponent
- Direct Known Subclasses:
DRDesignBarbecue
,DRDesignBarcode
,DRDesignBreak
,DRDesignCrosstab
,DRDesignEllipse
,DRDesignFiller
,DRDesignGenericElement
,DRDesignHyperlinkComponent
,DRDesignLine
,DRDesignList
,DRDesignMap
,DRDesignRectangle
,DRDesignSubreport
Abstract DRDesignComponent class.
- Author:
- Ricardo Mariaca
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
DRDesignComponent
(String name) Constructor for DRDesignComponent. -
Method Summary
Modifier and TypeMethodDescriptiongetHeight.getName()
getName.getPositionType.getPrintWhenExpression.getPrintWhenGroupChanges.getPropertyExpressions.getStretchType.getStyle()
getStyle.getTableOfContentsHeading.getUniqueName.getWidth()
getWidth.getX()
getX.getY()
getY.protected void
init()
init.boolean
isPrintInFirstWholeBand.boolean
isPrintWhenDetailOverflows.boolean
isRemoveLineWhenBlank.void
Setter for the fieldheight
.void
setPositionType
(ComponentPositionType positionType) Setter for the fieldpositionType
.void
setPrintInFirstWholeBand
(boolean printInFirstWholeBand) Setter for the fieldprintInFirstWholeBand
.void
setPrintWhenDetailOverflows
(boolean printWhenDetailOverflows) Setter for the fieldprintWhenDetailOverflows
.void
setPrintWhenExpression
(DRIDesignExpression printWhenExpression) Setter for the fieldprintWhenExpression
.void
setPrintWhenGroupChanges
(DRIDesignGroup printWhenGroupChanges) Setter for the fieldprintWhenGroupChanges
.void
setPropertyExpressions
(List<DRIDesignPropertyExpression> propertyExpressions) Setter for the fieldpropertyExpressions
.void
setRemoveLineWhenBlank
(boolean isRemoveLineWhenBlank) setRemoveLineWhenBlank.void
setStretchType
(StretchType stretchType) Setter for the fieldstretchType
.void
setStyle
(DRDesignStyle style) Setter for the fieldstyle
.void
setTableOfContentsHeading
(DRDesignTableOfContentsHeading tableOfContentsHeading) Setter for the fieldtableOfContentsHeading
.void
setUniqueName
(String uniqueName) Setter for the fielduniqueName
.void
Setter for the fieldwidth
.void
Setter for the fieldx
.void
Setter for the fieldy
.
-
Constructor Details
-
DRDesignComponent
Constructor for DRDesignComponent.
- Parameters:
name
- aString
object.
-
-
Method Details
-
init
protected void init()init.
-
getName
getName.
- Specified by:
getName
in interfaceDRIDesignComponent
- Returns:
- a
String
object.
-
getUniqueName
getUniqueName.
- Specified by:
getUniqueName
in interfaceDRIDesignComponent
- Returns:
- a
String
object.
-
setUniqueName
Setter for the field
uniqueName
.- Parameters:
uniqueName
- aString
object.
-
getStyle
getStyle.
- Specified by:
getStyle
in interfaceDRIDesignComponent
- Returns:
- a
DRIDesignStyle
object.
-
setStyle
Setter for the field
style
.- Parameters:
style
- aDRDesignStyle
object.
-
getX
getX.
- Specified by:
getX
in interfaceDRIDesignComponent
- Returns:
- a
Integer
object.
-
setX
Setter for the field
x
.- Parameters:
x
- aInteger
object.
-
getY
getY.
- Specified by:
getY
in interfaceDRIDesignComponent
- Returns:
- a
Integer
object.
-
setY
Setter for the field
y
.- Parameters:
y
- aInteger
object.
-
getWidth
getWidth.
- Specified by:
getWidth
in interfaceDRIDesignComponent
- Returns:
- a
Integer
object.
-
setWidth
Setter for the field
width
.- Parameters:
width
- aInteger
object.
-
getHeight
getHeight.
- Specified by:
getHeight
in interfaceDRIDesignComponent
- Returns:
- a
Integer
object.
-
setHeight
Setter for the field
height
.- Parameters:
height
- aInteger
object.
-
getPrintWhenExpression
getPrintWhenExpression.
- Specified by:
getPrintWhenExpression
in interfaceDRIDesignComponent
- Returns:
- a
DRIDesignExpression
object.
-
setPrintWhenExpression
Setter for the field
printWhenExpression
.- Parameters:
printWhenExpression
- aDRIDesignExpression
object.
-
isRemoveLineWhenBlank
public boolean isRemoveLineWhenBlank()isRemoveLineWhenBlank.
- Specified by:
isRemoveLineWhenBlank
in interfaceDRIDesignComponent
- Returns:
- a boolean.
-
setRemoveLineWhenBlank
public void setRemoveLineWhenBlank(boolean isRemoveLineWhenBlank) setRemoveLineWhenBlank.
- Parameters:
isRemoveLineWhenBlank
- a boolean.
-
getPropertyExpressions
getPropertyExpressions.
- Specified by:
getPropertyExpressions
in interfaceDRIDesignComponent
- Returns:
- a
List
object.
-
setPropertyExpressions
Setter for the field
propertyExpressions
.- Parameters:
propertyExpressions
- aList
object.
-
getPositionType
getPositionType.
- Specified by:
getPositionType
in interfaceDRIDesignComponent
- Returns:
- a
ComponentPositionType
object.
-
setPositionType
Setter for the field
positionType
.- Parameters:
positionType
- aComponentPositionType
object.
-
getStretchType
getStretchType.
- Specified by:
getStretchType
in interfaceDRIDesignComponent
- Returns:
- a
StretchType
object.
-
setStretchType
Setter for the field
stretchType
.- Parameters:
stretchType
- aStretchType
object.
-
isPrintInFirstWholeBand
public boolean isPrintInFirstWholeBand()isPrintInFirstWholeBand.
- Specified by:
isPrintInFirstWholeBand
in interfaceDRIDesignComponent
- Returns:
- a boolean.
-
setPrintInFirstWholeBand
public void setPrintInFirstWholeBand(boolean printInFirstWholeBand) Setter for the field
printInFirstWholeBand
.- Parameters:
printInFirstWholeBand
- a boolean.
-
isPrintWhenDetailOverflows
public boolean isPrintWhenDetailOverflows()isPrintWhenDetailOverflows.
- Specified by:
isPrintWhenDetailOverflows
in interfaceDRIDesignComponent
- Returns:
- a boolean.
-
setPrintWhenDetailOverflows
public void setPrintWhenDetailOverflows(boolean printWhenDetailOverflows) Setter for the field
printWhenDetailOverflows
.- Parameters:
printWhenDetailOverflows
- a boolean.
-
getPrintWhenGroupChanges
getPrintWhenGroupChanges.
- Specified by:
getPrintWhenGroupChanges
in interfaceDRIDesignComponent
- Returns:
- a
DRIDesignGroup
object.
-
setPrintWhenGroupChanges
Setter for the field
printWhenGroupChanges
.- Parameters:
printWhenGroupChanges
- aDRIDesignGroup
object.
-
getTableOfContentsHeading
getTableOfContentsHeading.
- Specified by:
getTableOfContentsHeading
in interfaceDRIDesignComponent
- Returns:
- a
DRIDesignTableOfContentsHeading
object.
-
setTableOfContentsHeading
Setter for the field
tableOfContentsHeading
.- Parameters:
tableOfContentsHeading
- aDRDesignTableOfContentsHeading
object.
-