Interface EventType


  • public interface EventType
    EventType holds all TotalCross Event types
    • 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
      • 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_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
      • 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
      • 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