|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.jfree.workbook.GeneralStyleModifier
A general style modifier that can change a variety of style settings.
| Field Summary | |
protected int |
horizontalAlignment
The new horizontal alignment, if required. |
protected boolean |
modifyHorizontalAlignment
Change the horizontal alignment (yes/no). |
protected boolean |
modifyVerticalAlignment
Change the vertical alignment (yes/no). |
protected boolean |
modifyWrapText
Change the wrap text setting (yes/no). |
protected int |
verticalAlignment
The new vertical alignment, if required. |
protected boolean |
wrapText
The new wrap text setting, if required. |
| Constructor Summary | |
GeneralStyleModifier(boolean modifyWrapText,
boolean wrapText)
Standard constructor. |
|
GeneralStyleModifier(boolean modifyHorizontalAlignment,
int horizontalAlignment,
boolean modifyVerticalAlignment,
int verticalAlignment)
Standard constructor. |
|
| Method Summary | |
Style |
getModifiedStyle(Style style)
Returns a new style based on the supplied style, but modified in some way. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected boolean modifyHorizontalAlignment
protected int horizontalAlignment
protected boolean modifyVerticalAlignment
protected int verticalAlignment
protected boolean modifyWrapText
protected boolean wrapText
| Constructor Detail |
public GeneralStyleModifier(boolean modifyHorizontalAlignment,
int horizontalAlignment,
boolean modifyVerticalAlignment,
int verticalAlignment)
modifyHorizontalAlignment - change the horizontal alignment (yes/no).horizontalAlignment - the new horizontal alignment.modifyVerticalAlignment - change the vertical alignment (yes/no).verticalAlignment - the new vertical alignment.
public GeneralStyleModifier(boolean modifyWrapText,
boolean wrapText)
modifyWrapText - change the wrap text setting (yes/no).wrapText - the new wrap text setting.| Method Detail |
public Style getModifiedStyle(Style style)
getModifiedStyle in interface StyleModifierstyle - the style to be changed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||