ewe.sys
Interface VmConstants

All Known Implementing Classes:
Device, Vm

public interface VmConstants


Field Summary
static int BUSY_CURSOR
          This cursor is an arrow and an hour glass.
static int COPY_MULTIPLE_CURSOR
           
static int COPY_SINGLE_CURSOR
           
static int CROSS_CURSOR
           
static int DEFAULT_CURSOR
           
static int DONT_DROP_CURSOR
           
static int DRAG_MULTIPLE_CURSOR
           
static int DRAG_SINGLE_CURSOR
           
static int HAND_CURSOR
           
static int IBEAM_CURSOR
           
static int INVISIBLE_CURSOR
           
static int LEFT_RIGHT_CURSOR
           
static int MEMORY_MAP_ON_DEMAND
          An option for Vm.memoryMapFile() - it tells the system to map in only the area of the file that is being accessed via a read/write operation.
static int MEMORY_MAP_STRICT
          An option for Vm.memoryMapFile() - it tells the system that if it must provide the options requested (like MEMORY_MAP_ON_DEMAND) and if it cannot, then it should throw an exception instead of continuing.
static int MOVE_CURSOR
           
static int NO_CURSOR
          This means no special cursor;
static int RESIZE_CURSOR
           
static int SND_ALIAS
           
static int SND_ALIAS_ID
           
static int SND_ASYNC
           
static int SND_FILENAME
           
static int SND_LOOP
           
static int SND_MEMORY
           
static int SND_NODEFAULT
           
static int SND_NOSTOP
           
static int SND_NOWAIT
           
static int SND_RESOURCE
           
static int SND_SYNC
           
static int UP_DOWN_CURSOR
           
static int VM_FILE_SEPARATOR
           
static int VM_FLAG_COUNTER_ROTATE_SCREEN
          This is a VM flag bit which indicates that the program was run with a command line requesting the screen to be rotated by 90 degrees anti-clockwise.
static int VM_FLAG_HAS_SOFT_KEYS
          This is a VM flag bit which indicates that the device has at least 2 general purpose "Soft" keys, such as MS SmartPhone devices.
static int VM_FLAG_IS_APPLET
          This is a VM flag bit which indicates that the VM is running as an Applet in a browser.
static int VM_FLAG_IS_MOBILE
          This is a VM flag bit which indicates that the VM is running on a Mobile PC.
static int VM_FLAG_IS_MONOCHROME
          This is a VM flag bit which indicates that the VM is running on a system with a monochrome display.
static int VM_FLAG_IS_ZAURUS_EVM
          This is a VM flag bit which indicates that the program is running on the Sharp Zaurus Jeode(R) EVM.
static int VM_FLAG_LOW_MEMORY
          This is a VM flag bit which indicates that the program is running on low-memory device such as the Casio BE300.
static int VM_FLAG_NO_CR
          This is a VM flag bit which indicates that the platform does not want CR characters in its text files.
static int VM_FLAG_NO_KEYBOARD
          This is a VM flag bit which indicates that the VM is running on a system that has no keyboard.
static int VM_FLAG_NO_MOUSE_POINTER
          This is a VM flag bit which indicates that the VM is running on a system that has no mouse pointer.
static int VM_FLAG_NO_PEN
          This is a VM flag bit which indicates that the platform has no mouse OR touchscreen capabilities and only keyboard navigation is possible - for example on many SmartPhone devices.
static int VM_FLAG_NO_WINDOWS
          This is a VM flag bit which indicates that multiple native windows are not supported.
static int VM_FLAG_ROTATE_SCREEN
          This is a VM flag bit which indicates that the program was run with a command line requesting the screen to be rotated by 90 degrees clockwise.
static int VM_FLAG_SIP_BUTTON_ALWAYS_SHOWN
          This is a VM flag bit which indicates that the device will ALWAYS display the SIP button.
static int VM_FLAG_SIP_BUTTON_ON_SCREEN
          This is a VM flag bit which indicates that the platform has a SipButton at the bottom that may overwrite program controls (only PocketPC has this).
static int VM_FLAG_SLOW_MACHINE
          This is a VM flag bit which indicates that the VM is running on a slow machine.
static int VM_FLAG_USE_NATIVE_TEXT_INPUT
          This is a VM flag bit which indicates that text input is not possible unless a native platform input box is used.
static int VM_FLAG_USING_CLASSES
          This is a VM flag bit which indicates that the main program class was loaded from a class file rather than from a ewe file.
static int VM_FLAGS
          Used with getParameter() it gets VM flag bits.
static int VM_PATH_SEPARATOR
           
static int VM_USE_SIP
          Used with getParameter() or setParameter() it determines whether the VM will use the SIP (Supplementary Input Panel).
