|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Provides drawing styles used by graphics and field objects.
Note that all the drawing position static members are
intended for use with Graphics.drawText.
| Field Summary | ||
static int |
BASELINE
Drawing position for the baseline of the text. |
|
static int |
BOTTOM
Drawing position for the bottom of the text. |
|
static int |
ELLIPSIS
Drawing position style to indicate use of ellipsis for text that is too long to draw. |
|
static int |
HALIGN_MASK
Specifies the horizontial alignment. |
|
static int |
HCENTER
Drawing position for horizontally centered text. |
|
static int |
HDEFAULT
Default horizontal alignment, depending on context. |
|
static int |
HFULL
Drawing position for full justification of text (not yet implemented). |
|
static int |
LEADING
Leading horizontal alignment (reserved for future use). |
|
static int |
LEFT
Drawing position for left-aligned text. |
|
static int |
RIGHT
Drawing position for right-aligned text. |
|
static int |
TOP
Drawing position for the top of the text. |
|
static int |
TRAILING
Trailing horizontal alignment (reserved for future use). |
|
static int |
TRUNCATE_BEGINNING
Truncates the start of the text. |
|
static int |
VALIGN_MASK
Specifies the vertical alignment. |
|
static int |
VCENTER
Drawing position for the vertical center of the text. |
|
static int |
VDEFAULT
Default vertical alignment, depending on context. |
|
static int |
VFULL
Drawing position for the vertical full of the text. |
|
| Field Detail |
public static final int ELLIPSIS
public static final int HFULL
public static final int LEADING
Indicates the contents should be aligned with the leading edge of a control, for example, for right-to-left orientations.
public static final int TRAILING
Indicates the contents should be aligned with the traling edge of a control, for example, for right-to-left orientations.
public static final int TRUNCATE_BEGINNING
With ELLIPSIS, the ellipsis will show up at the front.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2007 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.