BBjFont
Description
BBjFont is an object that represents a font, which can be used to set or retrieve the font of a BBjControl.
Creation
A BBjFont object is created through the following BBjSysGui method:
| Return Value | Method |
|---|---|
|
BBjFont |
makeFont(String name, int size, int style) |
Methods of BBjFont
| Return Value | Method |
|---|---|
|
String |
getName() |
|
int |
getSize() |
|
int |
getStyle() |
Constants
| Font Style | Value |
|---|---|
|
FONT_PLAIN |
0 |
|
FONT_BOLD |
1 |
|
FONT_ITALIC |
2 |
|
FONT_UNDERLINE |
16 |
|
FONT_STRIKEOUT |
512 |
Example
|
See Also
BBj Object Creation and Assignment
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.