Click here to see your recently viewed pages and most viewed pages.
Hide
Apps Script

UI Service

UI

Deprecated. The UI service was deprecated on December 11, 2014. To create user interfaces, use the HTML service instead.

This service allows developers to build user interfaces for scripts. See also the guide to Ui Service, as well as the guide to Html Service, which allows developers to build user interfaces using standard HTML.

Classes

NameBrief description
AbsolutePanelAn absolute panel positions all of its children absolutely, allowing them to overlap.
AnchorA widget that represents a simple <a> element.
ButtonA standard push-button widget.
CaptionPanelA panel that wraps its contents in a border with a caption that appears in the upper left corner of the border.
CheckBoxA standard check box widget.
ClientHandlerAn event handler that runs in the user's browser without needing a call back to the server.
ComponentA generic component object.
DateBoxA text box that shows a DatePicker when the user focuses on it.
DatePickerA date picker widget.
DateTimeFormatDate and time format constants for widgets such as DateBox.
DecoratedStackPanelA StackPanel that wraps each item in a 2x3 grid (six box), which allows users to add rounded corners.
DecoratedTabBarA TabBar that wraps each tab in a 2x3 grid (six box), which allows users to add rounded corners.
DecoratedTabPanelA TabPanel that uses a DecoratedTabBar with rounded corners.
DecoratorPanelA SimplePanel that wraps its contents in stylized boxes, which can be used to add rounded corners to a Widget.
DialogBoxA form of popup that has a caption area at the top and can be dragged by the user.
DocsListDialogA "file-open" dialog for Google Drive.
FileTypeFile type constants for the DocsListDialog.
FileUploadA widget that wraps the HTML <input type='file'> element.
FlexTableA flexible table that creates cells on demand.
FlowPanelA panel that formats its child widgets using the default HTML layout behavior.
FocusPanelA simple panel that makes its contents focusable, and adds the ability to catch mouse and keyboard events.
FormPanelA panel that wraps its contents in an HTML <FORM> element.
GridA rectangular grid that can contain text, html, or a child widget within its cells.
HTMLA widget that contains arbitrary text, which is interpreted as HTML.
HandlerBase interface for client and server handlers.
HiddenRepresents a hidden field for storing data in the user's browser that can be passed back to a handler as a "callback element".
HorizontalAlignmentHorizontal alignment constants to use with setHorizontalAlignment methods in UiApp.
HorizontalPanelA panel that lays all of its widgets out in a single horizontal column.
ImageA widget that displays the image at a given URL.
InlineLabelA widget that contains arbitrary text, not interpreted as HTML.
LabelA widget that contains arbitrary text, not interpreted as HTML.
ListBoxA widget that presents a list of choices to the user, either as a list box or as a drop-down list.
MenuBarA standard menu bar widget.
MenuItemAn entry in a MenuBar.
MenuItemSeparatorA separator that can be placed in a MenuBar.
PasswordTextBoxA text box that visually masks its input to prevent eavesdropping.
PopupPanelA panel that can "pop up" over other widgets.
PushButtonA normal push button with custom styling.
RadioButtonA mutually-exclusive selection radio button widget.
ResetButtonA standard push-button widget which will automatically reset its enclosing FormPanel if any.
ScrollPanelA panel that wraps its contents in a scrollable element.
ServerHandlerAn event handler that runs on the server.
SimpleCheckBoxA simple checkbox widget, with no label.
SimplePanelA panel that can contain only one widget.
SimpleRadioButtonA simple radio button widget, with no label.
SplitLayoutPanelA panel that adds user-positioned splitters between each of its child widgets.
StackPanelA panel that stacks its children vertically, displaying only one at a time, with a header for each child which the user can click to display.
SubmitButtonA standard push-button widget which will automatically submit its enclosing FormPanel if any.
SuggestBoxA SuggestBox is a text box or text area which displays a pre-configured set of selections that match the user's input.
TabBarA horizontal bar of folder-style tabs, most commonly used as part of a TabPanel.
TabPanelA panel that represents a tabbed set of pages, each of which contains another widget.
TextAreaA text box that allows multiple lines of text to be entered.
TextBoxA standard single-line text box.
ToggleButtonA ToggleButton is a stylish stateful button which allows the user to toggle between up and down states.
TreeA standard hierarchical tree widget.
TreeItemAn item that can be contained within a Tree.
UiAppCreate user interfaces for use inside Google Apps or as standalone services.
UiInstanceA representation of a user interface.
VerticalAlignmentVertical alignment constants to use with setVerticalAlignment methods in UiApp.
VerticalPanelA panel that lays all of its widgets out in a single vertical column.
WidgetBase interface for UiApp widgets.

Class AbsolutePanel

Class Anchor

Class Button

Class CaptionPanel

Class CheckBox

Class ClientHandler

Class Component

Class DateBox

Class DatePicker

Class DateTimeFormat

Class DecoratedStackPanel

Class DecoratedTabBar

Class DecoratedTabPanel

Class DecoratorPanel

Class DialogBox

Class DocsListDialog

Class FileType

Class FileUpload

Class FlexTable

Class FlowPanel

Class FocusPanel

Class FormPanel

Class Grid

Class HTML

Class Handler

Class Hidden

Class HorizontalAlignment

Class HorizontalPanel

Class Image

Class InlineLabel

Class Label

Class ListBox

Class MenuBar

Class MenuItem

Class MenuItemSeparator

Class PasswordTextBox

Class PopupPanel

Class PushButton

Class RadioButton

Class ResetButton

Class ScrollPanel

Class ServerHandler

Class SimpleCheckBox

Class SimplePanel

Class SimpleRadioButton

Class SplitLayoutPanel

Class StackPanel

Class SubmitButton

Class SuggestBox

Class TabBar

Class TabPanel

Class TextArea

Class TextBox

Class ToggleButton

Class Tree

Class TreeItem

Class UiApp

Class UiInstance

Class VerticalAlignment

Class VerticalPanel

Class Widget