UI Service

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

Methods

MethodReturn typeBrief description
add(widget)AbsolutePanelAdd a widget to the AbsolutePanel.
add(widget, left, top)AbsolutePanelAdd a widget to the AbsolutePanel.
addStyleDependentName(styleName)AbsolutePanelSets the dependent style name of this AbsolutePanel.
addStyleName(styleName)AbsolutePanelAdds a style name to this AbsolutePanel.
clear()AbsolutePanelRemove all widgets from the AbsolutePanel.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this AbsolutePanel.
getType()StringGets the type of this object.
remove(index)AbsolutePanelRemove the widget with the given index from the AbsolutePanel.
remove(widget)AbsolutePanelRemove the given widget from the AbsolutePanel.
setHeight(height)AbsolutePanelSets the height of this AbsolutePanel.
setId(id)AbsolutePanelSets the id of this AbsolutePanel.
setPixelSize(width, height)AbsolutePanelSets the size of this AbsolutePanel in pixels.
setSize(width, height)AbsolutePanelSets the size of this AbsolutePanel.
setStyleAttribute(attribute, value)AbsolutePanelSets one of this AbsolutePanel's style attributes to a new value.
setStyleAttributes(attributes)AbsolutePanelSets this AbsolutePanel's style attributes.
setStyleName(styleName)AbsolutePanelSets the style name of this AbsolutePanel.
setStylePrimaryName(styleName)AbsolutePanelSets the primary style name of this AbsolutePanel.
setTag(tag)AbsolutePanelSets the text tag of this AbsolutePanel.
setTitle(title)AbsolutePanelSets the hover title of this AbsolutePanel.
setVisible(visible)AbsolutePanelSets whether this AbsolutePanel is visible.
setWidgetPosition(widget, left, top)AbsolutePanelSet the position of a widget that is already a child of the AbsolutePanel.
setWidth(width)AbsolutePanelSets the width of this AbsolutePanel.

Class Anchor

Methods

MethodReturn typeBrief description
addBlurHandler(handler)AnchorAdd a handler for blur events (losing keyboard focus).
addClickHandler(handler)AnchorAdd a handler for click events.
addFocusHandler(handler)AnchorAdd a handler for focus events (gaining keyboard focus).
addKeyDownHandler(handler)AnchorAdd a handler for key down events.
addKeyPressHandler(handler)AnchorAdd a handler for key press events.
addKeyUpHandler(handler)AnchorAdd a handler for key up events.
addMouseDownHandler(handler)AnchorAdd a handler for mouse down events.
addMouseMoveHandler(handler)AnchorAdd a handler for mouse move events.
addMouseOutHandler(handler)AnchorAdd a handler for mouse out events.
addMouseOverHandler(handler)AnchorAdd a handler for mouse move events.
addMouseUpHandler(handler)AnchorAdd a handler for mouse up events.
addMouseWheelHandler(handler)AnchorAdd a handler for mouse wheel events.
addStyleDependentName(styleName)AnchorSets the dependent style name of this Anchor.
addStyleName(styleName)AnchorAdds a style name to this Anchor.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this Anchor.
getType()StringGets the type of this object.
setFocus(focus)AnchorExplicitly focus/unfocus this Anchor.
setHTML(html)AnchorSets the HTML content of this Anchor.
setHeight(height)AnchorSets the height of this Anchor.
setHorizontalAlignment(horizontalAlignment)AnchorSet the horizontal text alignment of the display text of this Anchor.
setHref(href)AnchorSet the URL that this Anchor links to.
setId(id)AnchorSets the id of this Anchor.
setName(name)AnchorSet the name of this link, rather than the target.
setPixelSize(width, height)AnchorSets the size of this Anchor in pixels.
setSize(width, height)AnchorSets the size of this Anchor.
setStyleAttribute(attribute, value)AnchorSets one of this Anchor's style attributes to a new value.
setStyleAttributes(attributes)AnchorSets this Anchor's style attributes.
setStyleName(styleName)AnchorSets the style name of this Anchor.
setStylePrimaryName(styleName)AnchorSets the primary style name of this Anchor.
setTabIndex(index)AnchorSets the Anchor's position in the tab index.
setTag(tag)AnchorSets the text tag of this Anchor.
setTarget(target)AnchorSet the target of this link.
setText(text)AnchorSet the display text of this Anchor.
setTitle(title)AnchorSets the hover title of this Anchor.
setVisible(visible)AnchorSets whether this Anchor is visible.
setWidth(width)AnchorSets the width of this Anchor.
setWordWrap(wordWrap)AnchorSet whether this Anchor wraps its text.

Class Button

Methods

MethodReturn typeBrief description
addBlurHandler(handler)ButtonAdd a handler for blur events (losing keyboard focus).
addClickHandler(handler)ButtonAdd a handler for click events.
addFocusHandler(handler)ButtonAdd a handler for focus events (gaining keyboard focus).
addKeyDownHandler(handler)ButtonAdd a handler for key down events.
addKeyPressHandler(handler)ButtonAdd a handler for key press events.
addKeyUpHandler(handler)ButtonAdd a handler for key up events.
addMouseDownHandler(handler)ButtonAdd a handler for mouse down events.
addMouseMoveHandler(handler)ButtonAdd a handler for mouse move events.
addMouseOutHandler(handler)ButtonAdd a handler for mouse out events.
addMouseOverHandler(handler)ButtonAdd a handler for mouse move events.
addMouseUpHandler(handler)ButtonAdd a handler for mouse up events.
addMouseWheelHandler(handler)ButtonAdd a handler for mouse wheel events.
addStyleDependentName(styleName)ButtonSets the dependent style name of this Button.
addStyleName(styleName)ButtonAdds a style name to this Button.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this Button.
getType()StringGets the type of this object.
setEnabled(enabled)ButtonSets whether the Button is enabled.
setFocus(focus)ButtonExplicitly focus/unfocus this Button.
setHTML(html)ButtonSets the HTML content of this Button.
setHeight(height)ButtonSets the height of this Button.
setId(id)ButtonSets the id of this Button.
setPixelSize(width, height)ButtonSets the size of this Button in pixels.
setSize(width, height)ButtonSets the size of this Button.
setStyleAttribute(attribute, value)ButtonSets one of this Button's style attributes to a new value.
setStyleAttributes(attributes)ButtonSets this Button's style attributes.
setStyleName(styleName)ButtonSets the style name of this Button.
setStylePrimaryName(styleName)ButtonSets the primary style name of this Button.
setTabIndex(index)ButtonSets the Button's position in the tab index.
setTag(tag)ButtonSets the text tag of this Button.
setText(text)ButtonSet the display text of this Button.
setTitle(title)ButtonSets the hover title of this Button.
setVisible(visible)ButtonSets whether this Button is visible.
setWidth(width)ButtonSets the width of this Button.

Class CaptionPanel

Methods

MethodReturn typeBrief description
add(widget)CaptionPanelAdd a widget to the CaptionPanel.
addStyleDependentName(styleName)CaptionPanelSets the dependent style name of this CaptionPanel.
addStyleName(styleName)CaptionPanelAdds a style name to this CaptionPanel.
clear()CaptionPanelRemove all widgets from the CaptionPanel.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this CaptionPanel.
getType()StringGets the type of this object.
setHeight(height)CaptionPanelSets the height of this CaptionPanel.
setId(id)CaptionPanelSets the id of this CaptionPanel.
setPixelSize(width, height)CaptionPanelSets the size of this CaptionPanel in pixels.
setSize(width, height)CaptionPanelSets the size of this CaptionPanel.
setStyleAttribute(attribute, value)CaptionPanelSets one of this CaptionPanel's style attributes to a new value.
setStyleAttributes(attributes)CaptionPanelSets this CaptionPanel's style attributes.
setStyleName(styleName)CaptionPanelSets the style name of this CaptionPanel.
setStylePrimaryName(styleName)CaptionPanelSets the primary style name of this CaptionPanel.
setTag(tag)CaptionPanelSets the text tag of this CaptionPanel.
setText(text)CaptionPanelSet the display text of this CaptionPanel.
setTitle(title)CaptionPanelSets the hover title of this CaptionPanel.
setVisible(visible)CaptionPanelSets whether this CaptionPanel is visible.
setWidget(widget)CaptionPanelSets the widget inside this CaptionPanel, removing anything previously there.
setWidth(width)CaptionPanelSets the width of this CaptionPanel.

Class CheckBox

Methods

MethodReturn typeBrief description
addBlurHandler(handler)CheckBoxAdd a handler for blur events (losing keyboard focus).
addClickHandler(handler)CheckBoxAdd a handler for click events.
addFocusHandler(handler)CheckBoxAdd a handler for focus events (gaining keyboard focus).
addKeyDownHandler(handler)CheckBoxAdd a handler for key down events.
addKeyPressHandler(handler)CheckBoxAdd a handler for key press events.
addKeyUpHandler(handler)CheckBoxAdd a handler for key up events.
addMouseDownHandler(handler)CheckBoxAdd a handler for mouse down events.
addMouseMoveHandler(handler)CheckBoxAdd a handler for mouse move events.
addMouseOutHandler(handler)CheckBoxAdd a handler for mouse out events.
addMouseOverHandler(handler)CheckBoxAdd a handler for mouse move events.
addMouseUpHandler(handler)CheckBoxAdd a handler for mouse up events.
addMouseWheelHandler(handler)CheckBoxAdd a handler for mouse wheel events.
addStyleDependentName(styleName)CheckBoxSets the dependent style name of this CheckBox.
addStyleName(styleName)CheckBoxAdds a style name to this CheckBox.
addValueChangeHandler(handler)CheckBoxAdd a handler for value change events.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this CheckBox.
getType()StringGets the type of this object.
setEnabled(enabled)CheckBoxSets whether the CheckBox is enabled.
setFocus(focus)CheckBoxExplicitly focus/unfocus this CheckBox.
setFormValue(formValue)CheckBoxSet the value property on the input element that backs this CheckBox.
setHTML(html)CheckBoxSets the HTML content of this CheckBox.
setHeight(height)CheckBoxSets the height of this CheckBox.
setId(id)CheckBoxSets the id of this CheckBox.
setName(name)CheckBoxSets the name of the CheckBox, which is how it will be referred to when used in a FormPanel or as a callback element on an event handler.
setPixelSize(width, height)CheckBoxSets the size of this CheckBox in pixels.
setSize(width, height)CheckBoxSets the size of this CheckBox.
setStyleAttribute(attribute, value)CheckBoxSets one of this CheckBox's style attributes to a new value.
setStyleAttributes(attributes)CheckBoxSets this CheckBox's style attributes.
setStyleName(styleName)CheckBoxSets the style name of this CheckBox.
setStylePrimaryName(styleName)CheckBoxSets the primary style name of this CheckBox.
setTabIndex(index)CheckBoxSets the CheckBox's position in the tab index.
setTag(tag)CheckBoxSets the text tag of this CheckBox.
setText(text)CheckBoxSet the display text of this CheckBox.
setTitle(title)CheckBoxSets the hover title of this CheckBox.
setValue(value)CheckBoxSets whether the CheckBox should be checked.
setValue(value, fireEvents)CheckBoxSets whether the CheckBox should be checked and optionally fires an event if the value changes as a result of this call.
setVisible(visible)CheckBoxSets whether this CheckBox is visible.
setWidth(width)CheckBoxSets the width of this CheckBox.

Class ClientHandler

Methods

MethodReturn typeBrief description
forEventSource()ClientHandlerSets the target of this handler for subsequent directives to be whatever widget triggered the event that this handler was called for.
forTargets(widgets)ClientHandlerSets the target of this handler for subsequent directives to be the given widgets.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this ClientHandler.
getType()StringGets the type of this object.
setEnabled(enabled)ClientHandlerA directive to set the enabled/disabled state of the widgets this handler is targeted to.
setHTML(html)ClientHandlerA directive to set the html text of the widgets this handler is targeted to.
setId(id)ClientHandlerSets the id of this ClientHandler.
setStyleAttribute(row, column, attribute, value)ClientHandlerA directive to set a style attribute on a grid element.
setStyleAttribute(attribute, value)ClientHandlerA directive to set a style attribute on the widgets the handler is targeted to.
setStyleAttributes(row, column, attributes)ClientHandlerA directive to set multiple style attributes on a grid element.
setStyleAttributes(attributes)ClientHandlerA directive to set multiple style attributes on the widgets the handler is targeted to.
setTag(tag)ClientHandlerSets the text tag of this ClientHandler.
setText(text)ClientHandlerA directive to set the text of the widgets this handler is targeted to.
setValue(value)ClientHandlerA directive to set the boolean value of the widgets this handler is targeted to.
setVisible(visible)ClientHandlerA directive to set the visibility of the widgets this handler is targeted to.
validateEmail(widget)ClientHandlerSets this handler to fire only if the given widget's value is a valid email address.
validateInteger(widget)ClientHandlerSets this handler to fire only if the given widget's value can be interpreted as an integer.
validateLength(widget, min, max)ClientHandlerSets this handler to fire only if the given widget's value is a string whose length is between min and max.
validateMatches(widget, pattern)ClientHandlerSets this handler to fire only if the given widget's value matches this regular expression.
validateMatches(widget, pattern, flags)ClientHandlerSets this handler to fire only if the given widget's value matches this regular expression.
validateNotEmail(widget)ClientHandlerSets this handler to fire only if the given widget's value is not a valid email address.
validateNotInteger(widget)ClientHandlerSets this handler to fire only if the given widget's value cannot be interpreted as an integer.
validateNotLength(widget, min, max)ClientHandlerSets this handler to fire only if the given widget's value is a string whose length is less than min or greater than max.
validateNotMatches(widget, pattern)ClientHandlerSets this handler to fire only if the given widget's value does not match this regular expression.
validateNotMatches(widget, pattern, flags)ClientHandlerSets this handler to fire only if the given widget's value does not match this regular expression.
validateNotNumber(widget)ClientHandlerSets this handler to fire only if the given widget's value cannot be interpreted as an number.
validateNotOptions(widget, options)ClientHandlerSets this handler to fire only if the given widget's value is not one of the strings given in the options parameter.
validateNotRange(widget, min, max)ClientHandlerSets this handler to fire only if the given widget's value cannot be interpreted as a number that is between min and max.
validateNotSum(widgets, sum)ClientHandlerSets this handler to fire only if the given widgets have values that are not numbers, or that do not sum up to the given value.
validateNumber(widget)ClientHandlerSets this handler to fire only if the given widget's value can be interpreted as a number.
validateOptions(widget, options)ClientHandlerSets this handler to fire only if the given widget's value is one of the strings given in the options parameter.
validateRange(widget, min, max)ClientHandlerSets this handler to fire only if the given widget's value can be interpreted as a number and is between min and max.
validateSum(widgets, sum)ClientHandlerSets this handler to fire only if the given widgets have values that are numbers and sum up to the given value.

Class Component

Methods

MethodReturn typeBrief description
getId()StringReturns the id that has been assigned to this object.
getType()StringGets the type of this object.

Class DateBox

Methods

MethodReturn typeBrief description
addStyleDependentName(styleName)DateBoxSets the dependent style name of this DateBox.
addStyleName(styleName)DateBoxAdds a style name to this DateBox.
addValueChangeHandler(handler)DateBoxAdd a handler for value change events.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this DateBox.
getType()StringGets the type of this object.
hideDatePicker()DateBoxHide the date picker.
setEnabled(enabled)DateBoxSets whether the DateBox is enabled.
setFireEventsForInvalid(fireEvents)DateBoxSets whether value changed events are fired for invalid or empty input in the box.
setFocus(focus)DateBoxExplicitly focus/unfocus this DateBox.
setFormat(dateTimeFormat)DateBoxSets the format used to control formatting and parsing of dates in this DateBox.
setHeight(height)DateBoxSets the height of this DateBox.
setId(id)DateBoxSets the id of this DateBox.
setName(name)DateBoxSets the name of the DateBox, which is how it will be referred to when used in a FormPanel or as a callback element on an event handler.
setPixelSize(width, height)DateBoxSets the size of this DateBox in pixels.
setSize(width, height)DateBoxSets the size of this DateBox.
setStyleAttribute(attribute, value)DateBoxSets one of this DateBox's style attributes to a new value.
setStyleAttributes(attributes)DateBoxSets this DateBox's style attributes.
setStyleName(styleName)DateBoxSets the style name of this DateBox.
setStylePrimaryName(styleName)DateBoxSets the primary style name of this DateBox.
setTabIndex(index)DateBoxSets the DateBox's position in the tab index.
setTag(tag)DateBoxSets the text tag of this DateBox.
setTitle(title)DateBoxSets the hover title of this DateBox.
setValue(date)DateBoxSets the date shown by this DateBox.
setVisible(visible)DateBoxSets whether this DateBox is visible.
setWidth(width)DateBoxSets the width of this DateBox.
showDatePicker()DateBoxParses the current DateBox's value and shows that date.

