|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DeviceSpecificProperties>
org.eclipse.mtj.toolkit.uei.model.properties.DeviceSpecificProperties
public enum DeviceSpecificProperties
When the emulator runs with the -Xquery option, information describing the emulator and its capabilities are sent to standard output. The general format is that of a properties file.
The properties describing information for a single devices are represented by this enum.
The device-specific properties start with the device name. The device name
must be one of the values from the device.list property.
| Enum Constant Summary | |
|---|---|
APIS
Property Key: apisValue: Contains the same information, in the same format, as device-name.bootclasspath and also includes any
earlier versions of APIs supported by this device. |
|
BOOTCLASSPATH
Property Key: bootclasspathValue: A list of API files that must be used to build a MIDlet that runs on this device. |
|
DESCRIPTION
Property Key: descriptionValue: The device description. |
|
SCREEN_BITDEPTH
Property Key: screen.bitDepthValue: The number of bits that describe a pixel's color. |
|
SCREEN_HEIGHT
Property Key: screen.heightValue: The height of the device screen in pixels. |
|
SCREEN_ISCOLOR
Property Key: screen.isColorValue: true for color screens, false for
grayscale. |
|
SCREEN_ISTOUCH
Property Key: screen.isTouchValue: true for screens that support pointer events,
false otherwise. |
|
SCREEN_WIDTH
Property Key: screen.widthValue: The width of the device screen in pixels. |
|
SECURITY_DOMAINS
Property Key: security.domainsValue: Has the same meaning and syntax as security.domains, but it
applies to a specific device and overrides the value of
security.domains. |
|
UEI_ARGUMENTS
Property Key: uei.argumentsValue: Has the same meaning and syntax as uei.arguments, but it applies to
a specific device and overrides the value of
uei.arguments. |
|
VERSION_CONFIGURATION
Property Key: version.configurationValue: The configuration supported by this device. |
|
VERSION_PROFILE
Property Key: version.profileValue: A list of one or more profiles supported by this device. |
|
| Method Summary | |
|---|---|
String |
getDeviceSpecificProperties(String deviceName)
Return the device-specific properties starting with the device name. |
UEIImplementationReq |
getImplementationRequirement()
Return the implementation requirement for this property. |
String |
toString()
|
static DeviceSpecificProperties |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DeviceSpecificProperties[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DeviceSpecificProperties APIS
apisdevice-name.bootclasspath and also includes any
earlier versions of APIs supported by this device. This enables an IDE to
select which versions of the API to use to build an application. If this
property is not present, its value is the same as device-name.bootclasspath.
public static final DeviceSpecificProperties BOOTCLASSPATH
bootclasspath
public static final DeviceSpecificProperties DESCRIPTION
description
public static final DeviceSpecificProperties SCREEN_BITDEPTH
screen.bitDepth
public static final DeviceSpecificProperties SCREEN_HEIGHT
screen.height
public static final DeviceSpecificProperties SCREEN_ISCOLOR
screen.isColortrue for color screens, false for
grayscale.
public static final DeviceSpecificProperties SCREEN_ISTOUCH
screen.isTouchtrue for screens that support pointer events,
false otherwise.
public static final DeviceSpecificProperties SCREEN_WIDTH
screen.width
public static final DeviceSpecificProperties SECURITY_DOMAINS
security.domainssecurity.domains, but it
applies to a specific device and overrides the value of
security.domains.
public static final DeviceSpecificProperties UEI_ARGUMENTS
uei.argumentsuei.arguments, but it applies to
a specific device and overrides the value of
uei.arguments.
public static final DeviceSpecificProperties VERSION_CONFIGURATION
version.configuration
public static final DeviceSpecificProperties VERSION_PROFILE
version.profile
| Method Detail |
|---|
public static final DeviceSpecificProperties[] values()
for(DeviceSpecificProperties c : DeviceSpecificProperties.values())
System.out.println(c);
public static DeviceSpecificProperties valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic String getDeviceSpecificProperties(String deviceName)
deviceName - the device name. The device name must be one of the
values from the device.list property.
public UEIImplementationReq getImplementationRequirement()
UEIImplementationReq.REQUIRED if this property must be
implemented or UEIImplementationReq.OPTIONAL if not.public String toString()
toString in class Enum<DeviceSpecificProperties>
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||