static int WAIT_CURSOR
          This is the only one apart from DEFAULT_CURSOR you should use directly with ewe.sys.Vm.setCursor().
 

Field Detail

SND_SYNC

public static final int SND_SYNC
See Also:
Constant Field Values

SND_ASYNC

public static final int SND_ASYNC
See Also:
Constant Field Values

SND_NODEFAULT

public static final int SND_NODEFAULT
See Also:
Constant Field Values

SND_MEMORY

public static final int SND_MEMORY
See Also:
Constant Field Values

SND_LOOP

public static final int SND_LOOP
See Also:
Constant Field Values

SND_NOSTOP

public static final int SND_NOSTOP
See Also:
Constant Field Values

SND_NOWAIT

public static final int SND_NOWAIT
See Also:
Constant Field Values

SND_ALIAS

public static final int SND_ALIAS
See Also:
Constant Field Values

SND_ALIAS_ID

public static final int SND_ALIAS_ID
See Also:
Constant Field Values

SND_FILENAME

public static final int SND_FILENAME
See Also:
Constant Field Values

SND_RESOURCE

public static final int SND_RESOURCE
See Also:
Constant Field Values

VM_FLAGS

public static final int VM_FLAGS
Used with getParameter() it gets VM flag bits.

See Also:
Constant Field Values

VM_FLAG_USING_CLASSES

public static final int VM_FLAG_USING_CLASSES
This is a VM flag bit which indicates that the main program class was loaded from a class file rather than from a ewe file. This only works from the desktop.

See Also:
Constant Field Values

VM_FLAG_IS_MOBILE

public static final int VM_FLAG_IS_MOBILE
This is a VM flag bit which indicates that the VM is running on a Mobile PC.

See Also:
Constant Field Values

VM_FLAG_SLOW_MACHINE

public static final int VM_FLAG_SLOW_MACHINE
This is a VM flag bit which indicates that the VM is running on a slow machine.

See Also:
Constant Field Values

VM_FLAG_IS_MONOCHROME

public static final int VM_FLAG_IS_MONOCHROME
This is a VM flag bit which indicates that the VM is running on a system with a monochrome display.

See Also:
Constant Field Values

VM_FLAG_NO_KEYBOARD

public static final int VM_FLAG_NO_KEYBOARD
This is a VM flag bit which indicates that the VM is running on a system that has no keyboard.

See Also:
Constant Field Values

VM_FLAG_NO_MOUSE_POINTER

public static final int VM_FLAG_NO_MOUSE_POINTER
This is a VM flag bit which indicates that the VM is running on a system that has no mouse pointer.

See Also:
Constant Field Values

VM_FLAG_IS_APPLET

public static final int VM_FLAG_IS_APPLET
This is a VM flag bit which indicates that the VM is running as an Applet in a browser.

See Also:
Constant Field Values

VM_FLAG_NO_WINDOWS

public static final int VM_FLAG_NO_WINDOWS
This is a VM flag bit which indicates that multiple native windows are not supported.

See Also:
Constant Field Values

VM_FLAG_SIP_BUTTON_ON_SCREEN

public static final int VM_FLAG_SIP_BUTTON_ON_SCREEN
This is a VM flag bit which indicates that the platform has a SipButton at the bottom that may overwrite program controls (only PocketPC has this).

See Also:
Constant Field Values

VM_FLAG_NO_CR

public static final int VM_FLAG_NO_CR
This is a VM flag bit which indicates that the platform does not want CR characters in its text files. Generally this indicates a Unix system.

See Also:
Constant Field Values

VM_FLAG_ROTATE_SCREEN

public static final int VM_FLAG_ROTATE_SCREEN
This is a VM flag bit which indicates that the program was run with a command line requesting the screen to be rotated by 90 degrees clockwise.

See Also:
Constant Field Values

VM_FLAG_IS_ZAURUS_EVM

public static final int VM_FLAG_IS_ZAURUS_EVM
This is a VM flag bit which indicates that the program is running on the Sharp Zaurus Jeode(R) EVM. If it is then a number of bug fixes must be implemented and other flags set.

See Also:
Constant Field Values

VM_FLAG_LOW_MEMORY

public static final int VM_FLAG_LOW_MEMORY
This is a VM flag bit which indicates that the program is running on low-memory device such as the Casio BE300. Your application should minimize on the complexity of its user interface in such cases.

See Also:
Constant Field Values

VM_FLAG_COUNTER_ROTATE_SCREEN

public static final int VM_FLAG_COUNTER_ROTATE_SCREEN
This is a VM flag bit which indicates that the program was run with a command line requesting the screen to be rotated by 90 degrees anti-clockwise.

