|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.businessobjects.rebean.wi.PlatformType
public final class PlatformType
The PlatformType
class defines unique identifiers for
platforms for which FontMapping
exist.
A FontMapping
defines the mapping between a server font name
and a platform-specific font name.
ReportEngine.getInstalledFontNames(PlatformType)
,
FontMapping
Field Summary | |
---|---|
static int |
_HTML
The int value of HTML.value() . |
static int |
_JAVA
The int value of JAVA.value() . |
static int |
_WINDOWS
The int value of WINDOWS.value() . |
static PlatformType |
HTML
HTML-style font mapping. |
static PlatformType |
JAVA
Java font mapping. |
static PlatformType |
WINDOWS
Microsoft Windows specific font mapping. |
Method Summary | |
---|---|
static PlatformType |
fromInt(int value)
Create a PlatformType instance corresponding to
value . |
java.lang.String |
toString()
Returns a String representation of this PlatformType
instance. |
int |
value()
Returns the int value of this PlatformType
instance. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int _HTML
int
value of HTML.value()
.
public static final int _JAVA
int
value of JAVA.value()
.
public static final int _WINDOWS
int
value of WINDOWS.value()
.
public static final PlatformType HTML
public static final PlatformType JAVA
public static final PlatformType WINDOWS
This mapping is used when exporting a document to Microsoft Office Excel format.
Method Detail |
---|
public int value()
int
value of this PlatformType
instance.
value
in interface EnumItem
int
value of this PlatformType
instance.public java.lang.String toString()
String
representation of this PlatformType
instance.
Note: this method should be used for debugging purposes only.
toString
in class java.lang.Object
String
representation of this PlatformType
instance.public static PlatformType fromInt(int value)
PlatformType
instance corresponding to
value
.
The object returned will be either a PlatformType pt
for which
pt.value() == value
, or null
when value
does not correspond to a PlatformType
.
value
- An int
value corresponding to a
PlatformType
.
PlatformType
instance corresponding to
value
, or null
when
value
does not correspond to a
PlatformType
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |