|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Screen.navigationClick(int, int)
or Screen.navigationMovement(int, int, int, int)
instead.
public interface TrackwheelListener
NOTE: Use of this interface is strongly discouraged.
A listener interface for receiving trackwheel events.
Instead of using this interface, developers are strongly encouraged to use the
"navigation" methods in the Screen
class to receive such notifications. This is
done by extending the Screen
class and providing custom implementations of the
following 3 methods:
Screen.navigationClick(int, int)
Screen.navigationUnclick(int, int)
Screen.navigationMovement(int, int, int, int)
Field Summary |
---|
Fields inherited from interface net.rim.device.api.system.KeypadListener |
---|
STATUS_ALT, STATUS_ALT_LOCK, STATUS_CAPS_LOCK, STATUS_FOUR_WAY, STATUS_KEY_HELD_WHILE_ROLLING, STATUS_NOT_FROM_KEYPAD, STATUS_SHIFT, STATUS_SHIFT_LEFT, STATUS_SHIFT_RIGHT, STATUS_TRACKWHEEL |
Method Summary | ||
---|---|---|
boolean |
trackwheelClick(int status,
int time)
Deprecated. Invoked when the trackwheel is clicked. |
|
boolean |
trackwheelRoll(int amount,
int status,
int time)
Deprecated. Invoked when the trackwheel is rolled. |
|
boolean |
trackwheelUnclick(int status,
int time)
Deprecated. Invoked when the trackwheel is released |
Method Detail |
---|
boolean trackwheelClick(int status, int time)
status
- Modifier key status.time
- Ticks since device reset.
boolean trackwheelUnclick(int status, int time)
status
- Modifier key status.time
- Ticks since device reset.
boolean trackwheelRoll(int amount, int status, int time)
The parameter amount
is
negative for a upwards roll, and positive for a downwards roll.
status
- Modifier key status.time
- Ticks since device reset.amount
- Amount by which the trackwheel has rotated since the last
event; negative values indicate an upwards (or backwards) roll, and
positive values indicate a downwards (or fowards) roll.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.