|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Font
The Font interface defines font settings. Note that whenever changing one of these values, none of the other values will be
inherited from the parent. For example, after changing the font size from 12 to 13, changing the font
name of the parent element has no longer any affect on this font name. This can be undone by calling
Decoration.setFont(null).
Decoration| Method Summary | |
|---|---|
java.lang.String |
getName()
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards. |
int |
getSize()
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards. |
int |
getStyle()
Returns the style of the font. |
void |
setName(java.lang.String fontName)
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards. |
void |
setSize(int size)
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards. |
void |
setStyle(int style)
Changes the font style. |
| Method Detail |
|---|
java.lang.String getName()
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards.
Returns the font name.
void setName(java.lang.String fontName)
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards.
Changes the font name. This has to be one of the names as returned byReportEngine.getInstalledFontNames().
fontName - the new font name, or null to inherit the font name from the
parent element
java.lang.NullPointerException - when fontName is null and there is no
parent
java.lang.IllegalArgumentException - when fontName is not in the font names as returned
by ReportEngine.getInstalledFontNames()int getSize()
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards.
Returns the font size, in points.
void setSize(int size)
Warning: This method is no longer functional from the SAP BusinessObjects 4.0 release onwards.
Changes the font size.
size - the new size, in points, or when size < 0, the size will be inherited
from the parent element
java.lang.IllegalArgumentException - when size < 0 and there is no parentint getStyle()
StyleType.
void setStyle(int style)
StyleType are checked; any other bits
are ignored.
style - the new style
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||