J2ME Polish
J2ME Polish 2.4 Documentation
Enough Software

Casio/C452CA


Display

PropertyValuePreprocessing Access
Screen-Size (width x height)120x133polish.ScreenSize, polish.ScreenWidth, polish.ScreenHeight
Bits per Pixel8
(256 colors)
polish.BitsPerPixel
Supports Pointer/Touch Eventsnopolish.hasPointerEvents

Platform

PropertyValuePreprocessing Access
VendorCasiopolish.Vendor
PlatformMIDP/1.0polish.JavaPlatform, polish.midp1
ConfigurationCLDC/1.0polish.JavaConfiguration, polish.cldc1.0
Meets the Recommended Capablities for the J2ME Polish GUIyes  --

Groups

Groups can be used to assemble the resources (like images or sound-files) for an application.
Have a look at the documentation for more info.

GroupResource Folder
midp1resources/midp1
ScreenSize.120x133resources/ScreenSize.120x133
BitsPerPixel.4+resources/BitsPerPixel.4+
BitsPerPixel.8+resources/BitsPerPixel.8+
BitsPerPixel.8resources/BitsPerPixel.8
NoSpriteTransformationsresources/NoSpriteTransformations

Preprocessing Capabilities

Capabilities can be used with the "//#=" preprocessing directive and can be compared with the "//#if" directive. For each defined capability a preprocessing symbol with the same name will be defined.
Have a look at the preprocessing documentation for more information.

Examples:

//#if polish.Vendor == Casio
	// this is a Casio device
//#endif
//#ifdef polish.ScreenWidth:defined
	//#= int screenWidth = ${ polish.ScreenWidth };
//#else
	int screenWidth = UNKNOWN_WIDTH;
//#endif

CapabilityValue
polish.bitsperpixel8
polish.build.bootclasspathcldc-1.0.jar,midp-1.0.jar
polish.build.implicitgroupsmidp1
polish.identifierCasio/C452CA
polish.javaconfigurationCLDC/1.0
polish.javaplatformMIDP/1.0
polish.nameC452CA
polish.screenheight133
polish.screensize120x133
polish.screenwidth120
polish.supportfloatingpointfalse
polish.vendorCasio

Preprocessing Symbols

Symbols can be evaluated with the "//#ifdef" and related preprocessing directives.
Have a look at the preprocessing documentation for more information.

Example:

//#if polish.api.mmapi || polish.midp2
	// this device supports the Mobile Media API
//#endif

Symbol
polish.bitsperpixel.8
polish.bitsperpixel:defined
polish.build.bootclasspath.cldc-1.0.jar
polish.build.bootclasspath.midp-1.0.jar
polish.build.bootclasspath:defined
polish.build.implicitgroups.midp1
polish.build.implicitgroups:defined
polish.cldc
polish.cldc1.0
polish.identifier.casio/c452ca
polish.identifier:defined
polish.javaconfiguration.cldc/1.0
polish.javaconfiguration:defined
polish.javaplatform.midp/1.0
polish.javaplatform:defined
polish.midp
polish.midp1
polish.name.c452ca
polish.name:defined
polish.screenheight:defined
polish.screensize.120x133
polish.screensize:defined
polish.screenwidth:defined
polish.supportfloatingpoint.false
polish.supportfloatingpoint:defined
polish.supportspolishgui
polish.vendor.casio
polish.vendor:defined
back to top