MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / Component

Class Component

CodenameOne/src/com/codename1/ui/Component.java:75–9272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73///
74/// - Container
75public class Component implements Animation, StyleListener, Editable {
76
77 /// The default cursor
78 public static final int DEFAULT_CURSOR = 0;
79 // -1 = the element should be focusable, but should not be reachable via sequential keyboard navigation. Mostly useful to create accessible widgets
80 // 0 = the element should be focusable in sequential keyboard navigation, but its order is defined by the container's source order.
81 /// The crosshair cursor type.
82 public static final int CROSSHAIR_CURSOR = 1;
83 /// The text cursor type.
84 public static final int TEXT_CURSOR = 2;
85 /// The wait cursor type.
86 public static final int WAIT_CURSOR = 3;
87 /// The south-west-resize cursor type.
88 public static final int SW_RESIZE_CURSOR = 4;
89 /// The south-east-resize cursor type.
90 public static final int SE_RESIZE_CURSOR = 5;
91 /// The north-west-resize cursor type.
92 public static final int NW_RESIZE_CURSOR = 6;
93 /// The north-east-resize cursor type.
94 public static final int NE_RESIZE_CURSOR = 7;
95 /// The north-resize cursor type.
96 public static final int N_RESIZE_CURSOR = 8;
97 /// The south-resize cursor type.
98 public static final int S_RESIZE_CURSOR = 9;
99 /// The west-resize cursor type.
100 public static final int W_RESIZE_CURSOR = 10;
101 /// The east-resize cursor type.
102 public static final int E_RESIZE_CURSOR = 11;
103 /// The hand cursor type.
104 public static final int HAND_CURSOR = 12;
105 /// The move cursor type.
106 public static final int MOVE_CURSOR = 13;
107 /// Used by getDragRegionStatus to indicate no dragability
108 public static final int DRAG_REGION_NOT_DRAGGABLE = 1;
109 /// Used by getDragRegionStatus to indicate limited dragability
110 public static final int DRAG_REGION_POSSIBLE_DRAG_X = 10;
111 /// Used by getDragRegionStatus to indicate limited dragability
112 public static final int DRAG_REGION_POSSIBLE_DRAG_Y = 11;
113 /// Used by getDragRegionStatus to indicate limited dragability
114 public static final int DRAG_REGION_POSSIBLE_DRAG_XY = 12;
115 /// Used by getDragRegionStatus to indicate likely dragability
116 public static final int DRAG_REGION_LIKELY_DRAG_X = 21;
117 /// Used by getDragRegionStatus to indicate likely dragability
118 public static final int DRAG_REGION_LIKELY_DRAG_Y = 22;
119 /// Used by getDragRegionStatus to indicate likely dragability
120 public static final int DRAG_REGION_LIKELY_DRAG_XY = 23;
121 /// Used by getDragRegionStatus to indicate immediate dragability
122 public static final int DRAG_REGION_IMMEDIATELY_DRAG_X = 31;
123 /// Used by getDragRegionStatus to indicate immediate dragability
124 public static final int DRAG_REGION_IMMEDIATELY_DRAG_Y = 32;
125 /// Used by getDragRegionStatus to indicate immediate dragability
126 public static final int DRAG_REGION_IMMEDIATELY_DRAG_XY = 33;
127 /// Baseline resize behavior constant used to properly align components.
128 /// Indicates as the size of the component
129 /// changes the baseline remains a fixed distance from the top of the
130 /// component.
131 ///
132 /// #### See also

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected