Package totalcross.ui.event
Interface EventType
-
public interface EventTypeEventType holds all TotalCross Event types
-
-
Field Summary
Fields Modifier and Type Field Description static intACTION_KEY_PRESSThe event type for a focus being transfered to this control with the ENTER or ACTION keys.static intCURSOR_CHANGEDEvent sent when user called Edit.setCursorPosstatic intDOWNThe direction constant for a drag or flick down.static intENABLED_STATE_CHANGEstatic intFOCUS_INThe event type for a focus in event.static intFOCUS_OUTThe event type for a focus out event.static intGRID_CHECK_CHANGED_EVENTEvent generated when a grid row was checked or unchecked.static intGRID_SELECTED_EVENTEvent generated when a new row was selected.static intGRID_TEXT_CHANGED_EVENTGenerated when an editable column had its text changed.static intHIGHLIGHT_INThe event type for the control focus indicator changing to a new control.static intHIGHLIGHT_OUTThe event type for the control focus indicator leaving a control.static intKEY_PRESSThe event type for a key press event.static intLEFTThe direction constant for a drag or flick left.static intLIST_CONTAINER_ITEM_SELECTED_EVENTEvent generated when a new item was selected.static intLIST_CONTAINER_LEFT_IMAGE_CLICKED_EVENTEvent generated when the left image was clicked.static intLIST_CONTAINER_RIGHT_IMAGE_CLICKED_EVENTEvent generated when the right image was clicked.static intMESSAGE_RECEIVEDThe event type for a message being received by serverstatic intMOUSE_INThe event type for a mouse moving into a control.static intMOUSE_MOVEThe event type for a mouse moving over a control.static intMOUSE_OUTThe event type for a mouse moving outside a control.static intMOUSE_WHEELThe event type for a mouse wheel.static intPEN_DOWNThe event type for a pen or mouse down.static intPEN_DRAGThe event type for a pen or mouse drag.static intPEN_DRAG_ENDThe event type for a pen or mouse drag end.static intPEN_DRAG_STARTThe event type for a pen or mouse drag start.static intPEN_UPThe event type for a pen or mouse up.static intPRESSEDThe event type for a pressed event.static intRIGHTThe direction constant for a drag or flick right.static intSCALEThe event type for a pen or mouse down.static intSCROLL_DOWNstatic intSCROLL_ENDstatic intSCROLL_LEFTstatic intSCROLL_ON_BOTTOMstatic intSCROLL_ON_LEFTstatic intSCROLL_ON_RIGHTstatic intSCROLL_ON_TOPstatic intSCROLL_RIGHTstatic intSCROLL_STARTstatic intSCROLL_UPstatic intSIP_CLOSEDThe event type fot the SIP being closed by the system.static intSPECIAL_KEY_PRESSThe event type for a device key press event.static intTOKEN_RECEIVEDThe event type for a token for this device being received by serverstatic intTRIGGEREDThe event type for a triggered timerstatic intUPThe direction constant for a drag or flick up.static intWINDOW_CLOSEDThe event type for a closing window.
-
-
-
Field Detail
-
RIGHT
static final int RIGHT
The direction constant for a drag or flick right.- See Also:
- Constant Field Values
-
LEFT
static final int LEFT
The direction constant for a drag or flick left.- See Also:
- Constant Field Values
-
UP
static final int UP
The direction constant for a drag or flick up.- See Also:
- Constant Field Values
-
DOWN
static final int DOWN
The direction constant for a drag or flick down.- See Also:
- Constant Field Values
-
KEY_PRESS
static final int KEY_PRESS
The event type for a key press event. Device keys are handled in the SPECIAL_KEY_PRESS event.- See Also:
- Constant Field Values
-
ACTION_KEY_PRESS
static final int ACTION_KEY_PRESS
The event type for a focus being transfered to this control with the ENTER or ACTION keys.- See Also:
- Constant Field Values
-
SPECIAL_KEY_PRESS
static final int SPECIAL_KEY_PRESS
The event type for a device key press event. Note that some keys are posted only when they are released.- See Also:
- Constant Field Values
-
PEN_DOWN
static final int PEN_DOWN
The event type for a pen or mouse down.- See Also:
- Constant Field Values
-
PEN_UP
static final int PEN_UP
The event type for a pen or mouse up.- See Also:
- Constant Field Values
-
PEN_DRAG
static final int PEN_DRAG
The event type for a pen or mouse drag.- See Also:
- Constant Field Values
-
PEN_DRAG_START
static final int PEN_DRAG_START
The event type for a pen or mouse drag start.- See Also:
- Constant Field Values
-
PEN_DRAG_END
static final int PEN_DRAG_END
The event type for a pen or mouse drag end.- See Also:
- Constant Field Values
-
MOUSE_MOVE
static final int MOUSE_MOVE
The event type for a mouse moving over a control. This is a hardware event.- See Also:
- Constant Field Values
-
MOUSE_IN
static final int MOUSE_IN
The event type for a mouse moving into a control. This is a software event (computed internally).- See Also:
- Constant Field Values
-
MOUSE_OUT
static final int MOUSE_OUT
The event type for a mouse moving outside a control. This is a software event (computed internally).- See Also:
- Constant Field Values
-
MOUSE_WHEEL
static final int MOUSE_WHEEL
The event type for a mouse wheel. This is a hardware event.- See Also:
- Constant Field Values
-
SCALE
static final int SCALE
The event type for a pen or mouse down.- See Also:
- Constant Field Values
-
PRESSED
static final int PRESSED
The event type for a pressed event.- See Also:
- Constant Field Values
-
FOCUS_IN
static final int FOCUS_IN
The event type for a focus in event.- See Also:
- Constant Field Values
-
FOCUS_OUT
static final int FOCUS_OUT
The event type for a focus out event.- See Also:
- Constant Field Values
-
WINDOW_CLOSED
static final int WINDOW_CLOSED
The event type for a closing window.- See Also:
- Constant Field Values
-
HIGHLIGHT_IN
static final int HIGHLIGHT_IN
The event type for the control focus indicator changing to a new control.- See Also:
- Constant Field Values
-
HIGHLIGHT_OUT
static final int HIGHLIGHT_OUT
The event type for the control focus indicator leaving a control.- See Also:
- Constant Field Values
-
SIP_CLOSED
static final int SIP_CLOSED
The event type fot the SIP being closed by the system. Works on Android and iOS. The application cannot see this event since it is interpected by the topmost Window.- Since:
- TotalCross 1.3
- See Also:
- Constant Field Values
-
CURSOR_CHANGED
static final int CURSOR_CHANGED
Event sent when user called Edit.setCursorPos- Since:
- TotalCross 1.5
- See Also:
- Constant Field Values
-
ENABLED_STATE_CHANGE
static final int ENABLED_STATE_CHANGE
- See Also:
- Constant Field Values
-
TRIGGERED
static final int TRIGGERED
The event type for a triggered timer- See Also:
- Constant Field Values
-
TOKEN_RECEIVED
static final int TOKEN_RECEIVED
The event type for a token for this device being received by server- See Also:
- Constant Field Values
-
MESSAGE_RECEIVED
static final int MESSAGE_RECEIVED
The event type for a message being received by server- See Also:
- Constant Field Values
-
GRID_SELECTED_EVENT
static final int GRID_SELECTED_EVENT
Event generated when a new row was selected. In penless devices, the user must press 0-9 to dispatch the event.- See Also:
- Constant Field Values
-
GRID_CHECK_CHANGED_EVENT
static final int GRID_CHECK_CHANGED_EVENT
Event generated when a grid row was checked or unchecked. Verify the checked member to determine the current state.- See Also:
- Constant Field Values
-
GRID_TEXT_CHANGED_EVENT
static final int GRID_TEXT_CHANGED_EVENT
Generated when an editable column had its text changed.- See Also:
- Constant Field Values
-
LIST_CONTAINER_ITEM_SELECTED_EVENT
static final int LIST_CONTAINER_ITEM_SELECTED_EVENT
Event generated when a new item was selected.- See Also:
- Constant Field Values
-
LIST_CONTAINER_LEFT_IMAGE_CLICKED_EVENT
static final int LIST_CONTAINER_LEFT_IMAGE_CLICKED_EVENT
Event generated when the left image was clicked. Verify the isImage2 member to determine the current image that's displayed.- See Also:
- Constant Field Values
-
LIST_CONTAINER_RIGHT_IMAGE_CLICKED_EVENT
static final int LIST_CONTAINER_RIGHT_IMAGE_CLICKED_EVENT
Event generated when the right image was clicked. Verify the isImage2 member to determine the current image that's displayed.- See Also:
- Constant Field Values
-
SCROLL_START
static final int SCROLL_START
- See Also:
- Constant Field Values
-
SCROLL_END
static final int SCROLL_END
- See Also:
- Constant Field Values
-
SCROLL_ON_TOP
static final int SCROLL_ON_TOP
- See Also:
- Constant Field Values
-
SCROLL_ON_LEFT
static final int SCROLL_ON_LEFT
- See Also:
- Constant Field Values
-
SCROLL_ON_RIGHT
static final int SCROLL_ON_RIGHT
- See Also:
- Constant Field Values
-
SCROLL_ON_BOTTOM
static final int SCROLL_ON_BOTTOM
- See Also:
- Constant Field Values
-
SCROLL_UP
static final int SCROLL_UP
- See Also:
- Constant Field Values
-
SCROLL_LEFT
static final int SCROLL_LEFT
- See Also:
- Constant Field Values
-
SCROLL_RIGHT
static final int SCROLL_RIGHT
- See Also:
- Constant Field Values
-
SCROLL_DOWN
static final int SCROLL_DOWN
- See Also:
- Constant Field Values
-
-