Package danger.ui

Interface Summary
CompletionNotifier Interface for notifying when a long operation has been completed.
ISliderData Interface for data shared between Slider and SliderWindow.
TextControl Interface of elements common to StaticText and StaticTextBox.
ToolTipOwner This interface is used by ToolTipHandler and should be implemented by the owner of the tool tip handler to actually display the tool tip.
 

Class Summary
ActiveListView<T> This class is a UI object that manages and draws the contents of an ActiveList (typically a StdActiveList).
AlertWindow This class is a UI object that displays a standard alert to the user.
AnimatedBitmap An AnimatedBitmap contains the data for an animated bitmap.
AnimatedBitmapView Use an AnimatedBitmapView to display an AnimatedBitmap object.
AudioPreviewWindow Window used to preview an audio clip.
AudioRecordTimeIndicator View used to display the elapsed time during audio recording.
AudioRecordWindow Window used to record audio.
BaseMenu Base functionality for menu controls.
BaseMenuWindow Base window type for the window that gets displayed for menus.
BatteryStatusView This view displays the current battery charge information, as seen in the top right of the title bar.
Bitmap Rectangular grid of pixels, in one of several different colorspaces.
Bitmap.FromResource Bitmaps that come from resources are instances of this subclass of Bitmap.
BitmapSprite A BitmapSprite manages a moving Bitmap.
Button A standard push button that can be used to activate an event.
CheckBox A simple checkbox UI control.
CheckBoxGroup A CheckBoxGroup is a composite control for managing a group of check boxes.
ClassicStyle Class for handling drawing of Views with a specific theme.
ClockView This view displays the current time, as seen in the top right of the title bar.
Color The Color class is a basic type used to contain color information and is used by many classes in the danger.ui package.
ColorSpace All multibyte colorspaces are big endian, except for RGB16_BGR and RGB16_RGB_LE.
Container A Container is a View object that can contain other Views (or Containers).
Control A high-level UI object which represents a human interface control.
CPUStatusView A utility view showing the system's CPU utilization.
DateDialog Dialog for selecting a date.
DatePicker Control to pick a date from a month view.
DatePickerWindow Window displayed by DatePicker to let the user choose a date from a month view.
DateTimeEditor A control to allow the user to edit a date or time.
DialogWindow Standard dialog window.
DisplayText Manages displaying wrapped text.
Editor This class exists only to encapsulate the components that make up EditText.
Editor.AutoText This class contains the methods that allow EditText to autocapitalize the first character of each sentence and to replace abbreviated words with standard spellings.
Editor.Clipboard This class contains the methods by which the user can cut and paste text.
Editor.Filters You can add input filters to the EditText's TextBuffer and add input verifiers that check whether the contents of the buffer are valid when the EditText loses focus.
Editor.Input This class contains methods to let the user enter characters that do not appear on the keyboard using the special character picker or other input method.
Editor.Keyboard This class contains methods by which the user can edit text using the keyboard.
Editor.TextChanges This class contains methods that are used by other EditText methods to alter the contents of the buffer and that you can call yourself to set up or modify the text.
Editor.UndoRedo The user can undo changes made to the text and redo changes that were undone in error, and this class contains the methods that enable doing so.
EditText EditText is the standard device text editing widget.
Factory For use with ResourceDatabase methods.
FolderEditor Deprecated. This class is under construction.
FolderView This class is a UI object that manages and draws a one-deep list of folders and their contents.
Font The Font class provides methods for obtaining fonts, and to query fonts for their characteristics.
Font.GlyphMetrics The metrics of a glyph in this font.
Geometry Base class for several geometric shape Views: Line, Oval, Rectangle, RoundedRect, and Triangle.
GradientView An GradientView is a view that includes a horizontal or vertical gradient.
GroupBox A GroupBox is a Container that has a border and an optional title or on/off control.
IconGallery Class to obtain calendar and contacts icons.
IconLabel An IconLabel is a Container that has an icon and title over a rounded rect background.
IconPicker An IconPicker is a control that provides a way for the user to select from a set of icons.
IconPickerWindow Deprecated. For internal use only.
ImageCodec Methods to handle encoding and decoding images.
ImageView An ImageView is a view that is used to display a Bitmap.
ImageWindow Screen window to display an image.
ImmutableBitmap An immutable bitmap provides all the functionality a regular Bitmap has, but it shares its content with another bitmap and does not allow that content to be altered in any way.
InputMethod Provides a way of inputting text into a text edit field (Editor).
IntBitmap It's like a Bitmap, but the pixel data is an int[].
JPEGCodecImpl Deprecated. For internal use only.
LabeledGrid A LabeledGrid is used to lay out View objects in a grid-like pattern.
Layout This class provides static methods to align View objects with each other.
LineWrapContainer Container that automatically wraps views to the next line if they don't fit horizontally.
LinkTextBox This class is a text box within which the user can select and click inline links.
LinkView A LinkView is a box around one or more URLButtons.
ListContainer A ListContainer provides a scrolling list of views.
ListSelectMenu Menu of a set of choices for a TypeAheadTextField.
ListSelectProgressWindow Provides a progress window for displaying address book lookup progress for an AddressField.
ListView ListView provides a scrolling list of selectable items.
LogTextBox A LogTextBox is a text box to which text can be appended by callers and which can automatically delete text off the beginning once a certain length is reached.
LogView LogView is a text box to which text can be appended and the beginning text is removed when the text box is full.
MarqueeAlert A MarqueeAlert is a brief alert to be displayed in the title bar.
MediaImporterDialog MediaImporterDialog handles importing images and videos from applications into the Gallery.
MediaVolumeSlider This class defines a Slider with attributes set for media volume control.
MemoryCardStatusView A view (commonly displayed in the title bar) to display current status of the memory card.
Menu Standard menu class.
MenuItem Element of a menu.
MenuWindow Window that gets displayed when the user displays a menu.
MonthView A MonthView is simply a view that displays a month.
MultiActiveListView<T> This is a version of ActiveListView that allows selection of more than one object at once.
MultiFolderView FolderView that allows for multiple disjoint selections.
MultiGalleryIconPicker Similar to IconPicker, but allows you to provide multiple icon galleries to the user.
MultiListView MultiListView is a ListView that supports multiple selection.
MultiModeButton A MultiModeButton is a Button that supports multiple modes, each mode having a different title and icon, but sharing the same event and other characteristics.
MutableTextBox A MutableTextBox is a text box that displays the contents of a buffer that you can make changes to.
NotificationManager The Notification Manager handles system alert dialogs (such as phone calls, calendar alerts, etc.), marquee notifications, and pending icon notifications.
NumberEditor A NumberEditor is a Control that allows the user to select a number from a specific range of integers.
NumberField Deprecated. Use TextInputFilter.newNumericFilter() instead.
PasswordEditText PasswordTextField is a TextField in which all characters display as dots.
PasswordTextField PasswordTextField is a TextField in which all characters display as dots.
Pen Basic drawing primitives.
PendingStatusView View (usually in the title bar) to display pending status information.
PhoneNumberTextField PhoneNumberTextField is a text field that implements automatic formatting.
PhoneNumberTextField.PhoneNumberFilter TextInputFilter for phone numbers.
PhoneVolumeSlider This class defines a Slider with attributes set for phone volume control.
PhotoCropper PhotoCropper provides a UI interface for the user to crop a JPEG photo.
PickerWindow A picker window is a small menu-link window that is used to select an integer.
PNGCodecImpl Deprecated. For internal use only.
Point A structure representing a basic two-dimensional point.
PopupMenu A PopupMenu is a Control that allows access to a menu from within a window.
ProfileSlider This class defines a Slider with attributes set for changing sound profiles.
ProgressBar Progress bar that either indicates an amount done out of a total using the usual thermometer-style or pulsates to indicate an activity in progress of unknown duration.
ProgressWindow A ProgressWindow is a simple dialog window with a progress bar and some text, with no buttons.
RadioButton A RadioButton is usually part of a RadioGroup, which lets the user choose one choice from multiple choices.
RadioGroup A RadioGroup is a group of radio buttons, which lets the user choose one of a mutually exclusive set of choices.
RadioStatusView A RadioStatusView displays the current connection status of the device.
RecordingPen A RecordingPen is a Pen that instead of actually drawing somewhere, logs what drawing instructions were used so they can be drawn later with some other Pen.
RecordingPen.Record A RecordingPen.Record contains a sequence of drawing instructions which can be played back in order to recreate the original drawing.
RecordingStatusView Displays current recording status (whether audio recording is in progress or paused), usually in the title bar.
Rect Various methods for constructing and manipulating a 2-dimension rectangle Danger rectangles are exclusive meaning that the upper-left and bottom-right points define the upper-left corner of a pixel rather than the center of a pixel.
RingTonePicker A RingTonePicker is a popup menu that provides a way for the user to select a ringtone or other audio alert.
RingTonePickerMenu A RingTonePickerMenu is a menu that provides a way for the user to select a ringtone or other audio alert.
RoundRectContainer A RoundRectContainer is simply a container with a background of a rounded rectangle.
ScaledPen This class is a wrapper for a pen object.
ScaledPenCache This class represents the cache of unscaled fonts and images to scaled fonts and images and that is owned by the ScaledPen.
Screen This class provides a set of static methods for obtaining information about the display screen.
ScreenWindow Basic screen window.
Scrollbar A standard scroll bar which displays current scrolling information in a ScrollView or other scrollable View.
ScrollingTextBox A scrollable container of wrapped text.
ScrollView A ScrollView is a Container that automatically includes a scroll bar for vertical scrolling if the contents are too big to display at once.
SelectTextBox SelectTextBox is a text box in which the user can select text to copy to the clipboard.
ShortBitmap A Bitmap class that uses short[] to hold its pixel data.
Shortcut Utility methods for dealing with keyboard shortcuts.
Slider Slider - General purpose Slider control.
SliderWindow A SliderWindow is displayed to allow the user to change a slider's value in response to selecting a Slider.
SplashScreen Splash screen object used to display an application's splash screen.
Sprite A Sprite manages a moving visible object.
StaticText A StaticText control is a basic view which displays a single line of non-editabled text.
StaticTextBox A StaticTextBox control is a basic view which displays wrapped lines of non-editable text.
Style A Style object includes information about how to draw a View, including color, fonts, and drawing methods.
StyleManager Class for handling drawing of Views with a specific theme.
Tab Tab object to be used as part of a TabbedContainer.
TabbedContainer A TabbedContainer is a container that contains multiple Tabs, only one of which is visible at a time.
Table A table view, like a spreadsheet.
TableCell An element of a Table.
TextField A TextField is an EditText that is constrained to a single line.
TextInputAlertWindow Alert with up to three text input fields.
TitleBarNotifier A TitleBarNotifier is used to display MarqueeAlerts in the title bar.
ToolTipHandler This class should be used to handle the timing of showing tool tip windows.
ToolTipWindow A tool tip window for displaying the complete text where it will not fit in the owner View.
TypeAheadTextField A TypeAheadTextField allows the user to type in the beginning of some text and be presented with a menu of possible completions.
Typeface A typeface represents a font definition that one would typically find in a file such as a true-type file.
URLButton A button to display a URL link.
VideoCaptureView VideoCaptureView - Specialized view for previewing an ongoing video capture.
VideoPreviewWindow Window used to preview a video clip.
VideoScreenWindow VideoScreenWindow - Base class for windows which display video.
VideoView VideoView - Specialized view for displaying video playback.
View Some call it a Widget, Gadget, or Component.
Window Basic Window object.
WrappedText This is the class that manages breaking text into lines on behalf of EditText, StaticTextBox, etc.
 

Exception Summary
UIException Thrown for a variety of errors related to classes in danger.ui.