|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.eclipse.tptp.platform.report.birt).
public interface IDFont
Provides an interface for the Font object in JScrib documents. A font is defined with its family and script. Script is the charset code that the font uses in the all font characters (ex: latin1). An IDFont has a size in pixel and a style. The style is a combination of followings values:
| Field Summary | |
|---|---|
static int |
BOLD
Deprecated. define BOLD font style |
static int |
DASHED
Deprecated. define DASHED font style (a dashed line below text) |
static int |
ITALIC
Deprecated. define ITALIC font style |
static int |
LINE_STYLES
Deprecated. Mask for properties style "lines". |
static int |
NORMAL
Deprecated. define NORMAL font style |
static int |
OVERLINE
Deprecated. define OVERLINE font style (a line above text) |
static int |
STRIKE
Deprecated. define STRIKE font style (a line over text) |
static int |
UNDERLINE
Deprecated. define UNDERLINE font style (a line below text) |
| Method Summary | |
|---|---|
java.lang.String |
getFamily()
Deprecated. Returns if the font family. |
java.lang.String |
getID()
Deprecated. |
java.lang.String |
getScript()
Deprecated. Returns if the font script name. |
int |
getSize()
Deprecated. Returns the font size. |
int |
getStyle()
Deprecated. Returns the font style. |
boolean |
haveStyle(int _style)
Deprecated. Checks if the font has one or more style item of _style |
boolean |
isStyle(int _style)
Deprecated. Checks if the font has the style _style |
void |
setFamily(java.lang.String f)
Deprecated. Sets the font family to 'f'. |
void |
setScript(java.lang.String s)
Deprecated. Sets the font script name to 's'. |
void |
setSize(int s)
Deprecated. Sets the font size to 's'. |
void |
setStyle(int style)
Deprecated. Set the font style. |
| Field Detail |
|---|
static final int NORMAL
static final int BOLD
static final int ITALIC
static final int UNDERLINE
static final int OVERLINE
static final int DASHED
static final int STRIKE
static final int LINE_STYLES
| Method Detail |
|---|
java.lang.String getFamily()
java.lang.String getScript()
int getSize()
int getStyle()
void setFamily(java.lang.String f)
f - font family parametervoid setScript(java.lang.String s)
s - font script namevoid setSize(int s)
s - font sizevoid setStyle(int style)
style - new font styleboolean isStyle(int _style)
boolean haveStyle(int _style)
java.lang.String getID()
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||