public class Style
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
org.eclipse.swt.graphics.Color |
background
Background color.
|
org.eclipse.swt.graphics.Font |
font
Font for the text.
|
org.eclipse.swt.graphics.Color |
foreground
Foreground color.
|
boolean |
hasWordWraping
Word wrapping for text in cells.
|
int |
imageAlignX
Horizontal image alignment.
|
int |
imageAlignY
Vertical image alignment.
|
int |
imageMarginX
Horizontal image margin.
|
int |
imageMarginY
Vertical image margin.
|
org.eclipse.swt.graphics.Color |
selectionBackground
Background color of selected cells.
|
org.eclipse.swt.graphics.Color |
selectionForeground
Foreground color of selected cells.
|
int |
textAlignX
Horizontal text alignment.
|
int |
textAlignY
Vertical text alignment.
|
int |
textMarginX
Horizontal text margin.
|
int |
textMarginY
Vertical text margin.
|
Constructor and Description |
---|
Style() |
Modifier and Type | Method and Description |
---|---|
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.
|
public org.eclipse.swt.graphics.Color foreground
public org.eclipse.swt.graphics.Color background
public org.eclipse.swt.graphics.Color selectionForeground
public org.eclipse.swt.graphics.Color selectionBackground
public int textAlignX
public int textAlignY
public int imageAlignX
public int imageAlignY
public int textMarginX
public int textMarginY
public int imageMarginX
public int imageMarginY
public org.eclipse.swt.graphics.Font font
public boolean hasWordWraping
public static Style createBodyCellStyle()
public static Style createBodyLineStyle()
public static Style createHeaderCellStyle()
public static Style createHeaderLineStyle()
Copyright © 2011 netanel.pl. All Rights Reserved.