Class DRDesignBaseStyle
- All Implemented Interfaces:
Serializable
,DRIDesignBaseStyle
- Direct Known Subclasses:
DRDesignConditionalStyle
,DRDesignStyle
Abstract DRDesignBaseStyle class.
- Author:
- Ricardo Mariaca
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getBackgroundColor.getBorder.getFont()
getFont.getForegroundColor.getHorizontalImageAlignment.getHorizontalTextAlignment.getImageScale.getLinePen.getMarkup.getPadding.getParagraph.getPattern.getRadius.getRotation.getVerticalImageAlignment.getVerticalTextAlignment.void
setBackgroundColor
(Color backgroundColor) Setter for the fieldbackgroundColor
.void
setBorder
(DRDesignBorder border) Setter for the fieldborder
.void
setFont
(DRDesignFont font) Setter for the fieldfont
.void
setForegroundColor
(Color foregroundColor) Setter for the fieldforegroundColor
.void
setHorizontalImageAlignment
(HorizontalImageAlignment horizontalImageAlignment) Setter for the fieldhorizontalImageAlignment
.void
setHorizontalTextAlignment
(HorizontalTextAlignment horizontalTextAlignment) Setter for the fieldhorizontalTextAlignment
.void
setImageScale
(ImageScale imageScale) Setter for the fieldimageScale
.void
setLinePen
(DRDesignPen linePen) Setter for the fieldlinePen
.void
Setter for the fieldmarkup
.void
setPadding
(DRDesignPadding padding) Setter for the fieldpadding
.void
setParagraph
(DRDesignParagraph paragraph) Setter for the fieldparagraph
.void
setPattern
(String pattern) Setter for the fieldpattern
.void
Setter for the fieldradius
.void
setRotation
(Rotation rotation) Setter for the fieldrotation
.void
setVerticalImageAlignment
(VerticalImageAlignment verticalImageAlignment) Setter for the fieldverticalImageAlignment
.void
setVerticalTextAlignment
(VerticalTextAlignment verticalTextAlignment) Setter for the fieldverticalTextAlignment
.
-
Constructor Details
-
DRDesignBaseStyle
public DRDesignBaseStyle()
-
-
Method Details
-
getForegroundColor
getForegroundColor.
- Specified by:
getForegroundColor
in interfaceDRIDesignBaseStyle
- Returns:
- a
Color
object.
-
setForegroundColor
Setter for the field
foregroundColor
.- Parameters:
foregroundColor
- aColor
object.
-
getBackgroundColor
getBackgroundColor.
- Specified by:
getBackgroundColor
in interfaceDRIDesignBaseStyle
- Returns:
- a
Color
object.
-
setBackgroundColor
Setter for the field
backgroundColor
.- Parameters:
backgroundColor
- aColor
object.
-
getRadius
getRadius.
- Specified by:
getRadius
in interfaceDRIDesignBaseStyle
- Returns:
- a
Integer
object.
-
setRadius
Setter for the field
radius
.- Parameters:
radius
- aInteger
object.
-
getImageScale
getImageScale.
- Specified by:
getImageScale
in interfaceDRIDesignBaseStyle
- Returns:
- a
ImageScale
object.
-
setImageScale
Setter for the field
imageScale
.- Parameters:
imageScale
- aImageScale
object.
-
getHorizontalTextAlignment
getHorizontalTextAlignment.
- Specified by:
getHorizontalTextAlignment
in interfaceDRIDesignBaseStyle
- Returns:
- a
HorizontalTextAlignment
object.
-
setHorizontalTextAlignment
Setter for the field
horizontalTextAlignment
.- Parameters:
horizontalTextAlignment
- aHorizontalTextAlignment
object.
-
getVerticalTextAlignment
getVerticalTextAlignment.
- Specified by:
getVerticalTextAlignment
in interfaceDRIDesignBaseStyle
- Returns:
- a
VerticalTextAlignment
object.
-
setVerticalTextAlignment
Setter for the field
verticalTextAlignment
.- Parameters:
verticalTextAlignment
- aVerticalTextAlignment
object.
-
getHorizontalImageAlignment
getHorizontalImageAlignment.
- Specified by:
getHorizontalImageAlignment
in interfaceDRIDesignBaseStyle
- Returns:
- a
HorizontalImageAlignment
object.
-
setHorizontalImageAlignment
Setter for the field
horizontalImageAlignment
.- Parameters:
horizontalImageAlignment
- aHorizontalImageAlignment
object.
-
getVerticalImageAlignment
getVerticalImageAlignment.
- Specified by:
getVerticalImageAlignment
in interfaceDRIDesignBaseStyle
- Returns:
- a
VerticalImageAlignment
object.
-
setVerticalImageAlignment
Setter for the field
verticalImageAlignment
.- Parameters:
verticalImageAlignment
- aVerticalImageAlignment
object.
-
getBorder
getBorder.
- Specified by:
getBorder
in interfaceDRIDesignBaseStyle
- Returns:
- a
DRIDesignBorder
object.
-
setBorder
Setter for the field
border
.- Parameters:
border
- aDRDesignBorder
object.
-
getPadding
getPadding.
- Specified by:
getPadding
in interfaceDRIDesignBaseStyle
- Returns:
- a
DRIDesignPadding
object.
-
setPadding
Setter for the field
padding
.- Parameters:
padding
- aDRDesignPadding
object.
-
getFont
getFont.
- Specified by:
getFont
in interfaceDRIDesignBaseStyle
- Returns:
- a
DRIDesignFont
object.
-
setFont
Setter for the field
font
.- Parameters:
font
- aDRDesignFont
object.
-
getRotation
getRotation.
- Specified by:
getRotation
in interfaceDRIDesignBaseStyle
- Returns:
- a
Rotation
object.
-
setRotation
Setter for the field
rotation
.- Parameters:
rotation
- aRotation
object.
-
getPattern
getPattern.
- Specified by:
getPattern
in interfaceDRIDesignBaseStyle
- Returns:
- a
String
object.
-
setPattern
Setter for the field
pattern
.- Parameters:
pattern
- aString
object.
-
getMarkup
getMarkup.
- Specified by:
getMarkup
in interfaceDRIDesignBaseStyle
- Returns:
- a
Markup
object.
-
setMarkup
Setter for the field
markup
.- Parameters:
markup
- aMarkup
object.
-
getParagraph
getParagraph.
- Specified by:
getParagraph
in interfaceDRIDesignBaseStyle
- Returns:
- a
DRIDesignParagraph
object.
-
setParagraph
Setter for the field
paragraph
.- Parameters:
paragraph
- aDRDesignParagraph
object.
-
getLinePen
getLinePen.
- Specified by:
getLinePen
in interfaceDRIDesignBaseStyle
- Returns:
- a
DRIDesignPen
object.
-
setLinePen
Setter for the field
linePen
.- Parameters:
linePen
- aDRDesignPen
object.
-
equals
-