See Also:
Constant Field Values

VM_FLAG_NO_PEN

public static final int VM_FLAG_NO_PEN
This is a VM flag bit which indicates that the platform has no mouse OR touchscreen capabilities and only keyboard navigation is possible - for example on many SmartPhone devices.

See Also:
Constant Field Values

VM_FLAG_USE_NATIVE_TEXT_INPUT

public static final int VM_FLAG_USE_NATIVE_TEXT_INPUT
This is a VM flag bit which indicates that text input is not possible unless a native platform input box is used. This is necessary for certain platforms such as MS SmartPhone devices.

See Also:
Constant Field Values

VM_FLAG_HAS_SOFT_KEYS

public static final int VM_FLAG_HAS_SOFT_KEYS
This is a VM flag bit which indicates that the device has at least 2 general purpose "Soft" keys, such as MS SmartPhone devices.

See Also:
Constant Field Values

VM_FLAG_SIP_BUTTON_ALWAYS_SHOWN

public static final int VM_FLAG_SIP_BUTTON_ALWAYS_SHOWN
This is a VM flag bit which indicates that the device will ALWAYS display the SIP button. This flag can be explicitly set using Vm.setParameter(SET_ALWAYS_SHOW_SIP_BUTTON,1);

See Also:
Constant Field Values

VM_USE_SIP

public static final int VM_USE_SIP
Used with getParameter() or setParameter() it determines whether the VM will use the SIP (Supplementary Input Panel). When used as ParameterId with setParameter() a value of 0 will disable the use of the SIP and a value of 1 will enable it.

See Also:
Constant Field Values

VM_FILE_SEPARATOR

public static final int VM_FILE_SEPARATOR
See Also:
Constant Field Values

VM_PATH_SEPARATOR

public static final int VM_PATH_SEPARATOR
See Also:
Constant Field Values

WAIT_CURSOR

public static final int WAIT_CURSOR
This is the only one apart from DEFAULT_CURSOR you should use directly with ewe.sys.Vm.setCursor(). All others should be used with Control.setCursor().

See Also:
Constant Field Values

IBEAM_CURSOR

public static final int IBEAM_CURSOR
See Also:
Constant Field Values

HAND_CURSOR

public static final int HAND_CURSOR
See Also:
Constant Field Values

CROSS_CURSOR

public static final int CROSS_CURSOR
See Also:
Constant Field Values

LEFT_RIGHT_CURSOR

public static final int LEFT_RIGHT_CURSOR
See Also:
Constant Field Values

UP_DOWN_CURSOR

public static final int UP_DOWN_CURSOR
See Also:
Constant Field Values

BUSY_CURSOR

public static final int BUSY_CURSOR
This cursor is an arrow and an hour glass. Use this when an individual component will not respond because it is busy, but other components will work.

See Also:
Constant Field Values

DRAG_SINGLE_CURSOR

public static final int DRAG_SINGLE_CURSOR
See Also:
Constant Field Values

DRAG_MULTIPLE_CURSOR

public static final int DRAG_MULTIPLE_CURSOR
See Also:
Constant Field Values

COPY_SINGLE_CURSOR

public static final int COPY_SINGLE_CURSOR
See Also:
Constant Field Values

COPY_MULTIPLE_CURSOR

public static final int COPY_MULTIPLE_CURSOR
See Also:
Constant Field Values

DONT_DROP_CURSOR

public static final int DONT_DROP_CURSOR
See Also:
Constant Field Values

MOVE_CURSOR

public static final int MOVE_CURSOR
See Also:
Constant Field Values

RESIZE_CURSOR

public static final int RESIZE_CURSOR
See Also:
Constant Field Values

INVISIBLE_CURSOR

public static final int INVISIBLE_CURSOR
See Also:
Constant Field Values

NO_CURSOR

public static final int NO_CURSOR
This means no special cursor;

See Also:
Constant Field Values

DEFAULT_CURSOR

public static final int DEFAULT_CURSOR
See Also:
Constant Field Values

MEMORY_MAP_STRICT

public static final int MEMORY_MAP_STRICT
An option for Vm.memoryMapFile() - it tells the system that if it must provide the options requested (like MEMORY_MAP_ON_DEMAND) and if it cannot, then it should throw an exception instead of continuing.

See Also:
Constant Field Values

MEMORY_MAP_ON_DEMAND

public static final int MEMORY_MAP_ON_DEMAND
An option for Vm.memoryMapFile() - it tells the system to map in only the area of the file that is being accessed via a read/write operation.

Not all systems will support this option, in which case it is ignored and the entire file is mapped into memory.

See Also:
Constant Field Values