Class DatePicker

Methods

MethodReturn typeBrief description
addStyleDependentName(styleName)DatePickerSets the dependent style name of this DatePicker.
addStyleName(styleName)DatePickerAdds a style name to this DatePicker.
addValueChangeHandler(handler)DatePickerAdd a handler for value change events.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this DatePicker.
getType()StringGets the type of this object.
setCurrentMonth(date)DatePickerSets the DatePicker to show the given month without selecting a particular date.
setHeight(height)DatePickerSets the height of this DatePicker.
setId(id)DatePickerSets the id of this DatePicker.
setName(name)DatePickerSets the name of the DatePicker, which is how it will be referred to when used in a FormPanel or as a callback element on an event handler.
setPixelSize(width, height)DatePickerSets the size of this DatePicker in pixels.
setSize(width, height)DatePickerSets the size of this DatePicker.
setStyleAttribute(attribute, value)DatePickerSets one of this DatePicker's style attributes to a new value.
setStyleAttributes(attributes)DatePickerSets this DatePicker's style attributes.
setStyleName(styleName)DatePickerSets the style name of this DatePicker.
setStylePrimaryName(styleName)DatePickerSets the primary style name of this DatePicker.
setTag(tag)DatePickerSets the text tag of this DatePicker.
setTitle(title)DatePickerSets the hover title of this DatePicker.
setValue(date)DatePickerSets the date shown by this DatePicker.
setVisible(visible)DatePickerSets whether this DatePicker is visible.
setWidth(width)DatePickerSets the width of this DatePicker.

Class DateTimeFormat

Properties

PropertyTypeDescription
ISO_8601EnumUse the ISO 8601 standard format, for example, "2013-03-04T00:00:00.000-05:00".
RFC_2822EnumUse the RFC 2822 standard format, for example, "Mon, 4 Mar 2013 00:00:00 -0500".
DATE_FULLEnumUse "DayOfWeek, YYYY Month DD" format, for example, "Monday, 2013 March 04".
DATE_LONGEnumUse "YYYY Month D" format, for example, "2013 March 4".
DATE_MEDIUMEnumUse "YYYY Mon D" format, for example, "2013 Mar 4".
DATE_SHORTEnumUse "YYYY-MM-DD" format, for example, "2013-03-04".
TIME_FULLEnumUse "HH:MM:SS UTC-#" format, for example, "01:30:00 UTC-5".
TIME_LONGEnumUse "HH:MM:SS UTC-#" format, for example, "01:30:00 UTC-5".
TIME_MEDIUMEnumUse "HH:MM:SS" format, for example, "01:30:00".
TIME_SHORTEnumUse "HH:MM" format, for example, "01:30".
DATE_TIME_FULLEnumUse "DayOfWeek, YYYY Month DD HH:MM:SS UTC-#" format, for example, "Monday, 2013 March 04 00:00:00 UTC-5".
DATE_TIME_LONGEnumUse "YYYY Month D HH:MM:SS UTC-#" format, for example, "2013 March 4 00:00:00 UTC-5".
DATE_TIME_MEDIUMEnumUse "YYYY Mon D HH:MM:SS" format, for example, "2013 Mar 4 00:00:00".
DATE_TIME_SHORTEnumUse "YYYY-MM-DD HH:MM" format, for example, "2013-03-04 00:00".
DAYEnumUse the day number, for example, "4" for the 4th of the month.
HOUR_MINUTEEnumUse "HH:MM AM/PM" format, for example, "12:00 AM".
HOUR_MINUTE_SECONDEnumUse "HH:MM:SS AM/PM" format, for example, "12:00:00 AM".
HOUR24_MINUTEEnumUse "HH:MM" format, for example, "14:30".
HOUR24_MINUTE_SECONDEnumUse "HH:MM:SS" format, for example, "14:30:00".
MINUTE_SECONDEnumUse "MM:SS" format, for example, "30:00".
MONTHEnumUse the full month, for example, "March".
MONTH_ABBREnumUse the abbreviated month, for example, "Mar".
MONTH_ABBR_DAYEnumUse "Mon D" format, for example, "Mar 4".
MONTH_DAYEnumUse "Month D" format, for example, "March 4".
MONTH_NUM_DAYEnumUse "M-D" format, for example, "3-4".
MONTH_WEEKDAY_DAYEnumUse "DayOfWeek Month D" format, for example, "Monday March 4".
YEAREnumUse "YYYY" format, for example, "2013".
YEAR_MONTHEnumUse "YYYY Month" format, for example, "2013 March".
YEAR_MONTH_ABBREnumUse "YYYY Mon" format, for example, "2013 Mar".
YEAR_MONTH_ABBR_DAYEnumUse "YYYY Mon D" format, for example, "2013 Mar 4".
YEAR_MONTH_DAYEnumUse "YYYY Month D" format, for example, "2013 March 4".
YEAR_MONTH_NUMEnumUse "YYYY-M" format, for example, "2013-3".
YEAR_MONTH_NUM_DAYEnumUse "YYYY-M-D" format, for example, "2013-3-4".
YEAR_MONTH_WEEKDAY_DAYEnumUse "Wkdy, YYYY Mon D" format, for example, "Mon, 2013 Mar 4".
YEAR_QUARTEREnumUse "YYYY ### quarter" format, for example, "2013 1st quarter".
YEAR_QUARTER_ABBREnumUse "YYYY Q#" format, for example, "2013 Q1".

Class DecoratedStackPanel

Methods

MethodReturn typeBrief description
add(widget)DecoratedStackPanelAdd a widget to the DecoratedStackPanel.
add(widget, text)DecoratedStackPanelAdds a widget to the stack with the given header text.
add(widget, text, asHtml)DecoratedStackPanelAdds a widget to the stack with the given header text.
addStyleDependentName(styleName)DecoratedStackPanelSets the dependent style name of this DecoratedStackPanel.
addStyleName(styleName)DecoratedStackPanelAdds a style name to this DecoratedStackPanel.
clear()DecoratedStackPanelRemove all widgets from the DecoratedStackPanel.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this DecoratedStackPanel.
getType()StringGets the type of this object.
remove(index)DecoratedStackPanelRemove the widget with the given index from the DecoratedStackPanel.
remove(widget)DecoratedStackPanelRemove the given widget from the DecoratedStackPanel.
setHeight(height)DecoratedStackPanelSets the height of this DecoratedStackPanel.
setId(id)DecoratedStackPanelSets the id of this DecoratedStackPanel.
setPixelSize(width, height)DecoratedStackPanelSets the size of this DecoratedStackPanel in pixels.
setSize(width, height)DecoratedStackPanelSets the size of this DecoratedStackPanel.
setStackText(index, text)DecoratedStackPanelSets the text associated with a child by its index.
setStackText(index, text, asHtml)DecoratedStackPanelSets the text associated with a child by its index.
setStyleAttribute(attribute, value)DecoratedStackPanelSets one of this DecoratedStackPanel's style attributes to a new value.
setStyleAttributes(attributes)DecoratedStackPanelSets this DecoratedStackPanel's style attributes.
setStyleName(styleName)DecoratedStackPanelSets the style name of this DecoratedStackPanel.
setStylePrimaryName(styleName)DecoratedStackPanelSets the primary style name of this DecoratedStackPanel.
setTag(tag)DecoratedStackPanelSets the text tag of this DecoratedStackPanel.
setTitle(title)DecoratedStackPanelSets the hover title of this DecoratedStackPanel.
setVisible(visible)DecoratedStackPanelSets whether this DecoratedStackPanel is visible.
setWidth(width)DecoratedStackPanelSets the width of this DecoratedStackPanel.

Class DecoratedTabBar

Methods

MethodReturn typeBrief description
addSelectionHandler(handler)DecoratedTabBarAdd a handler for selection events.
addStyleDependentName(styleName)DecoratedTabBarSets the dependent style name of this DecoratedTabBar.
addStyleName(styleName)DecoratedTabBarAdds a style name to this DecoratedTabBar.
addTab(title)DecoratedTabBarAdd a tab with the given title.
addTab(title, asHtml)DecoratedTabBarAdd a tab with the given title.
addTab(widget)DecoratedTabBarAdd a tab with the given widget as its title.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this DecoratedTabBar.
getType()StringGets the type of this object.
selectTab(index)DecoratedTabBarSelect a tab by index.
setHeight(height)DecoratedTabBarSets the height of this DecoratedTabBar.
setId(id)DecoratedTabBarSets the id of this DecoratedTabBar.
setPixelSize(width, height)DecoratedTabBarSets the size of this DecoratedTabBar in pixels.
setSize(width, height)DecoratedTabBarSets the size of this DecoratedTabBar.
setStyleAttribute(attribute, value)DecoratedTabBarSets one of this DecoratedTabBar's style attributes to a new value.
setStyleAttributes(attributes)DecoratedTabBarSets this DecoratedTabBar's style attributes.
setStyleName(styleName)DecoratedTabBarSets the style name of this DecoratedTabBar.
setStylePrimaryName(styleName)DecoratedTabBarSets the primary style name of this DecoratedTabBar.
setTabEnabled(index, enabled)DecoratedTabBarSet whether the given tab is enabled.
setTabText(index, text)DecoratedTabBarSet the header text of a given tab.
setTag(tag)DecoratedTabBarSets the text tag of this DecoratedTabBar.
setTitle(title)DecoratedTabBarSets the hover title of this DecoratedTabBar.
setVisible(visible)DecoratedTabBarSets whether this DecoratedTabBar is visible.
setWidth(width)DecoratedTabBarSets the width of this DecoratedTabBar.

Class DecoratedTabPanel

Methods

MethodReturn typeBrief description
add(widget)DecoratedTabPanelAdd a widget to the DecoratedTabPanel.
add(widget, text)DecoratedTabPanelAdds a widget to the stack with the given header text.
add(widget, text, asHtml)DecoratedTabPanelAdds a widget to the stack with the given header text.
add(widget, tabWidget)DecoratedTabPanelAdd a widget to this DecoratedTabPanel with the given widget as its tab header.
addSelectionHandler(handler)DecoratedTabPanelAdd a handler for selection events.
addStyleDependentName(styleName)DecoratedTabPanelSets the dependent style name of this DecoratedTabPanel.
addStyleName(styleName)DecoratedTabPanelAdds a style name to this DecoratedTabPanel.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this DecoratedTabPanel.
getType()StringGets the type of this object.
selectTab(index)DecoratedTabPanelSelect a tab by index.
setAnimationEnabled(animationEnabled)DecoratedTabPanelSets whether changing tabs DecoratedTabPanel is animated.
setHeight(height)DecoratedTabPanelSets the height of this DecoratedTabPanel.
setId(id)DecoratedTabPanelSets the id of this DecoratedTabPanel.
setPixelSize(width, height)DecoratedTabPanelSets the size of this DecoratedTabPanel in pixels.
setSize(width, height)DecoratedTabPanelSets the size of this DecoratedTabPanel.
setStyleAttribute(attribute, value)DecoratedTabPanelSets one of this DecoratedTabPanel's style attributes to a new value.
setStyleAttributes(attributes)DecoratedTabPanelSets this DecoratedTabPanel's style attributes.
setStyleName(styleName)DecoratedTabPanelSets the style name of this DecoratedTabPanel.
setStylePrimaryName(styleName)DecoratedTabPanelSets the primary style name of this DecoratedTabPanel.
setTag(tag)DecoratedTabPanelSets the text tag of this DecoratedTabPanel.
setTitle(title)DecoratedTabPanelSets the hover title of this DecoratedTabPanel.
setVisible(visible)DecoratedTabPanelSets whether this DecoratedTabPanel is visible.
setWidth(width)DecoratedTabPanelSets the width of this DecoratedTabPanel.

Class DecoratorPanel

Methods

MethodReturn typeBrief description
add(widget)DecoratorPanelAdd a widget to the DecoratorPanel.
addStyleDependentName(styleName)DecoratorPanelSets the dependent style name of this DecoratorPanel.
addStyleName(styleName)DecoratorPanelAdds a style name to this DecoratorPanel.
clear()DecoratorPanelRemove all widgets from the DecoratorPanel.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this DecoratorPanel.
getType()StringGets the type of this object.
setHeight(height)DecoratorPanelSets the height of this DecoratorPanel.
setId(id)DecoratorPanelSets the id of this DecoratorPanel.
setPixelSize(width, height)DecoratorPanelSets the size of this DecoratorPanel in pixels.
setSize(width, height)DecoratorPanelSets the size of this DecoratorPanel.
setStyleAttribute(attribute, value)DecoratorPanelSets one of this DecoratorPanel's style attributes to a new value.
setStyleAttributes(attributes)DecoratorPanelSets this DecoratorPanel's style attributes.
setStyleName(styleName)DecoratorPanelSets the style name of this DecoratorPanel.
setStylePrimaryName(styleName)DecoratorPanelSets the primary style name of this DecoratorPanel.
setTag(tag)DecoratorPanelSets the text tag of this DecoratorPanel.
setTitle(title)DecoratorPanelSets the hover title of this DecoratorPanel.
setVisible(visible)DecoratorPanelSets whether this DecoratorPanel is visible.
setWidget(widget)DecoratorPanelSets the widget inside this DecoratorPanel, removing anything previously there.
setWidth(width)DecoratorPanelSets the width of this DecoratorPanel.

Class DialogBox

Methods

MethodReturn typeBrief description
add(widget)DialogBoxAdd a widget to the DialogBox.
addCloseHandler(handler)DialogBoxAdd a handler for close events.
addStyleDependentName(styleName)DialogBoxSets the dependent style name of this DialogBox.
addStyleName(styleName)DialogBoxAdds a style name to this DialogBox.
clear()DialogBoxRemove all widgets from the DialogBox.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this DialogBox.
getType()StringGets the type of this object.
hide()DialogBoxHides the popup.
setAnimationEnabled(animationEnabled)DialogBoxSets whether opening and closing the DialogBox is animated.
setAutoHideEnabled(enabled)DialogBoxEnable or disable the autoHide feature.
setGlassEnabled(enabled)DialogBoxEnable or disable a "glass" pane.
setHTML(html)DialogBoxSets the HTML content of this DialogBox.
setHeight(height)DialogBoxSets the height of this DialogBox.
setId(id)DialogBoxSets the id of this DialogBox.
setModal(modal)DialogBoxSets whether this DialogBox is in "modal" mode.
setPixelSize(width, height)DialogBoxSets the size of this DialogBox in pixels.
setPopupPosition(left, top)DialogBoxSets the popup's position relative to the browser's client area.
setPreviewingAllNativeEvents(previewing)DialogBoxWhen enabled, the DialogBox will preview all native events, even if another popup was opened after this one.
setSize(width, height)DialogBoxSets the size of this DialogBox.
setStyleAttribute(attribute, value)DialogBoxSets one of this DialogBox's style attributes to a new value.
setStyleAttributes(attributes)DialogBoxSets this DialogBox's style attributes.
setStyleName(styleName)DialogBoxSets the style name of this DialogBox.
setStylePrimaryName(styleName)DialogBoxSets the primary style name of this DialogBox.
setTag(tag)DialogBoxSets the text tag of this DialogBox.
setText(text)DialogBoxSets the text inside the caption.
setTitle(title)DialogBoxSets the hover title of this DialogBox.
setVisible(visible)DialogBoxSets whether this DialogBox is visible.
setWidget(widget)DialogBoxSets the widget inside this DialogBox, removing anything previously there.
setWidth(width)DialogBoxSets the width of this DialogBox.
show()DialogBoxShows the popup.

Class DocsListDialog

Methods

MethodReturn typeBrief description
addCloseHandler(handler)DocsListDialogAdd a handler for close events.
addSelectionHandler(handler)DocsListDialogAdd a handler for selection events.
addView(fileType)DocsListDialogAdd a type of file that this DocsListDialog will show.
getId()StringReturns the id that has been assigned to this object.
getType()StringGets the type of this object.
setDialogTitle(title)DocsListDialogSet the title of this DocsListDialog.
setHeight(height)DocsListDialogSet the height of this DocsListDialog.
setInitialView(fileType)DocsListDialogSet the initial type of file that this DocsListDialog will show.
setMultiSelectEnabled(multiSelectEnabled)DocsListDialogSet whether multiple items can be selected.
setWidth(width)DocsListDialogSet the width of this DocsListDialog.
showDocsPicker()DocsListDialogShow this DocsListDialog.

Class FileType

Properties

PropertyTypeDescription
ALLEnumShow all files
ALL_DOCSEnumShow all document file types
DRAWINGSEnumShow drawings
DOCUMENTSEnumShow documents
SPREADSHEETSEnumShow spreadsheets
FOLDERSEnumShow folders
RECENTLY_PICKEDEnumShow recently picked files
PRESENTATIONSEnumShow presentations
FORMSEnumShow forms
PHOTOSEnumShow photos
PHOTO_ALBUMSEnumShow photo albums
PDFSEnumShow PDFs

Class FileUpload

Methods

MethodReturn typeBrief description
addChangeHandler(handler)FileUploadAdd a handler for change events.
addStyleDependentName(styleName)FileUploadSets the dependent style name of this FileUpload.
addStyleName(styleName)FileUploadAdds a style name to this FileUpload.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this FileUpload.
getType()StringGets the type of this object.
setEnabled(enabled)FileUploadSets whether the FileUpload is enabled.
setHeight(height)FileUploadSets the height of this FileUpload.
setId(id)FileUploadSets the id of this FileUpload.
setName(name)FileUploadSets the name of the FileUpload, which is how it will be referred to when used in a FormPanel or as a callback element on an event handler.
setPixelSize(width, height)FileUploadSets the size of this FileUpload in pixels.
setSize(width, height)FileUploadSets the size of this FileUpload.
setStyleAttribute(attribute, value)FileUploadSets one of this FileUpload's style attributes to a new value.
setStyleAttributes(attributes)FileUploadSets this FileUpload's style attributes.
setStyleName(styleName)FileUploadSets the style name of this FileUpload.
setStylePrimaryName(styleName)FileUploadSets the primary style name of this FileUpload.
setTag(tag)FileUploadSets the text tag of this FileUpload.
setTitle(title)FileUploadSets the hover title of this FileUpload.
setVisible(visible)FileUploadSets whether this FileUpload is visible.
setWidth(width)FileUploadSets the width of this FileUpload.

Class FlexTable

Methods

MethodReturn typeBrief description
addCell(row)FlexTableAppends a cell to the specified row.
addClickHandler(handler)FlexTableAdd a handler for click events.
addStyleDependentName(styleName)FlexTableSets the dependent style name of this FlexTable.
addStyleName(styleName)FlexTableAdds a style name to this FlexTable.
clear()FlexTableRemove all widgets from the FlexTable.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this FlexTable.
getType()StringGets the type of this object.
insertCell(beforeRow, beforeColumn)FlexTableInserts a cell into the FlexTable.
insertRow(beforeRow)FlexTableInserts a row into the FlexTable before the given row.
removeCell(row, column)FlexTableRemoves the specified cell from the FlexTable.
removeCells(row, column, num)FlexTableRemoves a number of cells from one row in the FlexTable.
removeRow(row)FlexTableRemoves the specified row from the FlexTable.
setBorderWidth(width)FlexTableSets the border width.
setCellPadding(padding)FlexTableSets the padding within cells.
setCellSpacing(spacing)FlexTableSets the spacing between cells.
setColumnStyleAttribute(column, attribute, value)FlexTableSets a CSS style on a column of this FlexTable.
setColumnStyleAttributes(column, attributes)FlexTableSets a CSS style on a column of this FlexTable.
setHeight(height)FlexTableSets the height of this FlexTable.
setId(id)FlexTableSets the id of this FlexTable.
setPixelSize(width, height)FlexTableSets the size of this FlexTable in pixels.
setRowStyleAttribute(row, attribute, value)FlexTableSets a CSS style on a row of this FlexTable.
setRowStyleAttributes(row, attributes)FlexTableSets a CSS style on a row of this FlexTable.
setSize(width, height)FlexTableSets the size of this FlexTable.
setStyleAttribute(row, column, attribute, value)FlexTableSets a CSS style on a cell of this FlexTable.
setStyleAttribute(attribute, value)FlexTableSets one of this FlexTable's style attributes to a new value.
setStyleAttributes(row, column, attributes)FlexTableSets a CSS style on a cell of this FlexTable.
setStyleAttributes(attributes)FlexTableSets this FlexTable's style attributes.
setStyleName(styleName)FlexTableSets the style name of this FlexTable.
setStylePrimaryName(styleName)FlexTableSets the primary style name of this FlexTable.
setTag(tag)FlexTableSets the text tag of this FlexTable.
setText(row, column, text)FlexTableSets the contents of a given cell to the given text.
setTitle(title)FlexTableSets the hover title of this FlexTable.
setVisible(visible)FlexTableSets whether this FlexTable is visible.
setWidget(row, column, widget)FlexTableSets the widget in a given cell.
setWidth(width)FlexTableSets the width of this FlexTable.

Class FlowPanel

Methods

MethodReturn typeBrief description
add(widget)FlowPanelAdd a widget to the FlowPanel.
addStyleDependentName(styleName)FlowPanelSets the dependent style name of this FlowPanel.
addStyleName(styleName)FlowPanelAdds a style name to this FlowPanel.
clear()FlowPanelRemove all widgets from the FlowPanel.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this FlowPanel.
getType()StringGets the type of this object.
insert(widget, beforeIndex)FlowPanelAdd a widget to the FlowPanel at a specific index.
remove(index)FlowPanelRemove the widget with the given index from the FlowPanel.
remove(widget)FlowPanelRemove the given widget from the FlowPanel.
setHeight(height)FlowPanelSets the height of this FlowPanel.
setId(id)FlowPanelSets the id of this FlowPanel.
setPixelSize(width, height)FlowPanelSets the size of this FlowPanel in pixels.
setSize(width, height)FlowPanelSets the size of this FlowPanel.
setStyleAttribute(attribute, value)FlowPanelSets one of this FlowPanel's style attributes to a new value.
setStyleAttributes(attributes)FlowPanelSets this FlowPanel's style attributes.
setStyleName(styleName)FlowPanelSets the style name of this FlowPanel.
setStylePrimaryName(styleName)FlowPanelSets the primary style name of this FlowPanel.
setTag(tag)FlowPanelSets the text tag of this FlowPanel.
setTitle(title)FlowPanelSets the hover title of this FlowPanel.
setVisible(visible)FlowPanelSets whether this FlowPanel is visible.
setWidth(width)FlowPanelSets the width of this FlowPanel.

Class FocusPanel

Methods

MethodReturn typeBrief description
add(widget)FocusPanelAdd a widget to the FocusPanel.
addBlurHandler(handler)FocusPanelAdd a handler for blur events (losing keyboard focus).
addClickHandler(handler)FocusPanelAdd a handler for click events.
addFocusHandler(handler)FocusPanelAdd a handler for focus events (gaining keyboard focus).
addKeyDownHandler(handler)FocusPanelAdd a handler for key down events.
addKeyPressHandler(handler)FocusPanelAdd a handler for key press events.
addKeyUpHandler(handler)FocusPanelAdd a handler for key up events.
addMouseDownHandler(handler)FocusPanelAdd a handler for mouse down events.
addMouseMoveHandler(handler)FocusPanelAdd a handler for mouse move events.
addMouseOutHandler(handler)FocusPanelAdd a handler for mouse out events.
addMouseOverHandler(handler)FocusPanelAdd a handler for mouse move events.
addMouseUpHandler(handler)FocusPanelAdd a handler for mouse up events.
addMouseWheelHandler(handler)FocusPanelAdd a handler for mouse wheel events.
addStyleDependentName(styleName)FocusPanelSets the dependent style name of this FocusPanel.
addStyleName(styleName)FocusPanelAdds a style name to this FocusPanel.
clear()FocusPanelRemove all widgets from the FocusPanel.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this FocusPanel.
getType()StringGets the type of this object.
setFocus(focus)FocusPanelExplicitly focus/unfocus this FocusPanel.
setHeight(height)FocusPanelSets the height of this FocusPanel.
setId(id)FocusPanelSets the id of this FocusPanel.
setPixelSize(width, height)FocusPanelSets the size of this FocusPanel in pixels.
setSize(width, height)FocusPanelSets the size of this FocusPanel.
setStyleAttribute(attribute, value)FocusPanelSets one of this FocusPanel's style attributes to a new value.
setStyleAttributes(attributes)FocusPanelSets this FocusPanel's style attributes.
setStyleName(styleName)FocusPanelSets the style name of this FocusPanel.
setStylePrimaryName(styleName)FocusPanelSets the primary style name of this FocusPanel.
setTabIndex(index)FocusPanelSets the FocusPanel's position in the tab index.
setTag(tag)FocusPanelSets the text tag of this FocusPanel.
setTitle(title)FocusPanelSets the hover title of this FocusPanel.
setVisible(visible)FocusPanelSets whether this FocusPanel is visible.
setWidget(widget)FocusPanelSets the widget inside this FocusPanel, removing anything previously there.
setWidth(width)FocusPanelSets the width of this FocusPanel.

Class FormPanel

Methods

MethodReturn typeBrief description
add(widget)FormPanelAdd a widget to the FormPanel.
addStyleDependentName(styleName)FormPanelSets the dependent style name of this FormPanel.
addStyleName(styleName)FormPanelAdds a style name to this FormPanel.
addSubmitCompleteHandler(handler)FormPanelAdd a handler for when the form is submitted and the server has finished processing the results.
addSubmitHandler(handler)FormPanelAdd a handler for when the form is submitted.
clear()FormPanelRemove all widgets from the FormPanel.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this FormPanel.
getType()StringGets the type of this object.
setAction(action)FormPanelSets the URL to submit this form to.
setEncoding(encoding)FormPanelSets the encoding used for submitting this form.
setHeight(height)FormPanelSets the height of this FormPanel.
setId(id)FormPanelSets the id of this FormPanel.
setMethod(method)FormPanelSets the HTTP method used for submitting this form.
setPixelSize(width, height)FormPanelSets the size of this FormPanel in pixels.
setSize(width, height)FormPanelSets the size of this FormPanel.
setStyleAttribute(attribute, value)FormPanelSets one of this FormPanel's style attributes to a new value.
setStyleAttributes(attributes)FormPanelSets this FormPanel's style attributes.
setStyleName(styleName)FormPanelSets the style name of this FormPanel.
setStylePrimaryName(styleName)FormPanelSets the primary style name of this FormPanel.
setTag(tag)FormPanelSets the text tag of this FormPanel.
setTitle(title)FormPanelSets the hover title of this FormPanel.
setVisible(visible)FormPanelSets whether this FormPanel is visible.
setWidget(widget)FormPanelSets the widget inside this FormPanel, removing anything previously there.
setWidth(width)FormPanelSets the width of this FormPanel.

Class Grid

Methods

MethodReturn typeBrief description
addClickHandler(handler)GridAdd a handler for click events.
addStyleDependentName(styleName)GridSets the dependent style name of this Grid.
addStyleName(styleName)GridAdds a style name to this Grid.
clear()GridRemove all widgets from the Grid.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this Grid.
getType()StringGets the type of this object.
resize(rows, columns)GridResizes the Grid.
setBorderWidth(width)GridSets the border width.
setCellPadding(padding)GridSets the padding within cells.
setCellSpacing(spacing)GridSets the spacing between cells.
setColumnStyleAttribute(column, attribute, value)GridSets a CSS style on a column of this Grid.
setColumnStyleAttributes(column, attributes)GridSets a CSS style on a column of this Grid.
setHeight(height)GridSets the height of this Grid.
setId(id)GridSets the id of this Grid.
setPixelSize(width, height)GridSets the size of this Grid in pixels.
setRowStyleAttribute(row, attribute, value)GridSets a CSS style on a row of this Grid.
setRowStyleAttributes(row, attributes)GridSets a CSS style on a row of this Grid.
setSize(width, height)GridSets the size of this Grid.
setStyleAttribute(row, column, attribute, value)GridSets a CSS style on a cell of this Grid.
setStyleAttribute(attribute, value)GridSets one of this Grid's style attributes to a new value.
setStyleAttributes(row, column, attributes)GridSets a CSS style on a cell of this Grid.
setStyleAttributes(attributes)GridSets this Grid's style attributes.
setStyleName(styleName)GridSets the style name of this Grid.
setStylePrimaryName(styleName)GridSets the primary style name of this Grid.
setTag(tag)GridSets the text tag of this Grid.
setText(row, column, text)GridSets the contents of a given cell to the given text.
setTitle(title)GridSets the hover title of this Grid.
setVisible(visible)GridSets whether this Grid is visible.
setWidget(row, column, widget)GridSets the widget in a given cell.
setWidth(width)GridSets the width of this Grid.

Class HTML

Methods

MethodReturn typeBrief description
addClickHandler(handler)HTMLAdd a handler for click events.
addMouseDownHandler(handler)HTMLAdd a handler for mouse down events.
addMouseMoveHandler(handler)HTMLAdd a handler for mouse move events.
addMouseOutHandler(handler)HTMLAdd a handler for mouse out events.
addMouseOverHandler(handler)HTMLAdd a handler for mouse move events.
addMouseUpHandler(handler)HTMLAdd a handler for mouse up events.
addMouseWheelHandler(handler)HTMLAdd a handler for mouse wheel events.
addStyleDependentName(styleName)HTMLSets the dependent style name of this HTML.
addStyleName(styleName)HTMLAdds a style name to this HTML.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this HTML.
getType()StringGets the type of this object.
setHTML(html)HTMLSets the HTML content of this HTML.
setHeight(height)HTMLSets the height of this HTML.
setHorizontalAlignment(horizontalAlignment)HTMLSet the horizontal text alignment of the display text of this HTML.
setId(id)HTMLSets the id of this HTML.
setPixelSize(width, height)HTMLSets the size of this HTML in pixels.
setSize(width, height)HTMLSets the size of this HTML.
setStyleAttribute(attribute, value)HTMLSets one of this HTML's style attributes to a new value.
setStyleAttributes(attributes)HTMLSets this HTML's style attributes.
setStyleName(styleName)HTMLSets the style name of this HTML.
setStylePrimaryName(styleName)HTMLSets the primary style name of this HTML.
setTag(tag)HTMLSets the text tag of this HTML.
setText(text)HTMLSet the display text of this HTML.
setTitle(title)HTMLSets the hover title of this HTML.
setVisible(visible)HTMLSets whether this HTML is visible.
setWidth(width)HTMLSets the width of this HTML.
setWordWrap(wordWrap)HTMLSet whether this HTML wraps its text.

Class Handler

Methods

MethodReturn typeBrief description
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this Handler.
getType()StringGets the type of this object.
setId(id)HandlerSets the id of this Handler.
setTag(tag)HandlerSets the text tag of this Handler.
validateEmail(widget)HandlerSets this handler to fire only if the given widget's value is a valid email address.
validateInteger(widget)HandlerSets this handler to fire only if the given widget's value can be interpreted as an integer.
validateLength(widget, min, max)HandlerSets this handler to fire only if the given widget's value is a string whose length is between min and max.
validateMatches(widget, pattern)HandlerSets this handler to fire only if the given widget's value matches this regular expression.
validateMatches(widget, pattern, flags)HandlerSets this handler to fire only if the given widget's value matches this regular expression.
validateNotEmail(widget)HandlerSets this handler to fire only if the given widget's value is not a valid email address.
validateNotInteger(widget)HandlerSets this handler to fire only if the given widget's value cannot be interpreted as an integer.
validateNotLength(widget, min, max)HandlerSets this handler to fire only if the given widget's value is a string whose length is less than min or greater than max.
validateNotMatches(widget, pattern)HandlerSets this handler to fire only if the given widget's value does not match this regular expression.
validateNotMatches(widget, pattern, flags)HandlerSets this handler to fire only if the given widget's value does not match this regular expression.
validateNotNumber(widget)HandlerSets this handler to fire only if the given widget's value cannot be interpreted as an number.
validateNotOptions(widget, options)HandlerSets this handler to fire only if the given widget's value is not one of the strings given in the options parameter.
validateNotRange(widget, min, max)HandlerSets this handler to fire only if the given widget's value cannot be interpreted as a number that is between min and max.
validateNotSum(widgets, sum)HandlerSets this handler to fire only if the given widgets have values that are not numbers, or that do not sum up to the given value.
validateNumber(widget)HandlerSets this handler to fire only if the given widget's value can be interpreted as a number.
validateOptions(widget, options)HandlerSets this handler to fire only if the given widget's value is one of the strings given in the options parameter.
validateRange(widget, min, max)HandlerSets this handler to fire only if the given widget's value can be interpreted as a number and is between min and max.
validateSum(widgets, sum)HandlerSets this handler to fire only if the given widgets have values that are numbers and sum up to the given value.

Class Hidden

Methods

MethodReturn typeBrief description
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this Hidden.
getType()StringGets the type of this object.
setId(id)HiddenSets the id of this Hidden.
setName(name)HiddenSets the name of the Hidden, which is how it will be referred to when used in a FormPanel or as a callback element on an event handler.
setStyleAttributes(attributes)HiddenSets this Hidden's style attributes.
setTag(tag)HiddenSets the text tag of this Hidden.
setValue(value)HiddenSets the value of this Hidden.

Class HorizontalAlignment

Properties

PropertyTypeDescription
LEFTEnumUse left alignment
RIGHTEnumUse right alignment
CENTEREnumUse center alignment
DEFAULTEnumUse default alignment
JUSTIFYEnumUse justify alignment
LOCALE_STARTEnumUse locale start alignment
LOCALE_ENDEnumUse locale end alignment

Class HorizontalPanel

Methods

MethodReturn typeBrief description
add(widget)HorizontalPanelAdd a widget to the HorizontalPanel.
addStyleDependentName(styleName)HorizontalPanelSets the dependent style name of this HorizontalPanel.
addStyleName(styleName)HorizontalPanelAdds a style name to this HorizontalPanel.
clear()HorizontalPanelRemove all widgets from the HorizontalPanel.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this HorizontalPanel.
getType()StringGets the type of this object.
remove(index)HorizontalPanelRemove the widget with the given index from the HorizontalPanel.
remove(widget)HorizontalPanelRemove the given widget from the HorizontalPanel.
setBorderWidth(width)HorizontalPanelSets the width of the border to be applied to all cells in this panel.
setCellHeight(widget, height)HorizontalPanelSets the height of the cell associated with the given widget, related to the panel as a whole.
setCellHorizontalAlignment(widget, horizontalAlignment)HorizontalPanelSets the horizontal alignment of the given widget within its cell.
setCellVerticalAlignment(widget, verticalAlignment)HorizontalPanelSets the vertical alignment of the given widget within its cell.
setCellWidth(widget, width)HorizontalPanelSets the width of the cell associated with the given widget, related to the panel as a whole.
setHeight(height)HorizontalPanelSets the height of this HorizontalPanel.
setHorizontalAlignment(horizontalAlignment)HorizontalPanelSet the horizontal alignment of widgets added to this HorizontalPanel.
setId(id)HorizontalPanelSets the id of this HorizontalPanel.
setPixelSize(width, height)HorizontalPanelSets the size of this HorizontalPanel in pixels.
setSize(width, height)HorizontalPanelSets the size of this HorizontalPanel.
setSpacing(spacing)HorizontalPanelSets the amount of spacing between this panel's cells.
setStyleAttribute(attribute, value)HorizontalPanelSets one of this HorizontalPanel's style attributes to a new value.
setStyleAttributes(attributes)HorizontalPanelSets this HorizontalPanel's style attributes.
setStyleName(styleName)HorizontalPanelSets the style name of this HorizontalPanel.
setStylePrimaryName(styleName)HorizontalPanelSets the primary style name of this HorizontalPanel.
setTag(tag)HorizontalPanelSets the text tag of this HorizontalPanel.
setTitle(title)HorizontalPanelSets the hover title of this HorizontalPanel.
setVerticalAlignment(verticalAlignment)HorizontalPanelSet the vertical alignment of widgets added to this HorizontalPanel.
setVisible(visible)HorizontalPanelSets whether this HorizontalPanel is visible.
setWidth(width)HorizontalPanelSets the width of this HorizontalPanel.

Class Image

Methods

MethodReturn typeBrief description
addClickHandler(handler)ImageAdd a handler for click events.
addErrorHandler(handler)ImageAdd a handler for error events (failed loads).
addLoadHandler(handler)ImageAdd a handler for load events.
addMouseDownHandler(handler)ImageAdd a handler for mouse down events.
addMouseMoveHandler(handler)ImageAdd a handler for mouse move events.
addMouseOutHandler(handler)ImageAdd a handler for mouse out events.
addMouseOverHandler(handler)ImageAdd a handler for mouse move events.
addMouseUpHandler(handler)ImageAdd a handler for mouse up events.
addMouseWheelHandler(handler)ImageAdd a handler for mouse wheel events.
addStyleDependentName(styleName)ImageSets the dependent style name of this Image.
addStyleName(styleName)ImageAdds a style name to this Image.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this Image.
getType()StringGets the type of this object.
setHeight(height)ImageSets the height of this Image.
setId(id)ImageSets the id of this Image.
setPixelSize(width, height)ImageSets the size of this Image in pixels.
setSize(width, height)ImageSets the size of this Image.
setStyleAttribute(attribute, value)ImageSets one of this Image's style attributes to a new value.
setStyleAttributes(attributes)ImageSets this Image's style attributes.
setStyleName(styleName)ImageSets the style name of this Image.
setStylePrimaryName(styleName)ImageSets the primary style name of this Image.
setTag(tag)ImageSets the text tag of this Image.
setTitle(title)ImageSets the hover title of this Image.
setUrl(url)ImageSets the URL of the image to be displayed.
setUrlAndVisibleRect(url, left, top, width, height)ImageSets the url and the visibility rectangle for the image at the same time.
setVisible(visible)ImageSets whether this Image is visible.
setVisibleRect(left, top, width, height)ImageSets the visibility rectangle of an image.
setWidth(width)ImageSets the width of this Image.

Class InlineLabel

Methods

MethodReturn typeBrief description
addClickHandler(handler)InlineLabelAdd a handler for click events.
addMouseDownHandler(handler)InlineLabelAdd a handler for mouse down events.
addMouseMoveHandler(handler)InlineLabelAdd a handler for mouse move events.
addMouseOutHandler(handler)InlineLabelAdd a handler for mouse out events.
addMouseOverHandler(handler)InlineLabelAdd a handler for mouse move events.
addMouseUpHandler(handler)InlineLabelAdd a handler for mouse up events.
addMouseWheelHandler(handler)InlineLabelAdd a handler for mouse wheel events.
addStyleDependentName(styleName)InlineLabelSets the dependent style name of this InlineLabel.
addStyleName(styleName)InlineLabelAdds a style name to this InlineLabel.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this InlineLabel.
getType()StringGets the type of this object.
setHeight(height)InlineLabelSets the height of this InlineLabel.
setHorizontalAlignment(horizontalAlignment)InlineLabelSet the horizontal text alignment of the display text of this InlineLabel.
setId(id)InlineLabelSets the id of this InlineLabel.
setPixelSize(width, height)InlineLabelSets the size of this InlineLabel in pixels.
setSize(width, height)InlineLabelSets the size of this InlineLabel.
setStyleAttribute(attribute, value)InlineLabelSets one of this InlineLabel's style attributes to a new value.
setStyleAttributes(attributes)InlineLabelSets this InlineLabel's style attributes.
setStyleName(styleName)InlineLabelSets the style name of this InlineLabel.
setStylePrimaryName(styleName)InlineLabelSets the primary style name of this InlineLabel.
setTag(tag)InlineLabelSets the text tag of this InlineLabel.
setText(text)InlineLabelSet the display text of this InlineLabel.
setTitle(title)InlineLabelSets the hover title of this InlineLabel.
setVisible(visible)InlineLabelSets whether this InlineLabel is visible.
setWidth(width)InlineLabelSets the width of this InlineLabel.
setWordWrap(wordWrap)InlineLabelSet whether this InlineLabel wraps its text.

Class Label

Methods

MethodReturn typeBrief description
addClickHandler(handler)LabelAdd a handler for click events.
addMouseDownHandler(handler)LabelAdd a handler for mouse down events.
addMouseMoveHandler(handler)LabelAdd a handler for mouse move events.
addMouseOutHandler(handler)LabelAdd a handler for mouse out events.
addMouseOverHandler(handler)LabelAdd a handler for mouse move events.
addMouseUpHandler(handler)LabelAdd a handler for mouse up events.
addMouseWheelHandler(handler)LabelAdd a handler for mouse wheel events.
addStyleDependentName(styleName)LabelSets the dependent style name of this Label.
addStyleName(styleName)LabelAdds a style name to this Label.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this Label.
getType()StringGets the type of this object.
setHeight(height)LabelSets the height of this Label.
setHorizontalAlignment(horizontalAlignment)LabelSet the horizontal text alignment of the display text of this Label.
setId(id)LabelSets the id of this Label.
setPixelSize(width, height)LabelSets the size of this Label in pixels.
setSize(width, height)LabelSets the size of this Label.
setStyleAttribute(attribute, value)LabelSets one of this Label's style attributes to a new value.
setStyleAttributes(attributes)LabelSets this Label's style attributes.
setStyleName(styleName)LabelSets the style name of this Label.
setStylePrimaryName(styleName)LabelSets the primary style name of this Label.
setTag(tag)LabelSets the text tag of this Label.
setText(text)LabelSet the display text of this Label.
setTitle(title)LabelSets the hover title of this Label.
setVisible(visible)LabelSets whether this Label is visible.
setWidth(width)LabelSets the width of this Label.
setWordWrap(wordWrap)LabelSet whether this Label wraps its text.

Class ListBox

Methods

MethodReturn typeBrief description
addBlurHandler(handler)ListBoxAdd a handler for blur events (losing keyboard focus).
addChangeHandler(handler)ListBoxAdd a handler for change events.
addClickHandler(handler)ListBoxAdd a handler for click events.
addFocusHandler(handler)ListBoxAdd a handler for focus events (gaining keyboard focus).
addItem(text)ListBoxAdds an item to the list box.
addItem(text, value)ListBoxAdds an item to the list box, specifying its value.
addKeyDownHandler(handler)ListBoxAdd a handler for key down events.
addKeyPressHandler(handler)ListBoxAdd a handler for key press events.
addKeyUpHandler(handler)ListBoxAdd a handler for key up events.
addMouseDownHandler(handler)ListBoxAdd a handler for mouse down events.
addMouseMoveHandler(handler)ListBoxAdd a handler for mouse move events.
addMouseOutHandler(handler)ListBoxAdd a handler for mouse out events.
addMouseOverHandler(handler)ListBoxAdd a handler for mouse move events.
addMouseUpHandler(handler)ListBoxAdd a handler for mouse up events.
addMouseWheelHandler(handler)ListBoxAdd a handler for mouse wheel events.
addStyleDependentName(styleName)ListBoxSets the dependent style name of this ListBox.
addStyleName(styleName)ListBoxAdds a style name to this ListBox.
clear()ListBoxRemoves all items from the list box.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this ListBox.
getType()StringGets the type of this object.
removeItem(index)ListBoxRemoves the item at the specified index.
setEnabled(enabled)ListBoxSets whether the ListBox is enabled.
setFocus(focus)ListBoxExplicitly focus/unfocus this ListBox.
setHeight(height)ListBoxSets the height of this ListBox.
setId(id)ListBoxSets the id of this ListBox.
setItemSelected(index, selected)ListBoxSelects the item at the specified index.
setItemText(index, text)ListBoxSets the text associated with the item at a given index.
setName(name)ListBoxSets the name of the ListBox, which is how it will be referred to when used in a FormPanel or as a callback element on an event handler.
setPixelSize(width, height)ListBoxSets the size of this ListBox in pixels.
setSelectedIndex(index)ListBoxSelects the item at the specified index.
setSize(width, height)ListBoxSets the size of this ListBox.
setStyleAttribute(attribute, value)ListBoxSets one of this ListBox's style attributes to a new value.
setStyleAttributes(attributes)ListBoxSets this ListBox's style attributes.
setStyleName(styleName)ListBoxSets the style name of this ListBox.
setStylePrimaryName(styleName)ListBoxSets the primary style name of this ListBox.
setTabIndex(index)ListBoxSets the ListBox's position in the tab index.
setTag(tag)ListBoxSets the text tag of this ListBox.
setTitle(title)ListBoxSets the hover title of this ListBox.
setValue(index, value)ListBoxSets the value associated with the item at a given index.
setVisible(visible)ListBoxSets whether this ListBox is visible.
setVisibleItemCount(count)ListBoxSets the number of items that are visible.
setWidth(width)ListBoxSets the width of this ListBox.

Class MenuBar

Methods

MethodReturn typeBrief description
addCloseHandler(handler)MenuBarAdd a handler for close events.
addItem(item)MenuBarAdd a new menu item to this MenuBar.
addItem(text, asHtml, command)MenuBarCreates a new menu item with the given text and command and adds it to this MenuBar.
addItem(text, asHtml, subMenu)MenuBarCreates a new menu item with the given text and submenu and adds it to this MenuBar.
addItem(text, command)MenuBarCreates a new menu item with the given text and command and adds it to this MenuBar.
addItem(text, subMenu)MenuBarCreates a new menu item with the given text and submenu and adds it to this MenuBar.
addSeparator()MenuBarAdd a separator to the MenuBar.
addSeparator(separator)MenuBarAdd a separator to the MenuBar.
addStyleDependentName(styleName)MenuBarSets the dependent style name of this MenuBar.
addStyleName(styleName)MenuBarAdds a style name to this MenuBar.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this MenuBar.
getType()StringGets the type of this object.
setAnimationEnabled(animationEnabled)MenuBarSets whether opening and closing the MenuBar is animated.
setAutoOpen(autoOpen)MenuBarSets whether this menu bar's child menus will open when the mouse is moved over it.
setHeight(height)MenuBarSets the height of this MenuBar.
setId(id)MenuBarSets the id of this MenuBar.
setPixelSize(width, height)MenuBarSets the size of this MenuBar in pixels.
setSize(width, height)MenuBarSets the size of this MenuBar.
setStyleAttribute(attribute, value)MenuBarSets one of this MenuBar's style attributes to a new value.
setStyleAttributes(attributes)MenuBarSets this MenuBar's style attributes.
setStyleName(styleName)MenuBarSets the style name of this MenuBar.
setStylePrimaryName(styleName)MenuBarSets the primary style name of this MenuBar.
setTag(tag)MenuBarSets the text tag of this MenuBar.
setTitle(title)MenuBarSets the hover title of this MenuBar.
setVisible(visible)MenuBarSets whether this MenuBar is visible.
setWidth(width)MenuBarSets the width of this MenuBar.

Class MenuItem

Methods

MethodReturn typeBrief description
addStyleDependentName(styleName)MenuItemSets the dependent style name of this MenuItem.
addStyleName(styleName)MenuItemAdds a style name to this MenuItem.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this MenuItem.
getType()StringGets the type of this object.
setCommand(handler)MenuItemSets the handler to execute when the menu is clicked.
setHTML(html)MenuItemSets the HTML content of this MenuItem.
setHeight(height)MenuItemSets the height of this MenuItem.
setId(id)MenuItemSets the id of this MenuItem.
setPixelSize(width, height)MenuItemSets the size of this MenuItem in pixels.
setSize(width, height)MenuItemSets the size of this MenuItem.
setStyleAttribute(attribute, value)MenuItemSets one of this MenuItem's style attributes to a new value.
setStyleAttributes(attributes)MenuItemSets this MenuItem's style attributes.
setStyleName(styleName)MenuItemSets the style name of this MenuItem.
setStylePrimaryName(styleName)MenuItemSets the primary style name of this MenuItem.
setSubMenu(subMenu)MenuItemSets the sub-menu to show when the menu is clicked.
setTag(tag)MenuItemSets the text tag of this MenuItem.
setText(text)MenuItemSet the display text of this MenuItem.
setTitle(title)MenuItemSets the hover title of this MenuItem.
setVisible(visible)MenuItemSets whether this MenuItem is visible.
setWidth(width)MenuItemSets the width of this MenuItem.

Class MenuItemSeparator

Methods

MethodReturn typeBrief description
addStyleDependentName(styleName)MenuItemSeparatorSets the dependent style name of this MenuItemSeparator.
addStyleName(styleName)MenuItemSeparatorAdds a style name to this MenuItemSeparator.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this MenuItemSeparator.
getType()StringGets the type of this object.
setHeight(height)MenuItemSeparatorSets the height of this MenuItemSeparator.
setId(id)MenuItemSeparatorSets the id of this MenuItemSeparator.
setPixelSize(width, height)MenuItemSeparatorSets the size of this MenuItemSeparator in pixels.
setSize(width, height)MenuItemSeparatorSets the size of this MenuItemSeparator.
setStyleAttribute(attribute, value)MenuItemSeparatorSets one of this MenuItemSeparator's style attributes to a new value.
setStyleAttributes(attributes)MenuItemSeparatorSets this MenuItemSeparator's style attributes.
setStyleName(styleName)MenuItemSeparatorSets the style name of this MenuItemSeparator.
setStylePrimaryName(styleName)MenuItemSeparatorSets the primary style name of this MenuItemSeparator.
setTag(tag)MenuItemSeparatorSets the text tag of this MenuItemSeparator.
setTitle(title)MenuItemSeparatorSets the hover title of this MenuItemSeparator.
setVisible(visible)MenuItemSeparatorSets whether this MenuItemSeparator is visible.
setWidth(width)MenuItemSeparatorSets the width of this MenuItemSeparator.

Class PasswordTextBox

Methods

MethodReturn typeBrief description
addBlurHandler(handler)PasswordTextBoxAdd a handler for blur events (losing keyboard focus).
addChangeHandler(handler)PasswordTextBoxAdd a handler for change events.
addClickHandler(handler)PasswordTextBoxAdd a handler for click events.
addFocusHandler(handler)PasswordTextBoxAdd a handler for focus events (gaining keyboard focus).
addKeyDownHandler(handler)PasswordTextBoxAdd a handler for key down events.
addKeyPressHandler(handler)PasswordTextBoxAdd a handler for key press events.
addKeyUpHandler(handler)PasswordTextBoxAdd a handler for key up events.
addMouseDownHandler(handler)PasswordTextBoxAdd a handler for mouse down events.
addMouseMoveHandler(handler)PasswordTextBoxAdd a handler for mouse move events.
addMouseOutHandler(handler)PasswordTextBoxAdd a handler for mouse out events.
addMouseOverHandler(handler)PasswordTextBoxAdd a handler for mouse move events.
addMouseUpHandler(handler)PasswordTextBoxAdd a handler for mouse up events.
addMouseWheelHandler(handler)PasswordTextBoxAdd a handler for mouse wheel events.
addStyleDependentName(styleName)PasswordTextBoxSets the dependent style name of this PasswordTextBox.
addStyleName(styleName)PasswordTextBoxAdds a style name to this PasswordTextBox.
addValueChangeHandler(handler)PasswordTextBoxAdd a handler for value change events.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this PasswordTextBox.
getType()StringGets the type of this object.
setCursorPos(position)PasswordTextBoxSets the cursor position inside this PasswordTextBox.
setEnabled(enabled)PasswordTextBoxSets whether the PasswordTextBox is enabled.
setFocus(focus)PasswordTextBoxExplicitly focus/unfocus this PasswordTextBox.
setHeight(height)PasswordTextBoxSets the height of this PasswordTextBox.
setId(id)PasswordTextBoxSets the id of this PasswordTextBox.
setMaxLength(length)PasswordTextBoxSets the maximum allowable length of the text box's contents.
setName(name)PasswordTextBoxSets the name of the PasswordTextBox, which is how it will be referred to when used in a FormPanel or as a callback element on an event handler.
setPixelSize(width, height)PasswordTextBoxSets the size of this PasswordTextBox in pixels.
setReadOnly(readOnly)PasswordTextBoxSets whether the text in this PasswordTextBox is read only and can't be edited.
setSelectionRange(position, length)PasswordTextBoxSets the range of text to be selected.
setSize(width, height)PasswordTextBoxSets the size of this PasswordTextBox.
setStyleAttribute(attribute, value)PasswordTextBoxSets one of this PasswordTextBox's style attributes to a new value.
setStyleAttributes(attributes)PasswordTextBoxSets this PasswordTextBox's style attributes.
setStyleName(styleName)PasswordTextBoxSets the style name of this PasswordTextBox.
setStylePrimaryName(styleName)PasswordTextBoxSets the primary style name of this PasswordTextBox.
setTabIndex(index)PasswordTextBoxSets the PasswordTextBox's position in the tab index.
setTag(tag)PasswordTextBoxSets the text tag of this PasswordTextBox.
setText(text)PasswordTextBoxSet the display text of this PasswordTextBox.
setTitle(title)PasswordTextBoxSets the hover title of this PasswordTextBox.
setValue(value)PasswordTextBoxSets this PasswordTextBox's value without firing any events.
setValue(value, fireEvents)PasswordTextBoxSets this PasswordTextBox's value and potentially fire events.
setVisible(visible)PasswordTextBoxSets whether this PasswordTextBox is visible.
setVisibleLength(length)PasswordTextBoxSets the number of visible characters in the text box.
setWidth(width)PasswordTextBoxSets the width of this PasswordTextBox.

Class PopupPanel

Methods

MethodReturn typeBrief description
add(widget)PopupPanelAdd a widget to the PopupPanel.
addCloseHandler(handler)PopupPanelAdd a handler for close events.
addStyleDependentName(styleName)PopupPanelSets the dependent style name of this PopupPanel.
addStyleName(styleName)PopupPanelAdds a style name to this PopupPanel.
clear()PopupPanelRemove all widgets from the PopupPanel.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this PopupPanel.
getType()StringGets the type of this object.
hide()PopupPanelHides the popup.
setAnimationEnabled(animationEnabled)PopupPanelSets whether opening and closing the PopupPanel is animated.
setAutoHideEnabled(enabled)PopupPanelEnable or disable the autoHide feature.
setGlassEnabled(enabled)PopupPanelEnable or disable a "glass" pane.
setHeight(height)PopupPanelSets the height of this PopupPanel.
setId(id)PopupPanelSets the id of this PopupPanel.
setModal(modal)PopupPanelSets whether this PopupPanel is in "modal" mode.
setPixelSize(width, height)PopupPanelSets the size of this PopupPanel in pixels.
setPopupPosition(left, top)PopupPanelSets the popup's position relative to the browser's client area.
setPreviewingAllNativeEvents(previewing)PopupPanelWhen enabled, the PopupPanel will preview all native events, even if another popup was opened after this one.
setSize(width, height)PopupPanelSets the size of this PopupPanel.
setStyleAttribute(attribute, value)PopupPanelSets one of this PopupPanel's style attributes to a new value.
setStyleAttributes(attributes)PopupPanelSets this PopupPanel's style attributes.
setStyleName(styleName)PopupPanelSets the style name of this PopupPanel.
setStylePrimaryName(styleName)PopupPanelSets the primary style name of this PopupPanel.
setTag(tag)PopupPanelSets the text tag of this PopupPanel.
setTitle(title)PopupPanelSets the hover title of this PopupPanel.
setVisible(visible)PopupPanelSets whether this PopupPanel is visible.
setWidget(widget)PopupPanelSets the widget inside this PopupPanel, removing anything previously there.
setWidth(width)PopupPanelSets the width of this PopupPanel.
show()PopupPanelShows the popup.

Class PushButton

Methods

MethodReturn typeBrief description
addBlurHandler(handler)PushButtonAdd a handler for blur events (losing keyboard focus).
addClickHandler(handler)PushButtonAdd a handler for click events.
addFocusHandler(handler)PushButtonAdd a handler for focus events (gaining keyboard focus).
addKeyDownHandler(handler)PushButtonAdd a handler for key down events.
addKeyPressHandler(handler)PushButtonAdd a handler for key press events.
addKeyUpHandler(handler)PushButtonAdd a handler for key up events.
addMouseDownHandler(handler)PushButtonAdd a handler for mouse down events.
addMouseMoveHandler(handler)PushButtonAdd a handler for mouse move events.
addMouseOutHandler(handler)PushButtonAdd a handler for mouse out events.
addMouseOverHandler(handler)PushButtonAdd a handler for mouse move events.
addMouseUpHandler(handler)PushButtonAdd a handler for mouse up events.
addMouseWheelHandler(handler)PushButtonAdd a handler for mouse wheel events.
addStyleDependentName(styleName)PushButtonSets the dependent style name of this PushButton.
addStyleName(styleName)PushButtonAdds a style name to this PushButton.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this PushButton.
getType()StringGets the type of this object.
setEnabled(enabled)PushButtonSets whether the PushButton is enabled.
setFocus(focus)PushButtonExplicitly focus/unfocus this PushButton.
setHTML(html)PushButtonSets the HTML content of this PushButton.
setHeight(height)PushButtonSets the height of this PushButton.
setId(id)PushButtonSets the id of this PushButton.
setPixelSize(width, height)PushButtonSets the size of this PushButton in pixels.
setSize(width, height)PushButtonSets the size of this PushButton.
setStyleAttribute(attribute, value)PushButtonSets one of this PushButton's style attributes to a new value.
setStyleAttributes(attributes)PushButtonSets this PushButton's style attributes.
setStyleName(styleName)PushButtonSets the style name of this PushButton.
setStylePrimaryName(styleName)PushButtonSets the primary style name of this PushButton.
setTabIndex(index)PushButtonSets the PushButton's position in the tab index.
setTag(tag)PushButtonSets the text tag of this PushButton.
setText(text)PushButtonSet the display text of this PushButton.
setTitle(title)PushButtonSets the hover title of this PushButton.
setVisible(visible)PushButtonSets whether this PushButton is visible.
setWidth(width)PushButtonSets the width of this PushButton.

Class RadioButton

Methods

MethodReturn typeBrief description
addBlurHandler(handler)RadioButtonAdd a handler for blur events (losing keyboard focus).
addClickHandler(handler)RadioButtonAdd a handler for click events.
addFocusHandler(handler)RadioButtonAdd a handler for focus events (gaining keyboard focus).
addKeyDownHandler(handler)RadioButtonAdd a handler for key down events.
addKeyPressHandler(handler)RadioButtonAdd a handler for key press events.
addKeyUpHandler(handler)RadioButtonAdd a handler for key up events.
addMouseDownHandler(handler)RadioButtonAdd a handler for mouse down events.
addMouseMoveHandler(handler)RadioButtonAdd a handler for mouse move events.
addMouseOutHandler(handler)RadioButtonAdd a handler for mouse out events.
addMouseOverHandler(handler)RadioButtonAdd a handler for mouse move events.
addMouseUpHandler(handler)RadioButtonAdd a handler for mouse up events.
addMouseWheelHandler(handler)RadioButtonAdd a handler for mouse wheel events.
addStyleDependentName(styleName)RadioButtonSets the dependent style name of this RadioButton.
addStyleName(styleName)RadioButtonAdds a style name to this RadioButton.
addValueChangeHandler(handler)RadioButtonAdd a handler for value change events.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this RadioButton.
getType()StringGets the type of this object.
setEnabled(enabled)RadioButtonSets whether the RadioButton is enabled.
setFocus(focus)RadioButtonExplicitly focus/unfocus this RadioButton.
setFormValue(formValue)RadioButtonSet the value property on the input element that backs this RadioButton.
setHTML(html)RadioButtonSets the HTML content of this RadioButton.
setHeight(height)RadioButtonSets the height of this RadioButton.
setId(id)RadioButtonSets the id of this RadioButton.
setName(name)RadioButtonSets the name of the RadioButton, which is how it will be referred to when used in a FormPanel or as a callback element on an event handler.
setPixelSize(width, height)RadioButtonSets the size of this RadioButton in pixels.
setSize(width, height)RadioButtonSets the size of this RadioButton.
setStyleAttribute(attribute, value)RadioButtonSets one of this RadioButton's style attributes to a new value.
setStyleAttributes(attributes)RadioButtonSets this RadioButton's style attributes.
setStyleName(styleName)RadioButtonSets the style name of this RadioButton.
setStylePrimaryName(styleName)RadioButtonSets the primary style name of this RadioButton.
setTabIndex(index)RadioButtonSets the RadioButton's position in the tab index.
setTag(tag)RadioButtonSets the text tag of this RadioButton.
setText(text)RadioButtonSet the display text of this RadioButton.
setTitle(title)RadioButtonSets the hover title of this RadioButton.
setValue(value)RadioButtonSets whether the RadioButton should be checked.
setValue(value, fireEvents)RadioButtonSets whether the RadioButton should be checked and optionally fires an event if the value changes as a result of this call.
setVisible(visible)RadioButtonSets whether this RadioButton is visible.
setWidth(width)RadioButtonSets the width of this RadioButton.

Class ResetButton

Methods

MethodReturn typeBrief description
addBlurHandler(handler)ResetButtonAdd a handler for blur events (losing keyboard focus).
addClickHandler(handler)ResetButtonAdd a handler for click events.
addFocusHandler(handler)ResetButtonAdd a handler for focus events (gaining keyboard focus).
addKeyDownHandler(handler)ResetButtonAdd a handler for key down events.
addKeyPressHandler(handler)ResetButtonAdd a handler for key press events.
addKeyUpHandler(handler)ResetButtonAdd a handler for key up events.
addMouseDownHandler(handler)ResetButtonAdd a handler for mouse down events.
addMouseMoveHandler(handler)ResetButtonAdd a handler for mouse move events.
addMouseOutHandler(handler)ResetButtonAdd a handler for mouse out events.
addMouseOverHandler(handler)ResetButtonAdd a handler for mouse move events.
addMouseUpHandler(handler)ResetButtonAdd a handler for mouse up events.
addMouseWheelHandler(handler)ResetButtonAdd a handler for mouse wheel events.
addStyleDependentName(styleName)ResetButtonSets the dependent style name of this ResetButton.
addStyleName(styleName)ResetButtonAdds a style name to this ResetButton.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this ResetButton.
getType()StringGets the type of this object.
setEnabled(enabled)ResetButtonSets whether the ResetButton is enabled.
setFocus(focus)ResetButtonExplicitly focus/unfocus this ResetButton.
setHTML(html)ResetButtonSets the HTML content of this ResetButton.
setHeight(height)ResetButtonSets the height of this ResetButton.
setId(id)ResetButtonSets the id of this ResetButton.
setPixelSize(width, height)ResetButtonSets the size of this ResetButton in pixels.
setSize(width, height)ResetButtonSets the size of this ResetButton.
setStyleAttribute(attribute, value)ResetButtonSets one of this ResetButton's style attributes to a new value.
setStyleAttributes(attributes)ResetButtonSets this ResetButton's style attributes.
setStyleName(styleName)ResetButtonSets the style name of this ResetButton.
setStylePrimaryName(styleName)ResetButtonSets the primary style name of this ResetButton.
setTabIndex(index)ResetButtonSets the ResetButton's position in the tab index.
setTag(tag)ResetButtonSets the text tag of this ResetButton.
setText(text)ResetButtonSet the display text of this ResetButton.
setTitle(title)ResetButtonSets the hover title of this ResetButton.
setVisible(visible)ResetButtonSets whether this ResetButton is visible.
setWidth(width)ResetButtonSets the width of this ResetButton.

Class ScrollPanel

Methods

