Titanium.UI

Properties

CENTERED
The CENTERED event constant

Methods

addTray ( iconURL, eventListener )
Create and add a tray icon
clearTray ( )
Empty the tray of all this application's tray items
createCheckMenuItem ( label, eventListener )
Create a new CheckMenuItem object.
createMenu ( )
Create a new menu
createMenuItem ( label, eventListener, iconURL )
Create a new menu item.
createSeperatorMenuItem ( )
Create a new separator menu item.
getContextMenu ( )
Returns the application context menu
getCurrentWindow ( )
Returns the current window
getIdleTime ( )
Returns the user's idle time (for the desktop, not just the application)
getMainWindow ( )
Return the application's main window
getMenu ( )
Returns the application's main MenuItem
getOpenWindows ( )
Returns the list of currently open windows
getWindows ( )
Returns the list of currently open windows
setBadge ( text )
Set the application icon's badge text.
setBadgeImage ( imageURL )
Set the application icon's badge image.
setContextMenu ( menu )
Set the application's context menu
setDockIcon ( icon )
Set the dock icon
setDockMenu ( menu )
Set the dock menu
setIcon ( menu )
Set the application's icon
setMenu ( menu )
Set a menu for the application
showDialog ( params )
Create a UI dialog

Objects

Clipboard
UI.Clipboard Object
Dialog
UI.Dialog Object
Menu
UI.Menu Object
MenuItem
UI.MenuItem Object
Tray
UI.Tray Object
UserWindow
UI.UserWindow Object
Window
UI.Window Object
Last Modified on July 7, 2009, 05:07 AM by Jeff Haynie Edit | History