|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.rim.device.api.ui.Field
net.rim.device.api.ui.ScrollView
net.rim.device.api.ui.Manager
net.rim.device.api.ui.Screen
net.rim.device.api.ui.container.PopupScreen
net.rim.device.api.ui.component.Status
public final class Status
Simple dialog to show ongoing status.
Behaviour
This extension of PopupScreen
lets you show a simple status screen
which the user can dismiss with a trackwheel click or by typing SPACE or
ESCAPE.
Field Summary | ||
---|---|---|
static long |
GLOBAL_STATUS
Displays the screen as a global status. |
Fields inherited from class net.rim.device.api.ui.Screen |
---|
DEFAULT_CLOSE, DEFAULT_MENU, NO_SYSTEM_MENU_ITEMS |
Fields inherited from class net.rim.device.api.ui.Manager |
---|
BOTTOMMOST, DOWNWARD, HORIZONTAL_SCROLL, HORIZONTAL_SCROLLBAR, HORIZONTAL_SCROLLBAR_MASK, HORIZONTAL_SCROLL_MASK, LEAVE_BLANK_SPACE, LEFTMOST, LEFTWARD, NO_HORIZONTAL_SCROLL, NO_HORIZONTAL_SCROLLBAR, NO_SCROLL_RESET, NO_VERTICAL_SCROLL, NO_VERTICAL_SCROLLBAR, QUANTA_FONT, RIGHTMOST, RIGHTWARD, TOPMOST, UPWARD, VERTICAL_SCROLL, VERTICAL_SCROLLBAR, VERTICAL_SCROLLBAR_MASK, VERTICAL_SCROLL_MASK |
Method Summary | ||
---|---|---|
static void |
show(String message)
Shows a status screen for two seconds. |
|
static void |
show(String message,
int time)
Shows a status screen for specified time. |
|
static void |
show(String message,
Bitmap bitmap,
int time)
Shows a status screen with specified icon, for specified time. |
|
static void |
show(String message,
Bitmap bitmap,
int time,
long style,
boolean allowDismiss,
boolean block,
int priority)
Shows a status screen of a particular style for specified time. |
Methods inherited from class net.rim.device.api.ui.container.PopupScreen |
---|
paint, sublayout |
Methods inherited from class net.rim.device.api.ui.Manager |
---|
addAll, deleteAll, getHorizontalScroll, getPreferredHeightOfChild, getPreferredWidthOfChild, getVerticalScroll, getVirtualHeight, getVirtualWidth, insertAll, invalidateFieldRange, isDownArrowShown, isUpArrowShown, isValidLayout, layout, layoutChild, moveFocus, moveFocus, nextFocus, nextFocus, paintChild, setFocus, setPositionChild, setScrollingInertial, setVirtualExtent, subpaint |
Methods inherited from class net.rim.device.api.ui.ScrollView |
---|
configurationChanged, getHorizontalAdjustment, getVerticalAdjustment, getVisibleHeight, getVisibleWidth, setCurrentLocation, setExtent, setHorizontalAdjustment, setHorizontalScroll, setHorizontalScroll, setScrollListener, setVerticalAdjustment, setVerticalScroll, setVerticalScroll, valueChanged, waitForScrolling |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long GLOBAL_STATUS
Method Detail |
---|
public static void show(String message)
Invoke this method to show a status screen to the user for two seconds. This method blocks until the user dismisses this screen, or until the two seconds pass.
This method shows a screen using the predefined icon
Bitmap.INFORMATION
.
message
- Message to display.
RuntimeException
- If no timer is available for use by this screen.public static void show(String message, int time)
Invoke this method to show a status screen to the user. This method blocks until the user dismisses this screen, or until the number of seconds specified in the time parameter passes.
This method shows a screen using the predefined icon
Bitmap.INFORMATION
.
message
- Message to display.time
- Milliseconds for which this screen should remain visible.
RuntimeException
- If no timer is available for use by this screen.public static void show(String message, Bitmap bitmap, int time)
Invoke this method to show a status screen to the user. This method blocks until the user dismisses this screen, or until the number of seconds specified in the time parameter passes.
message
- Message to display.bitmap
- Icon to show in the left part of this screen.time
- Milliseconds for which this screen should remain visible.
RuntimeException
- If no timer is available for use by this screen.public static void show(String message, Bitmap bitmap, int time, long style, boolean allowDismiss, boolean block, int priority)
Invoke this method to show a status screen of a particular style to the user.
message
- Message to display.bitmap
- Icon to show in the left part of this screen.time
- Milliseconds for which this screen should remain visible.style
- The style of the status screenallowDismiss
- If true, allows the status screen to be dismissed early.block
- Causes this method to block until the user dismisses this
screen, or until the number of seconds specified in the time parameter
passes. This parameter has no effect if the Status.GLOBAL_STATUS
style is set.priority
- Display priority for this screen, if it is a Status.GLOBAL_STATUS
screen.
RuntimeException
- If no timer is available for use by this screen.
|
|||||||||
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.