|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ImageSourceType>
org.eclipse.birt.chart.model.attribute.ImageSourceType
public enum ImageSourceType
A representation of the literals of the enumeration 'Image Source Type', and utility methods for working with them. This property specifies how to reference the image URL. Static source means the image is using static URL. Report source means the image is using the embedded image from report. File source means the image is from resource files.
AttributePackage.getImageSourceType()
Enum Constant Summary | |
---|---|
FILE
The 'File' literal object. |
|
REPORT
The 'Report' literal object. |
|
STATIC
The 'Static' literal object. |
Field Summary | |
---|---|
static int |
FILE_VALUE
The 'File' literal value. |
static int |
REPORT_VALUE
The 'Report' literal value. |
static int |
STATIC_VALUE
The 'Static' literal value. |
static java.util.List<ImageSourceType> |
VALUES
A public read-only list of all the 'Image Source Type' enumerators. |
Method Summary | |
---|---|
static ImageSourceType |
get(int value)
Returns the 'Image Source Type' literal with the specified integer value. |
static ImageSourceType |
get(java.lang.String literal)
Returns the 'Image Source Type' literal with the specified literal value. |
static ImageSourceType |
getByName(java.lang.String name)
Returns the 'Image Source Type' literal with the specified name. |
java.lang.String |
getLiteral()
|
java.lang.String |
getName()
|
int |
getValue()
|
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static ImageSourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ImageSourceType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ImageSourceType STATIC
STATIC_VALUE
public static final ImageSourceType REPORT
REPORT_VALUE
public static final ImageSourceType FILE
FILE_VALUE
Field Detail |
---|
public static final int STATIC_VALUE
If the meaning of 'Static' literal object isn't clear, there really should be more of a description here...
STATIC
,
Constant Field Valuespublic static final int REPORT_VALUE
If the meaning of 'Report' literal object isn't clear, there really should be more of a description here...
REPORT
,
Constant Field Valuespublic static final int FILE_VALUE
If the meaning of 'File' literal object isn't clear, there really should be more of a description here...
FILE
,
Constant Field Valuespublic static final java.util.List<ImageSourceType> VALUES
Method Detail |
---|
public static ImageSourceType[] values()
for (ImageSourceType c : ImageSourceType.values()) System.out.println(c);
public static ImageSourceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static ImageSourceType get(java.lang.String literal)
public static ImageSourceType getByName(java.lang.String name)
public static ImageSourceType get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<ImageSourceType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |