public class AdhocStyle extends Object implements Cloneable, Serializable
AdhocStyle class.
| Constructor and Description |
|---|
AdhocStyle() |
| Modifier and Type | Method and Description |
|---|---|
AdhocStyle |
clone() |
boolean |
equals(Object obj) |
Color |
getBackgroundColor()
Getter for the field
backgroundColor. |
AdhocPen |
getBottomBorder()
Getter for the field
bottomBorder. |
AdhocFont |
getFont()
Getter for the field
font. |
Color |
getForegroundColor()
Getter for the field
foregroundColor. |
AdhocHorizontalAlignment |
getHorizontalAlignment()
Getter for the field
horizontalAlignment. |
AdhocPen |
getLeftBorder()
Getter for the field
leftBorder. |
String |
getPattern()
Getter for the field
pattern. |
AdhocPen |
getRightBorder()
Getter for the field
rightBorder. |
AdhocPen |
getTopBorder()
Getter for the field
topBorder. |
AdhocVerticalAlignment |
getVerticalAlignment()
Getter for the field
verticalAlignment. |
void |
setBackgroundColor(Color backgroundColor)
Setter for the field
backgroundColor. |
void |
setBottomBorder(AdhocPen bottomBorder)
Setter for the field
bottomBorder. |
void |
setFont(AdhocFont font)
Setter for the field
font. |
void |
setForegroundColor(Color foregroundColor)
Setter for the field
foregroundColor. |
void |
setHorizontalAlignment(AdhocHorizontalAlignment horizontalAlignment)
Setter for the field
horizontalAlignment. |
void |
setLeftBorder(AdhocPen leftBorder)
Setter for the field
leftBorder. |
void |
setPattern(String pattern)
Setter for the field
pattern. |
void |
setRightBorder(AdhocPen rightBorder)
Setter for the field
rightBorder. |
void |
setTopBorder(AdhocPen topBorder)
Setter for the field
topBorder. |
void |
setVerticalAlignment(AdhocVerticalAlignment verticalAlignment)
Setter for the field
verticalAlignment. |
public void setFont(AdhocFont font)
Setter for the field font.
font - a AdhocFont object.public AdhocPen getTopBorder()
Getter for the field topBorder.
AdhocPen object.public void setTopBorder(AdhocPen topBorder)
Setter for the field topBorder.
topBorder - a AdhocPen object.public AdhocPen getLeftBorder()
Getter for the field leftBorder.
AdhocPen object.public void setLeftBorder(AdhocPen leftBorder)
Setter for the field leftBorder.
leftBorder - a AdhocPen object.public AdhocPen getBottomBorder()
Getter for the field bottomBorder.
AdhocPen object.public void setBottomBorder(AdhocPen bottomBorder)
Setter for the field bottomBorder.
bottomBorder - a AdhocPen object.public AdhocPen getRightBorder()
Getter for the field rightBorder.
AdhocPen object.public void setRightBorder(AdhocPen rightBorder)
Setter for the field rightBorder.
rightBorder - a AdhocPen object.public Color getForegroundColor()
Getter for the field foregroundColor.
Color object.public void setForegroundColor(Color foregroundColor)
Setter for the field foregroundColor.
foregroundColor - a Color object.public Color getBackgroundColor()
Getter for the field backgroundColor.
Color object.public void setBackgroundColor(Color backgroundColor)
Setter for the field backgroundColor.
backgroundColor - a Color object.public AdhocHorizontalAlignment getHorizontalAlignment()
Getter for the field horizontalAlignment.
AdhocHorizontalAlignment object.public void setHorizontalAlignment(AdhocHorizontalAlignment horizontalAlignment)
Setter for the field horizontalAlignment.
horizontalAlignment - a AdhocHorizontalAlignment object.public AdhocVerticalAlignment getVerticalAlignment()
Getter for the field verticalAlignment.
AdhocVerticalAlignment object.public void setVerticalAlignment(AdhocVerticalAlignment verticalAlignment)
Setter for the field verticalAlignment.
verticalAlignment - a AdhocVerticalAlignment object.public void setPattern(String pattern)
Setter for the field pattern.
pattern - a String object.public AdhocStyle clone()
Copyright © 2010–2021. All rights reserved.