|
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 | ||||||||
java.lang.Objectorg.eclipse.tptp.platform.report.core.internal.DStyle
org.eclipse.tptp.platform.report.birt).
public class DStyle
DStyle describes the way how a paragraph is presented in a document: it is composed of a name, a font, a foreground color, a background color and a format like BULLETS, NUMBERS, ROMAN LETTERS, LETTERS, ARROWS, FINGERS or NOTHING.
DStyleRegistry| Field Summary | |
|---|---|
static int |
GLYPH
Deprecated. Style property: GLYPH displays an arrow in front of each title and list item. |
static int |
LETTER
Deprecated. Style property: LETTER displays incremented letter in front of each title and list item. |
static int |
NOTHING
Deprecated. Style property: NOTHING displays nothing in front of a paragraph title and list item. |
static int |
NUMBER
Deprecated. Style property: NUMBER displays incremented number in front of each title and list item. |
static int |
ROMAN_NUMBER
Deprecated. Style property: ROMAN_NUMBER displays an incremented roman number in front of each title and list item. |
static java.lang.String |
T_GLYPH
Deprecated. |
static java.lang.String |
T_LETTER
Deprecated. |
static java.lang.String |
T_NOTHING
Deprecated. |
static java.lang.String |
T_ROMAN_NUMBER
Deprecated. |
| Constructor Summary | |
|---|---|
DStyle()
Deprecated. Creates a DStyle. |
|
DStyle(java.lang.String n)
Deprecated. Creates a DStyle,Setting only a name with a null font, a null background and foreground color, a null wallpaper and a numberingFormat equal to 0 |
|
DStyle(java.lang.String n,
IDFont f,
IDColor fore,
IDColor back)
Deprecated. Creates a DStyle named 'n' with font 'f', foreground color 'fore' and background color 'back'. |
|
DStyle(java.lang.String n,
IDStyle s)
Deprecated. Creates a DStyle named 'n' and gets the information background color, foreground color and title format from the style 's'. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Deprecated. Compares two styles. |
IDColor |
getBackColor()
Deprecated. Gets the background color of the style. |
IDFont |
getFont()
Deprecated. Gets the font of the style. |
IDColor |
getForeColor()
Deprecated. Gets the foreground color of the style. |
java.lang.String |
getID()
Deprecated. |
java.lang.String |
getName()
Deprecated. Access method for the name property. |
int |
getNumberingFormat()
Deprecated. Access method for the numberingFormat property. |
IDWallpaper |
getWallpaper()
Deprecated. Returns the wall paper of the style. |
boolean |
isValidNumberingFormat(int f)
Deprecated. Retruns true if the integer 'f' passed in parameter is a valid format. |
java.lang.String |
numberingFormatToString(int i)
Deprecated. Returns the string numbering format name for this integer value. |
void |
setBackColor(IDColor c)
Deprecated. Sets the background color of the style. |
void |
setFont(IDFont f)
Deprecated. Sets the font of the style. |
void |
setForeColor(IDColor c)
Deprecated. Sets the foreground color of the style. |
void |
setName(java.lang.String aName)
Deprecated. Sets the value of the name property. |
void |
setNumberingFormat(int aNumberingFormat)
Deprecated. Sets the value of the numberingFormat property. |
void |
setWallpaper(IDWallpaper wallpaper)
Deprecated. Changes (replaces) current wallpaper. |
int |
stringToNumberingFormat(java.lang.String s)
Deprecated. Returns the integer numbering format value for this string name. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NUMBER
public static final int ROMAN_NUMBER
public static final java.lang.String T_ROMAN_NUMBER
public static final int LETTER
public static final java.lang.String T_LETTER
public static final int NOTHING
public static final java.lang.String T_NOTHING
public static final int GLYPH
public static final java.lang.String T_GLYPH
| Constructor Detail |
|---|
public DStyle(java.lang.String n,
IDStyle s)
n - name of the styles - style withe specified foreground color, background color and title
format.
public DStyle(java.lang.String n,
IDFont f,
IDColor fore,
IDColor back)
n - name of the stylef - font of the stylefore - foregroundcolor of the styleback - backgroundcolor of the stylepublic DStyle()
public DStyle(java.lang.String n)
| Method Detail |
|---|
public java.lang.String getName()
getName in interface IDStylepublic void setName(java.lang.String aName)
setName in interface IDStyleaName - the new value of the name propertypublic int getNumberingFormat()
getNumberingFormat in interface IDStylepublic void setNumberingFormat(int aNumberingFormat)
setNumberingFormat in interface IDStyleaNumberingFormat - the new value of the numberingFormat propertypublic void setFont(IDFont f)
setFont in interface IDStylef - style fontpublic IDFont getFont()
getFont in interface IDStylepublic void setForeColor(IDColor c)
setForeColor in interface IDStylec - style foreground colorpublic void setBackColor(IDColor c)
setBackColor in interface IDStylec - style background colorpublic IDColor getBackColor()
getBackColor in interface IDStylepublic boolean isValidNumberingFormat(int f)
public IDColor getForeColor()
getForeColor in interface IDStylepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - object to be comparedpublic java.lang.String numberingFormatToString(int i)
i - valid numbering format integer value.stringToNumberingFormat(java.lang.String),
isValidNumberingFormat(int)public int stringToNumberingFormat(java.lang.String s)
s - valid numbering format name.stringToNumberingFormat(java.lang.String),
isValidNumberingFormat(int)public IDWallpaper getWallpaper()
getWallpaper in interface IDStylepublic void setWallpaper(IDWallpaper wallpaper)
setWallpaper in interface IDStylepublic java.lang.String getID()
getID in interface IDStyle
|
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 | ||||||||