MethodReturn typeBrief description
add(widget)ScrollPanelAdd a widget to the ScrollPanel.
addScrollHandler(handler)ScrollPanelAdd a handler for scroll events.
addStyleDependentName(styleName)ScrollPanelSets the dependent style name of this ScrollPanel.
addStyleName(styleName)ScrollPanelAdds a style name to this ScrollPanel.
clear()ScrollPanelRemove all widgets from the ScrollPanel.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this ScrollPanel.
getType()StringGets the type of this object.
setAlwaysShowScrollBars(alwaysShow)ScrollPanelSets whether to always show scrollbars even if they are not needed.
setHeight(height)ScrollPanelSets the height of this ScrollPanel.
setHorizontalScrollPosition(position)ScrollPanelSets the horizontal scroll position of this ScrollPanel.
setId(id)ScrollPanelSets the id of this ScrollPanel.
setPixelSize(width, height)ScrollPanelSets the size of this ScrollPanel in pixels.
setScrollPosition(position)ScrollPanelSets the vertical scroll position of this ScrollPanel.
setSize(width, height)ScrollPanelSets the size of this ScrollPanel.
setStyleAttribute(attribute, value)ScrollPanelSets one of this ScrollPanel's style attributes to a new value.
setStyleAttributes(attributes)ScrollPanelSets this ScrollPanel's style attributes.
setStyleName(styleName)ScrollPanelSets the style name of this ScrollPanel.
setStylePrimaryName(styleName)ScrollPanelSets the primary style name of this ScrollPanel.
setTag(tag)ScrollPanelSets the text tag of this ScrollPanel.
setTitle(title)ScrollPanelSets the hover title of this ScrollPanel.
setVisible(visible)ScrollPanelSets whether this ScrollPanel is visible.
setWidget(widget)ScrollPanelSets the widget inside this ScrollPanel, removing anything previously there.
setWidth(width)ScrollPanelSets the width of this ScrollPanel.

Class ServerHandler

Methods

MethodReturn typeBrief description
addCallbackElement(widget)ServerHandlerAdds a widget to this ServerHandler as a "callback element."
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this ServerHandler.
getType()StringGets the type of this object.
setCallbackFunction(functionToInvoke)ServerHandlerSets the name of the function to call when this handler is invoked.
setId(id)ServerHandlerSets the id of this ServerHandler.
setTag(tag)ServerHandlerSets the text tag of this ServerHandler.
validateEmail(widget)ServerHandlerSets this handler to fire only if the given widget's value is a valid email address.
validateInteger(widget)ServerHandlerSets this handler to fire only if the given widget's value can be interpreted as an integer.
validateLength(widget, min, max)ServerHandlerSets this handler to fire only if the given widget's value is a string whose length is between min and max.
validateMatches(widget, pattern)ServerHandlerSets this handler to fire only if the given widget's value matches this regular expression.
validateMatches(widget, pattern, flags)ServerHandlerSets this handler to fire only if the given widget's value matches this regular expression.
validateNotEmail(widget)ServerHandlerSets this handler to fire only if the given widget's value is not a valid email address.
validateNotInteger(widget)ServerHandlerSets this handler to fire only if the given widget's value cannot be interpreted as an integer.
validateNotLength(widget, min, max)ServerHandlerSets this handler to fire only if the given widget's value is a string whose length is less than min or greater than max.
validateNotMatches(widget, pattern)ServerHandlerSets this handler to fire only if the given widget's value does not match this regular expression.
validateNotMatches(widget, pattern, flags)ServerHandlerSets this handler to fire only if the given widget's value does not match this regular expression.
validateNotNumber(widget)ServerHandlerSets this handler to fire only if the given widget's value cannot be interpreted as an number.
validateNotOptions(widget, options)ServerHandlerSets this handler to fire only if the given widget's value is not one of the strings given in the options parameter.
validateNotRange(widget, min, max)ServerHandlerSets this handler to fire only if the given widget's value cannot be interpreted as a number that is between min and max.
validateNotSum(widgets, sum)ServerHandlerSets this handler to fire only if the given widgets have values that are not numbers, or that do not sum up to the given value.
validateNumber(widget)ServerHandlerSets this handler to fire only if the given widget's value can be interpreted as a number.
validateOptions(widget, options)ServerHandlerSets this handler to fire only if the given widget's value is one of the strings given in the options parameter.
validateRange(widget, min, max)ServerHandlerSets this handler to fire only if the given widget's value can be interpreted as a number and is between min and max.
validateSum(widgets, sum)ServerHandlerSets this handler to fire only if the given widgets have values that are numbers and sum up to the given value.

Class SimpleCheckBox

Methods

MethodReturn typeBrief description
addBlurHandler(handler)SimpleCheckBoxAdd a handler for blur events (losing keyboard focus).
addClickHandler(handler)SimpleCheckBoxAdd a handler for click events.
addFocusHandler(handler)SimpleCheckBoxAdd a handler for focus events (gaining keyboard focus).
addKeyDownHandler(handler)SimpleCheckBoxAdd a handler for key down events.
addKeyPressHandler(handler)SimpleCheckBoxAdd a handler for key press events.
addKeyUpHandler(handler)SimpleCheckBoxAdd a handler for key up events.
addMouseDownHandler(handler)SimpleCheckBoxAdd a handler for mouse down events.
addMouseMoveHandler(handler)SimpleCheckBoxAdd a handler for mouse move events.
addMouseOutHandler(handler)SimpleCheckBoxAdd a handler for mouse out events.
addMouseOverHandler(handler)SimpleCheckBoxAdd a handler for mouse move events.
addMouseUpHandler(handler)SimpleCheckBoxAdd a handler for mouse up events.
addMouseWheelHandler(handler)SimpleCheckBoxAdd a handler for mouse wheel events.
addStyleDependentName(styleName)SimpleCheckBoxSets the dependent style name of this SimpleCheckBox.
addStyleName(styleName)SimpleCheckBoxAdds a style name to this SimpleCheckBox.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this SimpleCheckBox.
getType()StringGets the type of this object.
setChecked(checked)SimpleCheckBoxSets whether this SimpleCheckBox should be checked.
setEnabled(enabled)SimpleCheckBoxSets whether the SimpleCheckBox is enabled.
setFocus(focus)SimpleCheckBoxExplicitly focus/unfocus this SimpleCheckBox.
setHeight(height)SimpleCheckBoxSets the height of this SimpleCheckBox.
setId(id)SimpleCheckBoxSets the id of this SimpleCheckBox.
setName(name)SimpleCheckBoxSets the name of the SimpleCheckBox, which is how it will be referred to when used in a FormPanel or as a callback element on an event handler.
setPixelSize(width, height)SimpleCheckBoxSets the size of this SimpleCheckBox in pixels.
setSize(width, height)SimpleCheckBoxSets the size of this SimpleCheckBox.
setStyleAttribute(attribute, value)SimpleCheckBoxSets one of this SimpleCheckBox's style attributes to a new value.
setStyleAttributes(attributes)SimpleCheckBoxSets this SimpleCheckBox's style attributes.
setStyleName(styleName)SimpleCheckBoxSets the style name of this SimpleCheckBox.
setStylePrimaryName(styleName)SimpleCheckBoxSets the primary style name of this SimpleCheckBox.
setTabIndex(index)SimpleCheckBoxSets the SimpleCheckBox's position in the tab index.
setTag(tag)SimpleCheckBoxSets the text tag of this SimpleCheckBox.
setTitle(title)SimpleCheckBoxSets the hover title of this SimpleCheckBox.
setVisible(visible)SimpleCheckBoxSets whether this SimpleCheckBox is visible.
setWidth(width)SimpleCheckBoxSets the width of this SimpleCheckBox.

Class SimplePanel

Methods

MethodReturn typeBrief description
add(widget)SimplePanelAdd a widget to the SimplePanel.
addStyleDependentName(styleName)SimplePanelSets the dependent style name of this SimplePanel.
addStyleName(styleName)SimplePanelAdds a style name to this SimplePanel.
clear()SimplePanelRemove all widgets from the SimplePanel.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this SimplePanel.
getType()StringGets the type of this object.
setHeight(height)SimplePanelSets the height of this SimplePanel.
setId(id)SimplePanelSets the id of this SimplePanel.
setPixelSize(width, height)SimplePanelSets the size of this SimplePanel in pixels.
setSize(width, height)SimplePanelSets the size of this SimplePanel.
setStyleAttribute(attribute, value)SimplePanelSets one of this SimplePanel's style attributes to a new value.
setStyleAttributes(attributes)SimplePanelSets this SimplePanel's style attributes.
setStyleName(styleName)SimplePanelSets the style name of this SimplePanel.
setStylePrimaryName(styleName)SimplePanelSets the primary style name of this SimplePanel.
setTag(tag)SimplePanelSets the text tag of this SimplePanel.
setTitle(title)SimplePanelSets the hover title of this SimplePanel.
setVisible(visible)SimplePanelSets whether this SimplePanel is visible.
setWidget(widget)SimplePanelSets the widget inside this SimplePanel, removing anything previously there.
setWidth(width)SimplePanelSets the width of this SimplePanel.

Class SimpleRadioButton

Methods

MethodReturn typeBrief description
addBlurHandler(handler)SimpleRadioButtonAdd a handler for blur events (losing keyboard focus).
addClickHandler(handler)SimpleRadioButtonAdd a handler for click events.
addFocusHandler(handler)SimpleRadioButtonAdd a handler for focus events (gaining keyboard focus).
addKeyDownHandler(handler)SimpleRadioButtonAdd a handler for key down events.
addKeyPressHandler(handler)SimpleRadioButtonAdd a handler for key press events.
addKeyUpHandler(handler)SimpleRadioButtonAdd a handler for key up events.
addMouseDownHandler(handler)SimpleRadioButtonAdd a handler for mouse down events.
addMouseMoveHandler(handler)SimpleRadioButtonAdd a handler for mouse move events.
addMouseOutHandler(handler)SimpleRadioButtonAdd a handler for mouse out events.
addMouseOverHandler(handler)SimpleRadioButtonAdd a handler for mouse move events.
addMouseUpHandler(handler)SimpleRadioButtonAdd a handler for mouse up events.
addMouseWheelHandler(handler)SimpleRadioButtonAdd a handler for mouse wheel events.
addStyleDependentName(styleName)SimpleRadioButtonSets the dependent style name of this SimpleRadioButton.
addStyleName(styleName)SimpleRadioButtonAdds a style name to this SimpleRadioButton.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this SimpleRadioButton.
getType()StringGets the type of this object.
setChecked(checked)SimpleRadioButtonSets whether this SimpleRadioButton should be checked.
setEnabled(enabled)SimpleRadioButtonSets whether the SimpleRadioButton is enabled.
setFocus(focus)SimpleRadioButtonExplicitly focus/unfocus this SimpleRadioButton.
setHeight(height)SimpleRadioButtonSets the height of this SimpleRadioButton.
setId(id)SimpleRadioButtonSets the id of this SimpleRadioButton.
setName(name)SimpleRadioButtonSets the name of the SimpleRadioButton, which is how it will be referred to when used in a FormPanel or as a callback element on an event handler.
setPixelSize(width, height)SimpleRadioButtonSets the size of this SimpleRadioButton in pixels.
setSize(width, height)SimpleRadioButtonSets the size of this SimpleRadioButton.
setStyleAttribute(attribute, value)SimpleRadioButtonSets one of this SimpleRadioButton's style attributes to a new value.
setStyleAttributes(attributes)SimpleRadioButtonSets this SimpleRadioButton's style attributes.
setStyleName(styleName)SimpleRadioButtonSets the style name of this SimpleRadioButton.
setStylePrimaryName(styleName)SimpleRadioButtonSets the primary style name of this SimpleRadioButton.
setTabIndex(index)SimpleRadioButtonSets the SimpleRadioButton's position in the tab index.
setTag(tag)SimpleRadioButtonSets the text tag of this SimpleRadioButton.
setTitle(title)SimpleRadioButtonSets the hover title of this SimpleRadioButton.
setVisible(visible)SimpleRadioButtonSets whether this SimpleRadioButton is visible.
setWidth(width)SimpleRadioButtonSets the width of this SimpleRadioButton.

Class SplitLayoutPanel

Methods

MethodReturn typeBrief description
add(widget)SplitLayoutPanelAdds a widget at the center of the dock.
addEast(widget, width)SplitLayoutPanelAdds a widget to the east edge of the dock.
addNorth(widget, height)SplitLayoutPanelAdds a widget to the north edge of the dock.
addSouth(widget, height)SplitLayoutPanelAdds a widget to the east edge of the dock.
addStyleDependentName(styleName)SplitLayoutPanelSets the dependent style name of this SplitLayoutPanel.
addStyleName(styleName)SplitLayoutPanelAdds a style name to this SplitLayoutPanel.
addWest(widget, width)SplitLayoutPanelAdds a widget to the west edge of the dock.
clear()SplitLayoutPanelRemove all widgets from the SplitLayoutPanel.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this SplitLayoutPanel.
getType()StringGets the type of this object.
remove(index)SplitLayoutPanelRemove the widget with the given index from the SplitLayoutPanel.
remove(widget)SplitLayoutPanelRemove the given widget from the SplitLayoutPanel.
setHeight(height)SplitLayoutPanelSets the height of this SplitLayoutPanel.
setId(id)SplitLayoutPanelSets the id of this SplitLayoutPanel.
setPixelSize(width, height)SplitLayoutPanelSets the size of this SplitLayoutPanel in pixels.
setSize(width, height)SplitLayoutPanelSets the size of this SplitLayoutPanel.
setStyleAttribute(attribute, value)SplitLayoutPanelSets one of this SplitLayoutPanel's style attributes to a new value.
setStyleAttributes(attributes)SplitLayoutPanelSets this SplitLayoutPanel's style attributes.
setStyleName(styleName)SplitLayoutPanelSets the style name of this SplitLayoutPanel.
setStylePrimaryName(styleName)SplitLayoutPanelSets the primary style name of this SplitLayoutPanel.
setTag(tag)SplitLayoutPanelSets the text tag of this SplitLayoutPanel.
setTitle(title)SplitLayoutPanelSets the hover title of this SplitLayoutPanel.
setVisible(visible)SplitLayoutPanelSets whether this SplitLayoutPanel is visible.
setWidgetMinSize(widget, minSize)SplitLayoutPanelSets the minimum allowable size for the given widget.
setWidth(width)SplitLayoutPanelSets the width of this SplitLayoutPanel.

Class StackPanel

Methods

MethodReturn typeBrief description
add(widget)StackPanelAdd a widget to the StackPanel.
add(widget, text)StackPanelAdds a widget to the stack with the given header text.
add(widget, text, asHtml)StackPanelAdds a widget to the stack with the given header text.
addStyleDependentName(styleName)StackPanelSets the dependent style name of this StackPanel.
addStyleName(styleName)StackPanelAdds a style name to this StackPanel.
clear()StackPanelRemove all widgets from the StackPanel.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this StackPanel.
getType()StringGets the type of this object.
remove(index)StackPanelRemove the widget with the given index from the StackPanel.
remove(widget)StackPanelRemove the given widget from the StackPanel.
setHeight(height)StackPanelSets the height of this StackPanel.
setId(id)StackPanelSets the id of this StackPanel.
setPixelSize(width, height)StackPanelSets the size of this StackPanel in pixels.
setSize(width, height)StackPanelSets the size of this StackPanel.
setStackText(index, text)StackPanelSets the text associated with a child by its index.
setStackText(index, text, asHtml)StackPanelSets the text associated with a child by its index.
setStyleAttribute(attribute, value)StackPanelSets one of this StackPanel's style attributes to a new value.
setStyleAttributes(attributes)StackPanelSets this StackPanel's style attributes.
setStyleName(styleName)StackPanelSets the style name of this StackPanel.
setStylePrimaryName(styleName)StackPanelSets the primary style name of this StackPanel.
setTag(tag)StackPanelSets the text tag of this StackPanel.
setTitle(title)StackPanelSets the hover title of this StackPanel.
setVisible(visible)StackPanelSets whether this StackPanel is visible.
setWidth(width)StackPanelSets the width of this StackPanel.

Class SubmitButton

Methods

