MoSync 3.0.1
NativeUI Namespace Reference

A collection of widgets for designing native user interfaces. More...

Classes

class  ActivityIndicator
 An instance of ActivityIndicator is used for displaying the indeterminate progress of a task over time. More...
class  Button
 Class for buttons. More...
class  ButtonListener
 Listener for button events. More...
class  CameraPreview
 An instance of CameraPreview allows users to visualize the camera controller. Note: This is not available on Windows Phone 7. More...
class  CheckBox
 An instance of CheckBox is used for displaying an two-states button. More...
class  CheckBoxListener
 Listener for CheckBox events. More...
struct  Date
 Struct to hold a date. More...
class  DatePicker
 A Date Picker is a widget for selecting a date. More...
class  DatePickerListener
 Listener for DatePicker events. More...
class  Dialog
 Class that represents a modal dialog. A dialog cannot have any parent, it acts only as a container of other widgets. A dialog is a sort of modal view, that can look different depending on the platform: More...
class  DialogListener
 Listener for modal dialog events. More...
class  EditBox
 Class for edit box. More...
class  EditBoxListener
 Listener for EditBox events. More...
class  GLView
 A GL view is a widget that is used to display graphics rendered by the GPU using OpenGL calls. Note: This widget is not available on Windows Phone 7. More...
class  GLViewListener
 Listener for GLView events. More...
class  HorizontalLayout
 A horizontal layout is a layout that stacks widgets in the horizontal axis. More...
class  Image
 Class for images. More...
class  ImageButton
 Class for image buttons. More...
class  Label
 Class for labels. More...
class  Layout
 Class for layouts. More...
class  ListView
 An instance of ListView is used for displaying list of information. More...
class  ListViewItem
 Class for list view items. More...
class  ListViewListener
 Listener for ListView events. More...
class  NavigationBar
 A navigation bar is an iPhone specific widget that shows a nav bar with an optional title, back button and icon. The default background color is light blue gradient. The appearance depends on the platform: More...
class  NavigationBarListener
 Listener for NavigationBar events. More...
class  NumberPicker
 A Number Picker is a widget that enables the user to select a number from a predefined range. More...
class  NumberPickerListener
 Listener for NumberPicker events. More...
class  PanoramaView
 Class that represents a visible panorama view. Note that this is available only on Windows Phone 7. More...
class  ProgressBar
 An instance of ProgressBar is used for displaying the progress of a task over time. More...
class  RelativeLayout
 A relative layout is a layout that layouts widgets relative to its coordinate system. More...
class  Screen
 Class that represents a visible screen. More...
class  SearchBar
 A search bar is a special kind of edit box that is used for searching. Note: This is not available on Windows Phone 7. More...
class  SearchBarListener
 Interface for search bar event listeners. More...
class  Slider
 An instance of Slider is used for selecting a single value from a continuous range of values. More...
class  SliderListener
 Listener for Slider events. More...
class  StackScreen
 A stack screen is a special type of screen that manages navigation between a set of screens. More...
class  StackScreenListener
 Listener for StackScreen events. More...
class  TabScreen
 Class that represents a screen with tabs. More...
class  TabScreenListener
 Interface for tab screen event listeners. More...
class  TextWidget
 Base class for widgets that have a text property. More...
class  TimePicker
 A Time Picker is a widget for selecting time of day in 24 hour mode. More...
class  TimePickerListener
 Listener for TimePicker events. More...
class  ToggleButton
 Class for a a special kind of check button. It is available only on Android and Windows Phone 7. Note that this widget is similar to the Check Box on iOS. For toggle button events see ToggleButtonListener. More...
class  ToggleButtonListener
 Listener for ToggleButton events. More...
class  VerticalLayout
 Class for vertical layouts. More...
class  VideoView
 An instance of VideoView is used for managing the playback of a movie from a file or a network stream. More...
class  VideoViewListener
 Interface for video view event listeners. More...
class  WebView
 A web view is a widget used to render web pages. More...
class  WebViewListener
 Listener for WebView events. More...
struct  LastError
 A structure that holds information about the last error that occurred by using the wrapper methods. More...
class  Widget
 Base class for all widgets. More...
class  WidgetEventListener
 Interface for widget event listeners. More...
class  WidgetManager
 Class that handles widget events. More...

Enumerations

enum  EditBoxMode { EDIT_BOX_MODE_TEXT = 0, EDIT_BOX_MODE_PASSWORD }
 Types for edit box. More...
enum  EditBoxInputMode {
  EDIT_BOX_INPUT_MODE_ANY = 0, EDIT_BOX_INPUT_MODE_EMAILADDR = 1, EDIT_BOX_INPUT_MODE_NUMERIC = 2, EDIT_BOX_INPUT_MODE_PHONENUMBER = 3,
  EDIT_BOX_INPUT_MODE_URL = 4, EDIT_BOX_INPUT_MODE_DECIMAL = 5, EDIT_BOX_INPUT_MODE_SINGLE_LINE = 6
}
 The EditBoxInputMode defines the type of text that the user is allowed to enter. More...
enum  EditBoxInputFlag {
  EDIT_BOX_INPUT_FLAG_PASSWORD = 0, EDIT_BOX_INPUT_FLAG_SENSITIVE = 1, EDIT_BOX_INPUT_FLAG_INITIAL_CAPS_WORD = 2, EDIT_BOX_INPUT_FLAG_INITIAL_CAPS_SENTENCE = 3,
  EDIT_BOX_INPUT_GLAG_INITIAL_CAPS_ALL_CHARACTERS = 4
}
 The EditBoxInputFlag defines how the input text is displayed/formatted. More...
enum  ImageScaleMode { IMAGE_SCALE_NONE = 0, IMAGE_SCALE_XY, IMAGE_SCALE_PRESERVE_ASPECT }
 Types of scaling for the image. More...
enum  ListViewItemAccessory { LIST_VIEW_ITEM_ACCESSORY_NONE = 0, LIST_VIEW_ITEM_ACCESSORY_DISCLOSURE, LIST_VIEW_ITEM_ACCESSORY_DETAIL, LIST_VIEW_ITEM_ACCESSORY_CHECKMARK }

Functions

template<class Listener >
void addListenerToVector (MAUtil::Vector< Listener * > &vector, Listener *listener)
template<class Listener >
void removeListenerFromVector (MAUtil::Vector< Listener * > &vector, Listener *listener)

Variables

const int BUF_SIZE = 256
const int MAX_BUF_SIZE = 2048

Detailed Description

A collection of widgets for designing native user interfaces.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines