|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.rim.device.api.ui.component.pane.PaneManagerController
net.rim.device.api.ui.component.pane.HorizontalTabController
public class HorizontalTabController
Extension of PaneManagerController
that implements a controller
for the HorizontalTabTitleView
.
Navigation movement within the HorizontalTabTitleView
only
scrolls the titles.
Navigation click within the HorizontalTabTitleView
causes the
pane to change to the selected one if it is not already selected.
TouchGesture.TAP
within the HorizontalTabTitleView
causes
the pane to change to the selected one if it is not already selected.
Constructor Summary | ||
---|---|---|
HorizontalTabController()
Basic class constructor. |
Method Summary | ||
---|---|---|
boolean |
navigationClick(int status,
int time)
Invoked in response to a navigational action. |
|
boolean |
touchEvent(TouchEvent message)
Handles touch input events (see TouchEvent ). |
Methods inherited from class net.rim.device.api.ui.component.pane.PaneManagerController |
---|
getCommand, getModel, getView, isInBounds, keyChar, keyControl, keyDown, keyRepeat, keyStatus, keyUp, navigationMovement, setCommand, setModel, setView |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HorizontalTabController()
Basic class constructor.
Method Detail |
---|
public boolean navigationClick(int status, int time)
The system invokes this method when passing on a navigational click event.
The source of the navigation event can be determined by checking the
KeypadListener#STATUS_TRACKWHEEL
and KeypadListener#STATUS_FOUR_WAY
bits in the status
parameter; exactly one of them will be set.
navigationClick
in class PaneManagerController
status
- Bitfield of values defined by KeypadListener
.time
- Number of milliseconds since the device was turned on.
public boolean touchEvent(TouchEvent message)
TouchEvent
).
The coordinates reflect the location of the touch event with respect to the top-left of the associated view. The x, y coordinates are then further mapped to the top-left corner of the field with input.
touchEvent
in class PaneManagerController
message
- TouchEvent
object containing various input parameters
including the event type and touch coordinates.
IllegalArgumentException
- If message is null.
|
|||||||||
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.