|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.PictureType
public final class PictureType
This class is used to specify the file format of a picture.
Field Summary | |
---|---|
static int |
_bitmap
A bitmap. |
static int |
_dib
|
static int |
_emf
|
static int |
_gif
|
static int |
_jpg
|
static int |
_png
|
static int |
_unknown
Unknown file type. |
static int |
_wmf
|
static PictureType |
bitmap
A PictureType object that specifies a bitmap. |
static PictureType |
dib
|
static PictureType |
emf
|
static PictureType |
gif
|
static PictureType |
jpg
|
static PictureType |
png
|
static PictureType |
unknown
A PictureType object that specifies an unknown file type. |
static PictureType |
wmf
|
Constructor Summary | |
---|---|
PictureType()
|
Method Summary | |
---|---|
static PictureType |
from_int(int i)
Returns the PictureType object corresponding to the specified value. |
static PictureType |
from_string(java.lang.String sVal)
Returns the PictureType object corresponding to the specified type. |
java.lang.String |
toString()
Returns the String value of this PictureType object. |
int |
value()
Returns the int value of this PictureType object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int _unknown
Unknown file type.
public static final int _bitmap
A bitmap.
public static final int _dib
public static final int _emf
public static final int _wmf
public static final int _jpg
public static final int _gif
public static final int _png
public static final PictureType unknown
A PictureType
object that specifies an unknown file type.
public static final PictureType bitmap
A PictureType
object that specifies a bitmap.
public static final PictureType dib
public static final PictureType emf
public static final PictureType wmf
public static final PictureType jpg
public static final PictureType gif
public static final PictureType png
Constructor Detail |
---|
public PictureType()
Method Detail |
---|
public static final PictureType from_int(int i)
Returns the PictureType
object corresponding to the specified value.
i
- The int
value of the desired PictureType
object.
PictureType
object corresponding to the specified value.public static final PictureType from_string(java.lang.String sVal)
Returns the PictureType
object corresponding to the specified type.
sVal
- The String
value of the desired PictureType
object.
PictureType
object corresponding to the specified type.public java.lang.String toString()
Returns the String
value of this PictureType
object.
toString
in class java.lang.Object
String
value of this PictureType
object.public int value()
Returns the int
value of this PictureType
object.
int
value of this PictureType
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |