|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICustomEventsDelegate
The custom events delegate.
Method Summary | |
---|---|
void |
drawFocus(java.lang.Object field,
int controlID,
net.rim.device.api.ui.Graphics g,
boolean on)
Draws the focus indicator for this field. |
boolean |
navigationClick(java.lang.Object field,
int controlID,
ActionList actions,
int status,
int time)
Invoked when the navigational action is selected. |
boolean |
navigationMovement(java.lang.Object field,
int controlID,
int dx,
int dy,
int status,
int time)
Invoked when a navigational motion occurs. |
boolean |
navigationUnclick(java.lang.Object field,
int controlID,
int status,
int time)
Invoked when the navigational action is released. |
void |
onFocus(java.lang.Object field,
int controlID,
int direction)
Invoked when a field receives the focus. |
void |
onLoad(java.lang.Object field,
int controlID)
Invoked when the control loads data. |
void |
onOrientationChange(java.lang.Object field,
int controlID,
int width,
int height)
Invoked when the orientation changes. |
void |
onRecordChange(java.lang.Object field,
int controlID)
Invoked when the selected record changes. |
void |
onUnfocus(java.lang.Object field,
int controlID)
Invoked when a field loses the focus. |
void |
onValueChange(java.lang.Object field,
int controlID,
int context)
Invoked when the control's value changes. |
void |
paint(java.lang.Object field,
int controlID,
net.rim.device.api.ui.Graphics g)
Invoked by the framework to redraw a portion of this field. |
boolean |
touchEvent(java.lang.Object field,
int controlID,
net.rim.device.api.ui.TouchEvent message)
Invoked when a touch event occurs. |
Method Detail |
---|
void onOrientationChange(java.lang.Object field, int controlID, int width, int height)
field
- the controlcontrolID
- the control IDwidth
- amount of available horizontal space.height
- amount of available vertical space.void paint(java.lang.Object field, int controlID, net.rim.device.api.ui.Graphics g)
field
- the controlcontrolID
- the control IDg
- Graphics context for drawing the focus.
void drawFocus(java.lang.Object field, int controlID, net.rim.device.api.ui.Graphics g, boolean on)
field
- the controlcontrolID
- the control IDg
- Graphics context for drawing the focus.on
- true if the focus should be set; otherwise, false.
void onLoad(java.lang.Object field, int controlID)
field
- the control objectcontrolID
- the control IDvoid onFocus(java.lang.Object field, int controlID, int direction)
field
- the controlcontrolID
- the control IDdirection
- indicates from which direction the focus enters the field.void onUnfocus(java.lang.Object field, int controlID)
field
- the controlcontrolID
- the control IDboolean navigationClick(java.lang.Object field, int controlID, ActionList actions, int status, int time)
field
- the controlcontrolID
- the control IDactions
- the control's actionsstatus
- Bitfield of values defined by KeypadListener.time
- number of milliseconds since the device was turned on.
- Returns:
boolean navigationUnclick(java.lang.Object field, int controlID, int status, int time)
field
- the controlcontrolID
- the control IDstatus
- Bitfield of values defined by KeypadListener.time
- number of milliseconds since the device was turned on.
- Returns:
boolean navigationMovement(java.lang.Object field, int controlID, int dx, int dy, int status, int time)
field
- the controlcontrolID
- the control IDdx
- magnitude of navigational motion: negative for a move left and postive for a move right.dy
- magnitude of navigational motion: negative for an upwards move, and positive for a downwards move.status
- Bitfield of values defined by KeypadListener.time
- number of milliseconds since the device was turned on.
- Returns:
boolean touchEvent(java.lang.Object field, int controlID, net.rim.device.api.ui.TouchEvent message)
field
- the controlcontrolID
- the control IDmessage
- TouchEvent
object containing various input parameters including the event type and touch coordinates.void onValueChange(java.lang.Object field, int controlID, int context)
field
- the controlcontrolID
- the control IDcontext
- information specifying the origin of the change.void onRecordChange(java.lang.Object field, int controlID)
field
- the controlcontrolID
- the control ID
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |