Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
THUMB_CLICK
A constant representing a track wheel thumb click.
static int
THUMB_ROLL_DOWN
A constant representing a track wheel roll down.
static int
THUMB_ROLL_UP
A constant representing a track wheel roll up.
static int
THUMB_UNCLICK
A constant representing a track wheel thumb click released.
Constructor Summary
EventInjector.TrackwheelEvent(int event,
int amount,
int status)
Constructs a new TrackwheelEvent instance whose time is set to the current device uptime.
Method Summary
int
getAmount()
Returns the number of lines to roll before the event will occur.
A constant representing a track wheel thumb click.
Since:
JDE 3.6.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
THUMB_ROLL_DOWN
public static final int THUMB_ROLL_DOWN
A constant representing a track wheel roll down.
Since:
JDE 3.6.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
THUMB_ROLL_UP
public static final int THUMB_ROLL_UP
A constant representing a track wheel roll up.
Since:
JDE 3.6.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
THUMB_UNCLICK
public static final int THUMB_UNCLICK
A constant representing a track wheel thumb click released.
Since:
JDE 3.6.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Constructor Detail
EventInjector.TrackwheelEvent
public EventInjector.TrackwheelEvent(int event,
int amount,
int status)
Constructs a new TrackwheelEvent instance whose time is set to the current device uptime.
Parameters:
event - One of THUMB_CLICK, THUMB_UNCLICK, THUMB_ROLL_UP or THUMB_ROLL_DOWN.
amount - The amount by which to roll, a value of '1' indicates one 'line'.
status - Any status flags (as defined by KeypadListener).
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Method Detail
getAmount
public int getAmount()
Returns the number of lines to roll before the event will occur.
Returns:
The number of lines to roll.
Since:
JDE 3.6.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
setAmount
public void setAmount(int amount)
Sets the amount to roll for the event to occur.
Parameters:
amount - The number of lines to roll.
Since:
JDE 3.6.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Copyright 1999-2009 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. Copyright 2002-2003 Nokia Corporation All Rights Reserved. Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.