public interface nUIConstants
Modifier and Type | Field and Description |
---|---|
static int |
bottom
Alignments
|
static int |
center
Alignments
|
static int |
centre
Alignments
|
static int |
CREATE |
static int |
CUSTOM_EVENT_CODE0
For the developer - Events above this value can be used at the developer's discretion
|
static int |
EVT_BACK_BUTTON
nUIWindowDisplay - Event for when a hardware back key (if present) is pressed
|
static int |
EVT_COMPLETED_EDIT
nUIDisplayObject - Event that occurs when an editable object completes editing.
|
static int |
EVT_DOUBLE_TAP
nUIDisplayObject - Event for when an object has been double-tapped
|
static int |
EVT_GAIN_FOCUS
nUIDisplayObject - Event for when an object gains user focus
|
static int |
EVT_LONG_PRESS
nUIDisplayObject - Event for when an object has been held in a pressed state
|
static int |
EVT_LOSE_FOCUS
nUIDisplayObject - Event for when an object loses user focus
|
static int |
EVT_ON_ADDITION
Deprecated.
This event is deprecated. Please refactor your code.
|
static int |
EVT_PICKER_CANCEL
nUIDisplayObject - Event for when a picker for an object has been canceled
|
static int |
EVT_PICKER_OK
nUIDisplayObject - Event for when a picker for an object has been closed
|
static int |
EVT_POST_EDIT
nUIDisplayObject - Event that occurs every time an object has been edited by the user.
|
static int |
EVT_PRE_EDIT
nUIDisplayObject - Event for when an object is about to be edited by the user
|
static int |
EVT_SWIPE_LEFT
nUIDisplayObject - Event for when an object has been swiped to the left
|
static int |
EVT_SWIPE_RIGHT
nUIDisplayObject - Event for when an object has been swiped to the right
|
static int |
EVT_TIMER_COMPLETE
nUITimerObject - Event for when a timer is complete
|
static int |
EVT_TRANSITION_FROM_COMPLETE
nUIWindowObject / nUIPageObject - Event for when a "from" (away) transition has completed
|
static int |
EVT_TRIGGER
nUIDisplayObject - Event for when an object has been triggered
|
static int |
EVT_TRIGGER_HTTP_FAIL
Other events a developer may often wish to use
Not tied to any particular class, but listed here for developer convenience - use as/where you see fit |
static int |
EVT_TRIGGER_HTTP_SUCCESS
Other events a developer may often wish to use
Not tied to any particular class, but listed here for developer convenience - use as/where you see fit |
static int |
GESTURE_DOUBLE_TAP |
static int |
GESTURE_LONG_PRESS |
static int |
GESTURE_NONE
Gesture-type constants - Enabled gestures for an object uses bit-wise OR
|
static int |
GESTURE_SWIPE |
static int |
left
Alignments
|
static int |
MAX_DY_FOR_SWIPE |
static int |
MIN_DX_FOR_SWIPE |
static int |
MIN_SCROLL_START_THRESHOLD
Constants used only for the J2ME branch of NativeUI.
|
static java.lang.String[] |
NO_YES
Used by radio / checkbox
|
static java.lang.String[] |
OFF_ON
Used by radio / checkbox
|
static int |
POINTER_STATE_DRAGGED |
static int |
POINTER_STATE_PRESSED |
static int |
POINTER_STATE_PRESSED_AND_RELEASED |
static int |
POINTER_STATE_RELEASED |
static int |
REMOVE |
static int |
right
Alignments
|
static int |
size_absolute
Font size
|
static int |
size_huge
Font size
|
static int |
size_large
Font size
|
static int |
size_medium
Font size
|
static int |
size_relative
Font size
|
static int |
size_small
Font size
|
static int |
size_tiny
Font size
|
static int |
style_bold
Font style (set so we can bitwise-OR them further down the road if possible on any platform)
|
static int |
style_default
Font style (set so we can bitwise-OR them further down the road if possible on any platform)
|
static int |
style_italic
Font style (set so we can bitwise-OR them further down the road if possible on any platform)
|
static int |
style_underlined
Font style (set so we can bitwise-OR them further down the road if possible on any platform)
|
static int |
TEXT_DIRECTION_LTR
Left-to-right text (and UI) direction and layout.
|
static int |
TEXT_DIRECTION_RTL
Right-to-left text (and UI) direction and layout.
|
static int |
top
Alignments
|
static final int TEXT_DIRECTION_LTR
static final int TEXT_DIRECTION_RTL
static final java.lang.String[] OFF_ON
static final java.lang.String[] NO_YES
static final int EVT_ON_ADDITION
static final int EVT_GAIN_FOCUS
static final int EVT_LOSE_FOCUS
static final int EVT_PRE_EDIT
static final int EVT_POST_EDIT
static final int EVT_TRIGGER
static final int EVT_SWIPE_LEFT
static final int EVT_SWIPE_RIGHT
static final int EVT_COMPLETED_EDIT
static final int EVT_DOUBLE_TAP
static final int EVT_LONG_PRESS
static final int EVT_PICKER_CANCEL
static final int EVT_PICKER_OK
static final int EVT_TRANSITION_FROM_COMPLETE
static final int EVT_BACK_BUTTON
static final int EVT_TIMER_COMPLETE
static final int EVT_TRIGGER_HTTP_SUCCESS
static final int EVT_TRIGGER_HTTP_FAIL
static final int CUSTOM_EVENT_CODE0
static final int left
static final int top
static final int centre
static final int center
static final int right
static final int bottom
static final int size_tiny
static final int size_small
static final int size_medium
static final int size_large
static final int size_huge
static final int size_absolute
static final int size_relative
static final int style_default
static final int style_bold
static final int style_italic
static final int style_underlined
static final int CREATE
static final int REMOVE
static final int MIN_SCROLL_START_THRESHOLD
static final int MIN_DX_FOR_SWIPE
static final int MAX_DY_FOR_SWIPE
static final int POINTER_STATE_PRESSED
static final int POINTER_STATE_DRAGGED
static final int POINTER_STATE_RELEASED
static final int POINTER_STATE_PRESSED_AND_RELEASED
static final int GESTURE_NONE
static final int GESTURE_SWIPE
static final int GESTURE_LONG_PRESS
static final int GESTURE_DOUBLE_TAP