MethodReturn typeBrief description
addBlurHandler(handler)SubmitButtonAdd a handler for blur events (losing keyboard focus).
addClickHandler(handler)SubmitButtonAdd a handler for click events.
addFocusHandler(handler)SubmitButtonAdd a handler for focus events (gaining keyboard focus).
addKeyDownHandler(handler)SubmitButtonAdd a handler for key down events.
addKeyPressHandler(handler)SubmitButtonAdd a handler for key press events.
addKeyUpHandler(handler)SubmitButtonAdd a handler for key up events.
addMouseDownHandler(handler)SubmitButtonAdd a handler for mouse down events.
addMouseMoveHandler(handler)SubmitButtonAdd a handler for mouse move events.
addMouseOutHandler(handler)SubmitButtonAdd a handler for mouse out events.
addMouseOverHandler(handler)SubmitButtonAdd a handler for mouse move events.
addMouseUpHandler(handler)SubmitButtonAdd a handler for mouse up events.
addMouseWheelHandler(handler)SubmitButtonAdd a handler for mouse wheel events.
addStyleDependentName(styleName)SubmitButtonSets the dependent style name of this SubmitButton.
addStyleName(styleName)SubmitButtonAdds a style name to this SubmitButton.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this SubmitButton.
getType()StringGets the type of this object.
setEnabled(enabled)SubmitButtonSets whether the SubmitButton is enabled.
setFocus(focus)SubmitButtonExplicitly focus/unfocus this SubmitButton.
setHTML(html)SubmitButtonSets the HTML content of this SubmitButton.
setHeight(height)SubmitButtonSets the height of this SubmitButton.
setId(id)SubmitButtonSets the id of this SubmitButton.
setPixelSize(width, height)SubmitButtonSets the size of this SubmitButton in pixels.
setSize(width, height)SubmitButtonSets the size of this SubmitButton.
setStyleAttribute(attribute, value)SubmitButtonSets one of this SubmitButton's style attributes to a new value.
setStyleAttributes(attributes)SubmitButtonSets this SubmitButton's style attributes.
setStyleName(styleName)SubmitButtonSets the style name of this SubmitButton.
setStylePrimaryName(styleName)SubmitButtonSets the primary style name of this SubmitButton.
setTabIndex(index)SubmitButtonSets the SubmitButton's position in the tab index.
setTag(tag)SubmitButtonSets the text tag of this SubmitButton.
setText(text)SubmitButtonSet the display text of this SubmitButton.
setTitle(title)SubmitButtonSets the hover title of this SubmitButton.
setVisible(visible)SubmitButtonSets whether this SubmitButton is visible.
setWidth(width)SubmitButtonSets the width of this SubmitButton.

Class SuggestBox

Methods

MethodReturn typeBrief description
addKeyDownHandler(handler)SuggestBoxAdd a handler for key down events.
addKeyPressHandler(handler)SuggestBoxAdd a handler for key press events.
addKeyUpHandler(handler)SuggestBoxAdd a handler for key up events.
addSelectionHandler(handler)SuggestBoxAdd a handler for selection events.
addStyleDependentName(styleName)SuggestBoxSets the dependent style name of this SuggestBox.
addStyleName(styleName)SuggestBoxAdds a style name to this SuggestBox.
addValueChangeHandler(handler)SuggestBoxAdd a handler for value change events.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this SuggestBox.
getType()StringGets the type of this object.
setAnimationEnabled(animationEnabled)SuggestBoxSets whether opening and closing the SuggestBox is animated.
setFocus(focus)SuggestBoxExplicitly focus/unfocus this SuggestBox.
setHeight(height)SuggestBoxSets the height of this SuggestBox.
setId(id)SuggestBoxSets the id of this SuggestBox.
setPixelSize(width, height)SuggestBoxSets the size of this SuggestBox in pixels.
setSize(width, height)SuggestBoxSets the size of this SuggestBox.
setStyleAttribute(attribute, value)SuggestBoxSets one of this SuggestBox's style attributes to a new value.
setStyleAttributes(attributes)SuggestBoxSets this SuggestBox's style attributes.
setStyleName(styleName)SuggestBoxSets the style name of this SuggestBox.
setStylePrimaryName(styleName)SuggestBoxSets the primary style name of this SuggestBox.
setTabIndex(index)SuggestBoxSets the SuggestBox's position in the tab index.
setTag(tag)SuggestBoxSets the text tag of this SuggestBox.
setText(text)SuggestBoxSet the display text of this SuggestBox.
setTitle(title)SuggestBoxSets the hover title of this SuggestBox.
setValue(value)SuggestBoxSets the value of this SuggestBox.
setVisible(visible)SuggestBoxSets whether this SuggestBox is visible.
setWidth(width)SuggestBoxSets the width of this SuggestBox.

Class TabBar

Methods

MethodReturn typeBrief description
addSelectionHandler(handler)TabBarAdd a handler for selection events.
addStyleDependentName(styleName)TabBarSets the dependent style name of this TabBar.
addStyleName(styleName)TabBarAdds a style name to this TabBar.
addTab(title)TabBarAdd a tab with the given title.
addTab(title, asHtml)TabBarAdd a tab with the given title.
addTab(widget)TabBarAdd a tab with the given widget as its title.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this TabBar.
getType()StringGets the type of this object.
selectTab(index)TabBarSelect a tab by index.
setHeight(height)TabBarSets the height of this TabBar.
setId(id)TabBarSets the id of this TabBar.
setPixelSize(width, height)TabBarSets the size of this TabBar in pixels.
setSize(width, height)TabBarSets the size of this TabBar.
setStyleAttribute(attribute, value)TabBarSets one of this TabBar's style attributes to a new value.
setStyleAttributes(attributes)TabBarSets this TabBar's style attributes.
setStyleName(styleName)TabBarSets the style name of this TabBar.
setStylePrimaryName(styleName)TabBarSets the primary style name of this TabBar.
setTabEnabled(index, enabled)TabBarSet whether the given tab is enabled.
setTabText(index, text)TabBarSet the header text of a given tab.
setTag(tag)TabBarSets the text tag of this TabBar.
setTitle(title)TabBarSets the hover title of this TabBar.
setVisible(visible)TabBarSets whether this TabBar is visible.
setWidth(width)TabBarSets the width of this TabBar.

Class TabPanel

Methods

MethodReturn typeBrief description
add(widget)TabPanelAdd a widget to the TabPanel.
add(widget, text)TabPanelAdds a widget to the stack with the given header text.
add(widget, text, asHtml)TabPanelAdds a widget to the stack with the given header text.
add(widget, tabWidget)TabPanelAdd a widget to this TabPanel with the given widget as its tab header.
addSelectionHandler(handler)TabPanelAdd a handler for selection events.
addStyleDependentName(styleName)TabPanelSets the dependent style name of this TabPanel.
addStyleName(styleName)TabPanelAdds a style name to this TabPanel.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this TabPanel.
getType()StringGets the type of this object.
selectTab(index)TabPanelSelect a tab by index.
setAnimationEnabled(animationEnabled)TabPanelSets whether changing tabs TabPanel is animated.
setHeight(height)TabPanelSets the height of this TabPanel.
setId(id)TabPanelSets the id of this TabPanel.
setPixelSize(width, height)TabPanelSets the size of this TabPanel in pixels.
setSize(width, height)TabPanelSets the size of this TabPanel.
setStyleAttribute(attribute, value)TabPanelSets one of this TabPanel's style attributes to a new value.
setStyleAttributes(attributes)TabPanelSets this TabPanel's style attributes.
setStyleName(styleName)TabPanelSets the style name of this TabPanel.
setStylePrimaryName(styleName)TabPanelSets the primary style name of this TabPanel.
setTag(tag)TabPanelSets the text tag of this TabPanel.
setTitle(title)TabPanelSets the hover title of this TabPanel.
setVisible(visible)TabPanelSets whether this TabPanel is visible.
setWidth(width)TabPanelSets the width of this TabPanel.

Class TextArea

Methods

MethodReturn typeBrief description
addBlurHandler(handler)TextAreaAdd a handler for blur events (losing keyboard focus).
addChangeHandler(handler)TextAreaAdd a handler for change events.
addClickHandler(handler)TextAreaAdd a handler for click events.
addFocusHandler(handler)TextAreaAdd a handler for focus events (gaining keyboard focus).
addKeyDownHandler(handler)TextAreaAdd a handler for key down events.
addKeyPressHandler(handler)TextAreaAdd a handler for key press events.
addKeyUpHandler(handler)TextAreaAdd a handler for key up events.
addMouseDownHandler(handler)TextAreaAdd a handler for mouse down events.
addMouseMoveHandler(handler)TextAreaAdd a handler for mouse move events.
addMouseOutHandler(handler)TextAreaAdd a handler for mouse out events.
addMouseOverHandler(handler)TextAreaAdd a handler for mouse move events.
addMouseUpHandler(handler)TextAreaAdd a handler for mouse up events.
addMouseWheelHandler(handler)TextAreaAdd a handler for mouse wheel events.
addStyleDependentName(styleName)TextAreaSets the dependent style name of this TextArea.
addStyleName(styleName)TextAreaAdds a style name to this TextArea.
addValueChangeHandler(handler)TextAreaAdd a handler for value change events.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this TextArea.
getType()StringGets the type of this object.
setCharacterWidth(width)TextAreaSets the requested width of the text box.
setCursorPos(position)TextAreaSets the cursor position inside this TextArea.
setEnabled(enabled)TextAreaSets whether the TextArea is enabled.
setFocus(focus)TextAreaExplicitly focus/unfocus this TextArea.
setHeight(height)TextAreaSets the height of this TextArea.
setId(id)TextAreaSets the id of this TextArea.
setName(name)TextAreaSets the name of the TextArea, which is how it will be referred to when used in a FormPanel or as a callback element on an event handler.
setPixelSize(width, height)TextAreaSets the size of this TextArea in pixels.
setReadOnly(readOnly)TextAreaSets whether the text in this TextArea is read only and can't be edited.
setSelectionRange(position, length)TextAreaSets the range of text to be selected.
setSize(width, height)TextAreaSets the size of this TextArea.
setStyleAttribute(attribute, value)TextAreaSets one of this TextArea's style attributes to a new value.
setStyleAttributes(attributes)TextAreaSets this TextArea's style attributes.
setStyleName(styleName)TextAreaSets the style name of this TextArea.
setStylePrimaryName(styleName)TextAreaSets the primary style name of this TextArea.
setTabIndex(index)TextAreaSets the TextArea's position in the tab index.
setTag(tag)TextAreaSets the text tag of this TextArea.
setText(text)TextAreaSet the display text of this TextArea.
setTitle(title)TextAreaSets the hover title of this TextArea.
setValue(value)TextAreaSets this TextArea's value without firing any events.
setValue(value, fireEvents)TextAreaSets this TextArea's value and potentially fire events.
setVisible(visible)TextAreaSets whether this TextArea is visible.
setVisibleLines(lines)TextAreaSets the number of text lines that are visible.
setWidth(width)TextAreaSets the width of this TextArea.

Class TextBox

Methods

MethodReturn typeBrief description
addBlurHandler(handler)TextBoxAdd a handler for blur events (losing keyboard focus).
addChangeHandler(handler)TextBoxAdd a handler for change events.
addClickHandler(handler)TextBoxAdd a handler for click events.
addFocusHandler(handler)TextBoxAdd a handler for focus events (gaining keyboard focus).
addKeyDownHandler(handler)TextBoxAdd a handler for key down events.
addKeyPressHandler(handler)TextBoxAdd a handler for key press events.
addKeyUpHandler(handler)TextBoxAdd a handler for key up events.
addMouseDownHandler(handler)TextBoxAdd a handler for mouse down events.
addMouseMoveHandler(handler)TextBoxAdd a handler for mouse move events.
addMouseOutHandler(handler)TextBoxAdd a handler for mouse out events.
addMouseOverHandler(handler)TextBoxAdd a handler for mouse move events.
addMouseUpHandler(handler)TextBoxAdd a handler for mouse up events.
addMouseWheelHandler(handler)TextBoxAdd a handler for mouse wheel events.
addStyleDependentName(styleName)TextBoxSets the dependent style name of this TextBox.
addStyleName(styleName)TextBoxAdds a style name to this TextBox.
addValueChangeHandler(handler)TextBoxAdd a handler for value change events.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this TextBox.
getType()StringGets the type of this object.
setCursorPos(position)TextBoxSets the cursor position inside this TextBox.
setEnabled(enabled)TextBoxSets whether the TextBox is enabled.
setFocus(focus)TextBoxExplicitly focus/unfocus this TextBox.
setHeight(height)TextBoxSets the height of this TextBox.
setId(id)TextBoxSets the id of this TextBox.
setMaxLength(length)TextBoxSets the maximum allowable length of the text box's contents.
setName(name)TextBoxSets the name of the TextBox, which is how it will be referred to when used in a FormPanel or as a callback element on an event handler.
setPixelSize(width, height)TextBoxSets the size of this TextBox in pixels.
setReadOnly(readOnly)TextBoxSets whether the text in this TextBox is read only and can't be edited.
setSelectionRange(position, length)TextBoxSets the range of text to be selected.
setSize(width, height)TextBoxSets the size of this TextBox.
setStyleAttribute(attribute, value)TextBoxSets one of this TextBox's style attributes to a new value.
setStyleAttributes(attributes)TextBoxSets this TextBox's style attributes.
setStyleName(styleName)TextBoxSets the style name of this TextBox.
setStylePrimaryName(styleName)TextBoxSets the primary style name of this TextBox.
setTabIndex(index)TextBoxSets the TextBox's position in the tab index.
setTag(tag)TextBoxSets the text tag of this TextBox.
setText(text)TextBoxSet the display text of this TextBox.
setTitle(title)TextBoxSets the hover title of this TextBox.
setValue(value)TextBoxSets this TextBox's value without firing any events.
setValue(value, fireEvents)TextBoxSets this TextBox's value and potentially fire events.
setVisible(visible)TextBoxSets whether this TextBox is visible.
setVisibleLength(length)TextBoxSets the number of visible characters in the text box.
setWidth(width)TextBoxSets the width of this TextBox.

Class ToggleButton

Methods

MethodReturn typeBrief description
addBlurHandler(handler)ToggleButtonAdd a handler for blur events (losing keyboard focus).
addClickHandler(handler)ToggleButtonAdd a handler for click events.
addFocusHandler(handler)ToggleButtonAdd a handler for focus events (gaining keyboard focus).
addKeyDownHandler(handler)ToggleButtonAdd a handler for key down events.
addKeyPressHandler(handler)ToggleButtonAdd a handler for key press events.
addKeyUpHandler(handler)ToggleButtonAdd a handler for key up events.
addMouseDownHandler(handler)ToggleButtonAdd a handler for mouse down events.
addMouseMoveHandler(handler)ToggleButtonAdd a handler for mouse move events.
addMouseOutHandler(handler)ToggleButtonAdd a handler for mouse out events.
addMouseOverHandler(handler)ToggleButtonAdd a handler for mouse move events.
addMouseUpHandler(handler)ToggleButtonAdd a handler for mouse up events.
addMouseWheelHandler(handler)ToggleButtonAdd a handler for mouse wheel events.
addStyleDependentName(styleName)ToggleButtonSets the dependent style name of this ToggleButton.
addStyleName(styleName)ToggleButtonAdds a style name to this ToggleButton.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this ToggleButton.
getType()StringGets the type of this object.
setDown(down)ToggleButtonSets whether the button is down.
setEnabled(enabled)ToggleButtonSets whether the ToggleButton is enabled.
setFocus(focus)ToggleButtonExplicitly focus/unfocus this ToggleButton.
setHTML(html)ToggleButtonSets the HTML content of this ToggleButton.
setHeight(height)ToggleButtonSets the height of this ToggleButton.
setId(id)ToggleButtonSets the id of this ToggleButton.
setPixelSize(width, height)ToggleButtonSets the size of this ToggleButton in pixels.
setSize(width, height)ToggleButtonSets the size of this ToggleButton.
setStyleAttribute(attribute, value)ToggleButtonSets one of this ToggleButton's style attributes to a new value.
setStyleAttributes(attributes)ToggleButtonSets this ToggleButton's style attributes.
setStyleName(styleName)ToggleButtonSets the style name of this ToggleButton.
setStylePrimaryName(styleName)ToggleButtonSets the primary style name of this ToggleButton.
setTabIndex(index)ToggleButtonSets the ToggleButton's position in the tab index.
setTag(tag)ToggleButtonSets the text tag of this ToggleButton.
setText(text)ToggleButtonSet the display text of this ToggleButton.
setTitle(title)ToggleButtonSets the hover title of this ToggleButton.
setVisible(visible)ToggleButtonSets whether this ToggleButton is visible.
setWidth(width)ToggleButtonSets the width of this ToggleButton.

Class Tree

Methods

MethodReturn typeBrief description
add(widget)TreeAdd a widget to the Tree.
addBlurHandler(handler)TreeAdd a handler for blur events (losing keyboard focus).
addCloseHandler(handler)TreeAdd a handler for close events.
addFocusHandler(handler)TreeAdd a handler for focus events (gaining keyboard focus).
addItem(text)TreeAdds a new child tree item containing the specified HTML.
addItem(item)TreeAdds a TreeItem as a child to this Tree.
addItem(widget)TreeAdds a new child tree item containing the specified widget.
addKeyDownHandler(handler)TreeAdd a handler for key down events.
addKeyPressHandler(handler)TreeAdd a handler for key press events.
addKeyUpHandler(handler)TreeAdd a handler for key up events.
addMouseDownHandler(handler)TreeAdd a handler for mouse down events.
addMouseMoveHandler(handler)TreeAdd a handler for mouse move events.
addMouseOutHandler(handler)TreeAdd a handler for mouse out events.
addMouseOverHandler(handler)TreeAdd a handler for mouse move events.
addMouseUpHandler(handler)TreeAdd a handler for mouse up events.
addMouseWheelHandler(handler)TreeAdd a handler for mouse wheel events.
addOpenHandler(handler)TreeAdd a handler for open events.
addSelectionHandler(handler)TreeAdd a handler for selection events.
addStyleDependentName(styleName)TreeSets the dependent style name of this Tree.
addStyleName(styleName)TreeAdds a style name to this Tree.
clear()TreeRemoves all children.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this Tree.
getType()StringGets the type of this object.
setAnimationEnabled(animationEnabled)TreeSets whether opening and closing the Tree is animated.
setFocus(focus)TreeExplicitly focus/unfocus this Tree.
setHeight(height)TreeSets the height of this Tree.
setId(id)TreeSets the id of this Tree.
setPixelSize(width, height)TreeSets the size of this Tree in pixels.
setSelectedItem(item)TreeSelects the given item.
setSelectedItem(item, fireEvents)TreeSelects the given item and optionally fire events.
setSize(width, height)TreeSets the size of this Tree.
setStyleAttribute(attribute, value)TreeSets one of this Tree's style attributes to a new value.
setStyleAttributes(attributes)TreeSets this Tree's style attributes.
setStyleName(styleName)TreeSets the style name of this Tree.
setStylePrimaryName(styleName)TreeSets the primary style name of this Tree.
setTabIndex(index)TreeSets the Tree's position in the tab index.
setTag(tag)TreeSets the text tag of this Tree.
setTitle(title)TreeSets the hover title of this Tree.
setVisible(visible)TreeSets whether this Tree is visible.
setWidth(width)TreeSets the width of this Tree.

Class TreeItem

Methods

MethodReturn typeBrief description
addItem(text)TreeItemAdds a new child tree item containing the specified HTML.
addItem(item)TreeItemAdds a TreeItem as a child to this TreeItem.
addItem(widget)TreeItemAdds a new child tree item containing the specified widget.
addStyleDependentName(styleName)TreeItemSets the dependent style name of this TreeItem.
addStyleName(styleName)TreeItemAdds a style name to this TreeItem.
clear()TreeItemRemoves all children.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this TreeItem.
getType()StringGets the type of this object.
setHTML(html)TreeItemSets the HTML content of this TreeItem.
setHeight(height)TreeItemSets the height of this TreeItem.
setId(id)TreeItemSets the id of this TreeItem.
setPixelSize(width, height)TreeItemSets the size of this TreeItem in pixels.
setSelected(selected)TreeItemSet whether this item is selected.
setSize(width, height)TreeItemSets the size of this TreeItem.
setState(open)TreeItemSets whether this TreeItem is open or closed.
setState(open, fireEvents)TreeItemSets whether this TreeItem is open or closed and optionally fire events.
setStyleAttribute(attribute, value)TreeItemSets one of this TreeItem's style attributes to a new value.
setStyleAttributes(attributes)TreeItemSets this TreeItem's style attributes.
setStyleName(styleName)TreeItemSets the style name of this TreeItem.
setStylePrimaryName(styleName)TreeItemSets the primary style name of this TreeItem.
setTag(tag)TreeItemSets the text tag of this TreeItem.
setText(text)TreeItemSet the display text of this TreeItem.
setTitle(title)TreeItemSets the hover title of this TreeItem.
setVisible(visible)TreeItemSets whether this TreeItem is visible.
setWidget(widget)TreeItemSets the widget to be shown inside this TreeItem.
setWidth(width)TreeItemSets the width of this TreeItem.

Class UiApp

Properties

PropertyTypeDescription
DateTimeFormatDateTimeFormatConstants to use with setFormat methods in UiApp widgets such as DatePicker and DateBox.
FileTypeFileTypeConstants to use with UiApp.createGoogleDocsPicker(); DatePicker and DateBox.
HorizontalAlignmentHorizontalAlignmentConstants to use with setHorizontalAlignment methods in UiApp.
VerticalAlignmentVerticalAlignmentConstants to use with setVerticalAlignment methods in UiApp.

Methods

MethodReturn typeBrief description
createApplication()UiInstanceCreate a new UiInstance, which you can use to build a UI.
getActiveApplication()UiInstanceGets the active UiInstance.
getUserAgent()StringReturn the browser user-agent string, so that you can tailor your app as needed.

Class UiInstance

Methods

MethodReturn typeBrief description
add(child)UiInstanceAdds a new widget to this application.
close()UiInstanceClose the app.
createAbsolutePanel()AbsolutePanelCreates a new AbsolutePanel.
createAnchor(text, asHtml, href)AnchorCreates a new Anchor.
createAnchor(text, href)AnchorCreates a new Anchor.
createButton()ButtonCreates a new Button.
createButton(html)ButtonCreates a new Button.
createButton(html, clickHandler)ButtonCreates a new Button.
createCaptionPanel()CaptionPanelCreates a new CaptionPanel.
createCaptionPanel(caption)CaptionPanelCreates a new CaptionPanel.
createCaptionPanel(caption, asHtml)CaptionPanelCreates a new CaptionPanel.
createCheckBox()CheckBoxCreates a new CheckBox.
createCheckBox(label)CheckBoxCreates a new CheckBox.
createCheckBox(label, asHtml)CheckBoxCreates a new CheckBox.
createClientHandler()ClientHandlerCreates a new ClientHandler.
createDateBox()DateBoxCreates a new DateBox.
createDatePicker()DatePickerCreates a new DatePicker.
createDecoratedStackPanel()DecoratedStackPanelCreates a new DecoratedStackPanel.
createDecoratedTabBar()DecoratedTabBarCreates a new DecoratedTabBar.
createDecoratedTabPanel()DecoratedTabPanelCreates a new DecoratedTabPanel.
createDecoratorPanel()DecoratorPanelCreates a new DecoratorPanel.
createDialogBox()DialogBoxCreates a new DialogBox.
createDialogBox(autoHide)DialogBoxCreates a new DialogBox.
createDialogBox(autoHide, modal)DialogBoxCreates a new DialogBox.
createDocsListDialog()DocsListDialogCreate a new DocsListDialog.
createFileUpload()FileUploadCreates a new FileUpload.
createFlexTable()FlexTableCreates a new FlexTable.
createFlowPanel()FlowPanelCreates a new FlowPanel.
createFocusPanel()FocusPanelCreates a new FocusPanel.
createFocusPanel(child)FocusPanelCreates a new FocusPanel with a specified child Widget.
createFormPanel()FormPanelCreates a new FormPanel.
createGrid()GridCreates a new Grid.
createGrid(rows, columns)GridCreates a new Grid with a specified size.
createHTML()HTMLCreates a new HTML with no text.
createHTML(html)HTMLCreates a new HTML with the specified text.
createHTML(html, wordWrap)HTMLCreates a new HTML with the specified text.
createHidden()HiddenCreates a new Hidden.
createHidden(name)HiddenCreates a new Hidden with a specified name.
createHidden(name, value)HiddenCreates a new Hidden with a specified name and value.
createHorizontalPanel()HorizontalPanelCreates a new HorizontalPanel.
createImage()ImageCreates a new Image.
createImage(url)ImageCreates a new Image with the specified URL.
createImage(url, left, top, width, height)ImageCreates a new Image with the specified URL and clipping rectangle.
createInlineLabel()InlineLabelCreates a new InlineLabel with no text.
createInlineLabel(text)InlineLabelCreates a new InlineLabel with the specified text.
createLabel()LabelCreates a new Label with no text.
createLabel(text)LabelCreates a new Label with the specified text.
createLabel(text, wordWrap)LabelCreates a new Label with the specified text.
createListBox()ListBoxCreates a new ListBox.
createListBox(isMultipleSelect)ListBoxCreates a new ListBox.
createMenuBar()MenuBarCreates a new MenuBar.
createMenuBar(vertical)MenuBarCreates a new MenuBar.
createMenuItem(text, asHtml, command)MenuItemCreates a new MenuItem.
createMenuItem(text, command)MenuItemCreates a new MenuItem.
createMenuItemSeparator()MenuItemSeparatorCreates a new MenuItemSeparator.
createPasswordTextBox()PasswordTextBoxCreates a new PasswordTextBox.
createPopupPanel()PopupPanelCreates a new PopupPanel.
createPopupPanel(autoHide)PopupPanelCreates a new PopupPanel.
createPopupPanel(autoHide, modal)PopupPanelCreates a new PopupPanel.
createPushButton()PushButtonCreates a new PushButton.
createPushButton(upText)PushButtonCreates a new PushButton.
createPushButton(upText, clickHandler)PushButtonCreates a new PushButton.
createPushButton(upText, downText)PushButtonCreates a new PushButton.
createPushButton(upText, downText, clickHandler)PushButtonCreates a new PushButton.
createRadioButton(name)RadioButtonCreates a new RadioButton.
createRadioButton(name, label)RadioButtonCreates a new RadioButton.
createRadioButton(name, label, asHtml)RadioButtonCreates a new RadioButton.
createResetButton()ResetButtonCreates a new ResetButton.
createResetButton(html)ResetButtonCreates a new ResetButton.
createResetButton(html, clickHandler)ResetButtonCreates a new ResetButton.
createScrollPanel()ScrollPanelCreates a new ScrollPanel.
createScrollPanel(child)ScrollPanelCreates a new ScrollPanel with a specified child Widget.
createServerHandler()ServerHandlerCreates a new ServerHandler.
createServerHandler(functionName)ServerHandlerCreates a new ServerHandler.
createSimpleCheckBox()SimpleCheckBoxCreates a new SimpleCheckBox.
createSimplePanel()SimplePanelCreates a new SimplePanel.
createSimpleRadioButton(name)SimpleRadioButtonCreates a new SimpleRadioButton.
createSplitLayoutPanel()SplitLayoutPanelCreates a new SplitLayoutPanel.
createStackPanel()StackPanelCreates a new StackPanel.
createSubmitButton()SubmitButtonCreates a new SubmitButton.
createSubmitButton(html)SubmitButtonCreates a new SubmitButton.
createTabBar()TabBarCreates a new TabBar.
createTabPanel()TabPanelCreates a new TabPanel.
createTextArea()TextAreaCreates a new TextArea.
createTextBox()TextBoxCreates a new TextBox.
createToggleButton()ToggleButtonCreates a new ToggleButton.
createToggleButton(upText)ToggleButtonCreates a new ToggleButton.
createToggleButton(upText, clickHandler)ToggleButtonCreates a new ToggleButton.
createToggleButton(upText, downText)ToggleButtonCreates a new ToggleButton.
createTree()TreeCreates a new Tree.
createTreeItem()TreeItemCreates a new TreeItem.
createTreeItem(text)TreeItemCreates a new TreeItem with the given text.
createTreeItem(child)TreeItemCreates a new TreeItem with the given widget.
createVerticalPanel()VerticalPanelCreates a new VerticalPanel.
getElementById(id)ComponentRetrieves a generic reference to an element stored in the application, by its id.
getId()StringReturns the id that has been assigned to this object.
isStandardsMode()BooleanGets whether the UiApp displays in HTML 'standards' mode or in 'quirks' mode.
loadComponent(componentName)ComponentLoad a GUI Builder component into UiApp, by name.
loadComponent(componentName, optAdvancedArgs)ComponentLoad a GUI Builder component into UiApp, by name.
remove(index)UiInstanceRemove the widget with the given index from the application.
remove(widget)UiInstanceRemove the given widget from the application.
setHeight(height)UiInstanceSets the application's height.
setStandardsMode(standardsMode)UiInstanceSet whether the UiApp displays in HTML 'standards' mode or in 'quirks' mode.
setStyleAttribute(attribute, value)UiInstanceSets one of the application's style attributes to a new value.
setTitle(title)UiInstanceSets the title of the application.
setWidth(width)UiInstanceSets the application's width.

Class VerticalAlignment

Properties

PropertyTypeDescription
TOPEnumPosition at the top
MIDDLEEnumPosition at the middle
BOTTOMEnumPosition at the bottom

Class VerticalPanel

Methods

MethodReturn typeBrief description
add(widget)VerticalPanelAdd a widget to the VerticalPanel.
addStyleDependentName(styleName)VerticalPanelSets the dependent style name of this VerticalPanel.
addStyleName(styleName)VerticalPanelAdds a style name to this VerticalPanel.
clear()VerticalPanelRemove all widgets from the VerticalPanel.
getId()StringReturns the id that has been assigned to this object.
getTag()StringGets the text tag of this VerticalPanel.
getType()StringGets the type of this object.
remove(index)VerticalPanelRemove the widget with the given index from the VerticalPanel.
remove(widget)VerticalPanelRemove the given widget from the VerticalPanel.
setBorderWidth(width)VerticalPanelSets the width of the border to be applied to all cells in this panel.
setCellHeight(widget, height)VerticalPanelSets the height of the cell associated with the given widget, related to the panel as a whole.
setCellHorizontalAlignment(widget, horizontalAlignment)VerticalPanelSets the horizontal alignment of the given widget within its cell.
setCellVerticalAlignment(widget, verticalAlignment)VerticalPanelSets the vertical alignment of the given widget within its cell.
setCellWidth(widget, width)VerticalPanelSets the width of the cell associated with the given widget, related to the panel as a whole.
setHeight(height)VerticalPanelSets the height of this VerticalPanel.
setHorizontalAlignment(horizontalAlignment)VerticalPanelSet the horizontal alignment of widgets added to this VerticalPanel.
setId(id)VerticalPanelSets the id of this VerticalPanel.
setPixelSize(width, height)VerticalPanelSets the size of this VerticalPanel in pixels.
setSize(width, height)VerticalPanelSets the size of this VerticalPanel.
setSpacing(spacing)VerticalPanelSets the amount of spacing between this panel's cells.
setStyleAttribute(attribute, value)VerticalPanelSets one of this VerticalPanel's style attributes to a new value.
setStyleAttributes(attributes)VerticalPanelSets this VerticalPanel's style attributes.
setStyleName(styleName)VerticalPanelSets the style name of this VerticalPanel.
setStylePrimaryName(styleName)VerticalPanelSets the primary style name of this VerticalPanel.
setTag(tag)VerticalPanelSets the text tag of this VerticalPanel.
setTitle(title)VerticalPanelSets the hover title of this VerticalPanel.
setVerticalAlignment(verticalAlignment)VerticalPanelSet the vertical alignment of widgets added to this VerticalPanel.
setVisible(visible)VerticalPanelSets whether this VerticalPanel is visible.
setWidth(width)VerticalPanelSets the width of this VerticalPanel.

Class Widget

Methods

MethodReturn typeBrief description
getId()StringReturns the id that has been assigned to this object.
getType()StringGets the type of this object.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.