|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.netanel.swt.matrix.Style
public class Style
Graphical style properties used by painters.
Field Summary | |
---|---|
Color |
background
Background color. |
Font |
font
Font for the text. |
Color |
foreground
Foreground color. |
boolean |
hasLineBreaks
Indicates text in the cells can have hard line breaks. |
boolean |
hasWordWraping
Word wrapping for text in cells. |
int |
imageAlignX
Horizontal image alignment. |
int |
imageAlignY
Vertical image alignment. |
int |
imageMarginBottom
Bottom image margin. |
int |
imageMarginLeft
Left image margin. |
int |
imageMarginRight
Right image margin. |
int |
imageMarginTop
Top image margin. |
int |
imageMarginX
Horizontal image margin. |
int |
imageMarginY
Vertical image margin. |
Color |
selectionBackground
Background color of selected cells. |
Color |
selectionForeground
Foreground color of selected cells. |
int |
textAlignX
Horizontal text alignment. |
int |
textAlignY
Vertical text alignment. |
int |
textMarginBottom
Bottom text margin. |
int |
textMarginLeft
Left text margin. |
int |
textMarginRight
Right text margin. |
int |
textMarginTop
Top text margin. |
int |
textMarginX
Horizontal text margin. |
int |
textMarginY
Vertical text margin. |
Constructor Summary | |
---|---|
Style()
|
Method Summary | |
---|---|
static Style |
createBodyCellStyle()
Creates a default style for the cells of the body zone. |
static Style |
createBodyLineStyle()
Creates a default style for the lines of the body zone. |
static Style |
createHeaderCellStyle()
Creates a default style for the cells of the header type of zones. |
static Style |
createHeaderLineStyle()
Creates a default style for the lines of the header type of zones. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Color foreground
public Color background
public Color selectionForeground
public Color selectionBackground
public int textAlignX
public int textAlignY
public int imageAlignX
public int imageAlignY
public int textMarginX
public int textMarginY
public int textMarginLeft
public int textMarginRight
public int textMarginTop
public int textMarginBottom
public int imageMarginX
public int imageMarginY
public int imageMarginLeft
public int imageMarginRight
public int imageMarginTop
public int imageMarginBottom
public Font font
public boolean hasWordWraping
public boolean hasLineBreaks
Constructor Detail |
---|
public Style()
Method Detail |
---|
public static Style createBodyCellStyle()
public static Style createBodyLineStyle()
public static Style createHeaderCellStyle()
public static Style createHeaderLineStyle()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |