com.google.gwt.user.client.ui |
Widgets, Panels, and other user-interface classes.
This package contains all of the high-level user-interface Widgets, along with
panels and event interfaces. These classes form the bulk of the client-side
libraries used by GWT applications.
|
Java Source File Name | Type | Comment |
AbsolutePanel.java | Class | An absolute panel positions all of its children absolutely, allowing them to
overlap.
Note that this panel will not automatically resize itself to allow enough
room for its absolutely-positioned children. |
AbsolutePanelTest.java | Class | TODO: document me. |
AbstractImagePrototype.java | Class | An opaque representation of a particular image such that the image can be
accessed either as an HTML fragment or as an
Image object. |
Button.java | Class | A standard push-button widget. |
ButtonBase.java | Class | Abstract base class for
com.google.gwt.user.client.ui.Button ,
com.google.gwt.user.client.ui.CheckBox ,
com.google.gwt.user.client.ui.RadioButton . |
CellPanel.java | Class | A panel whose child widgets are contained within the cells of a table. |
ChangeListener.java | Interface | Event listener interface for 'change' events. |
ChangeListenerCollection.java | Class | A helper class for implementers of the SourcesChangeEvents interface. |
CheckBox.java | Class | A standard check box widget (also serves as a base class for
com.google.gwt.user.client.ui.RadioButton . |
CheckBoxTest.java | Class | Tests the CheckBox Widget. |
ClickListener.java | Interface | Event listener interface for click events. |
ClickListenerCollection.java | Class | A helper class for implementers of the SourcesClickEvents interface. |
ComplexPanel.java | Class | Abstract base class for panels that can contain multiple child widgets. |
Composite.java | Class | A type of widget that can wrap another widget, hiding the wrapped widget's
methods. |
CustomButton.java | Class | Custom Button is a base button class with built in support for a set number
of button faces.
Each face has its own style modifier. |
CustomButtonTest.java | Class | Test for PushButton as most of this widget's functionality is
UI based, the primary test will be in the new UI testing framework once it is
released. |
DeckPanel.java | Class | A panel that displays all of its child widgets in a 'deck', where only one
can be visible at a time. |
DelegatingChangeListenerCollection.java | Class | ChangeListenerCollection used to correctly hook up listeners which
need to listen to events from another source.
For example,
Composite widgets often need to listen to events
generated on their wrapped widget. |
DelegatingClickListenerCollection.java | Class | ClickListenerCollection used to correctly hook up listeners which
need to listen to events from another source.
For example,
Composite widgets often need to listen to events
generated on their wrapped widget. |
DelegatingFocusListenerCollection.java | Class | FocusListenerCollection used to correctly hook up listeners which
need to listen to events from another source.
For example,
Composite widgets often need to listen to events
generated on their wrapped widget. |
DelegatingKeyboardListenerCollection.java | Class | KeyboardListenerCollection used to correctly hook up event listeners
to the composite's wrapped widget.
For example,
Composite widgets often need to listen to events
generated on their wrapped widget. |
DelegatingKeyboardListenerCollectionTest.java | Class | Tests keyboard events in the
DelegatingKeyboardListenerCollection class. |
DialogBox.java | Class | A form of popup that has a caption area at the top and can be dragged by the
user. |
DialogBoxTest.java | Class | Unit test for
DialogBox . |
DisclosureEvent.java | Class | Event object containing information about
DisclosurePanel changes. |
DisclosureHandler.java | Interface | Event handler interface for
DisclosureEvent . |
DisclosurePanel.java | Class | A widget that consists of a header and a content panel that discloses the
content when a user clicks on the header.
CSS Style Rules
- .gwt-DisclosurePanel { the panel's primary style }
- .gwt-DisclosurePanel-open { dependent style set when panel is open }
- .gwt-DisclosurePanel-closed { dependent style set when panel is closed }
- .header { the header section }
- .content { the content section }
The header and content sections can be easily selected using css with a child
selector: .gwt-DisclosurePanel-open .header { ... |
DisclosurePanelImages.java | Interface | An
ImageBundle that provides images for
DisclosurePanel . |
DisclosurePanelTest.java | Class | Tests core functionality of
DisclosurePanel . |
DockPanel.java | Class | A panel that lays its child widgets out "docked" at its outer edges, and
allows its last widget to take up the remaining space in its center. |
DockPanelTest.java | Class | Tests the DockPanel widget. |
DOMTest.java | Class | Tests standard DOM operations in the
DOM class. |
FastStringMap.java | Class | Special-case Map implementation which imposes limits on the types of keys
that can be used in return for much faster speed. |
FastStringMapProfile.java | Class | TODO: document me. |
FastStringMapTest.java | Class | Tests FastStringMap Right now, no tests are directly run here,
because the tests are run in mapTest.FastStringMapTest. |
FileUpload.java | Class | A widget that wraps the HTML <input type='file'> element. |
FiresDisclosureEvents.java | Interface | A widget that implements this interface fires the events defined by
the
DisclosureHandler interface. |
FiresFormEvents.java | Interface | A widget that implements this interface fires the events defined by the
com.google.gwt.user.client.ui.FormHandler interface. |
FiresSuggestionEvents.java | Interface | A widget that implements this interface fires the events defined by
the
SuggestionHandler interface. |
FlexTable.java | Class | A flexible table that creates cells on demand. |
FlexTableProfile.java | Class | TODO: document me. |
FlexTableTest.java | Class | TODO: document me. |
FlowPanel.java | Class | A panel that formats its child widgets using the default HTML layout
behavior. |
FlowPanelTest.java | Class | Tests the FlowPanel widget. |
FocusListener.java | Interface | Event listener for focus events. |
FocusListenerAdapter.java | Class | An adapter to simplify focus event listeners that do not need all events
defined on the FocusListener interface. |
FocusListenerCollection.java | Class | A helper class for implementers of the
com.google.gwt.user.client.ui.SourcesFocusEvents interface. |
FocusPanel.java | Class | A simple panel that makes its contents focusable, and adds the ability to
catch mouse and keyboard events. |
FocusPanelTest.java | Class | Test the FocusPanel widget. |
FocusWidget.java | Class | Abstract base class for most widgets that can receive keyboard focus. |
FormHandler.java | Interface | Handler interface for form submit events. |
FormHandlerCollection.java | Class | Helper class for widgets that accept
com.google.gwt.user.client.ui.FormHandler FormHandlers . |
FormPanel.java | Class | A panel that wraps its contents in an HTML <FORM> element.
This panel can be used to achieve interoperability with servers that accept
traditional HTML form encoding. |
FormPanelTest.java | Class | Tests the FormPanel. |
FormSubmitCompleteEvent.java | Class | Event object containing information about form submission events. |
FormSubmitEvent.java | Class | Event object containing information about form submission events. |
Frame.java | Class | A widget that wraps an IFRAME element, which can contain an arbitrary web
site. |
Grid.java | Class | A rectangular grid that can contain text, html, or a child
com.google.gwt.user.client.ui.Widget within its cells. |
GridProfile.java | Class | TODO: document me. |
GridTest.java | Class | TODO: document me. |
HasAlignment.java | Interface | A widget that implements this interface has an intrinsic alignment which
can be manipulated using these methods and constants. |
HasCaption.java | Interface | A widget that implements this interface has a caption which can be set and
retrieved using these methods. |
HasFocus.java | Interface | A widget that implements this interface can receive keyboard focus. |
HasHorizontalAlignment.java | Interface | Characteristic interface which indicates that a widget can be aligned
horizontally. |
HasHTML.java | Interface | An object that implements this interface contains text, which can be set and
retrieved using these methods. |
HasKeyPreview.java | Interface | A class that implements this interface receives a preview of keyboard events
before they are passed to the focused widget. |
HasName.java | Interface | A widget that implements this interface has a 'name' associated with it,
allowing it to be used with
FormPanel . |
HasText.java | Interface | An object that implements this interface contains text, which can be set and
retrieved using these methods. |
HasVerticalAlignment.java | Interface | Characteristic interface which indicates that a widget has an associated
vertical alignment. |
HasWidgets.java | Interface | A widget that implements this interface contains
com.google.gwt.user.client.ui.Widget widgets and can enumerate them. |
HasWidgetsTester.java | Class | All Widgets that implement HasWidgets should derive from this test case, and
make sure to run all of its test templates. |
HasWordWrap.java | Interface | A widget that implements this interface has a 'word-wrap' property that can
be manipulated using these methods. |
Hidden.java | Class | Represents a hidden field in an HTML form. |
HiddenTest.java | Class | TODO: document me. |
HistoryTest.java | Class | Tests for the history system. |
HorizontalPanel.java | Class | A panel that lays all of its widgets out in a single horizontal column. |
HorizontalPanelTest.java | Class | A test for
HorizontalPanel . |
HorizontalSplitPanel.java | Class | A panel that arranges two widgets in a single horizontal row and allows the
user to interactively change the proportion of the width dedicated to each of
the two widgets. |
HorizontalSplitPanelImages.java | Interface | An
ImageBundle that provides images for
com.google.gwt.user.client.ui.HorizontalSplitPanel . |
HTML.java | Class | A widget that can contain arbitrary HTML. |
HTMLPanel.java | Class | A panel that contains HTML, and which can attach child widgets to identified
elements within that HTML. |
HTMLPanelTest.java | Class | Tests the HTMLPanel widget. |
HTMLTable.java | Class | HTMLTable contains the common table algorithms for
com.google.gwt.user.client.ui.Grid and
com.google.gwt.user.client.ui.FlexTable . |
HTMLTableProfile.java | Class | TODO: document me. |
HTMLTableTestBase.java | Class | Base test for HTMLTable derived classes. |
Hyperlink.java | Class | A widget that serves as an "internal" hyperlink. |
Image.java | Class | A widget that displays the image at a given URL. |
ImageBundle.java | Interface | A tag interface that is used in the generation of image bundles. |
ImageTest.java | Class | Tests for the Image widget. |
IndexedPanel.java | Interface | A panel that imposes an explicit ordering on its children. |
KeyboardListener.java | Interface | Event listener interface for keyboard events. |
KeyboardListenerAdapter.java | Class | An adapter to simplify keyboard event listeners that do not need all events
defined on the KeyboardListener interface. |
KeyboardListenerCollection.java | Class | A helper class for implementers of the SourcesKeyboardEvents interface. |
Label.java | Class | A widget that contains arbitrary text, not interpreted as HTML. |
LinearPanelTest.java | Class | TODO: document me. |
ListBox.java | Class | A widget that presents a list of choices to the user, either as a list box or
as a drop-down list. |
ListBoxProfile.java | Class | TODO: document me. |
ListBoxTest.java | Class | Tests
ListBox . |
LoadListener.java | Interface | Event listener interface for 'load' events. |
LoadListenerCollection.java | Class | A helper class for implementers of the SourcesLoadEvents interface. |
MenuBar.java | Class | A standard menu bar widget. |
MenuItem.java | Class | A widget that can be placed in a
com.google.gwt.user.client.ui.MenuBar . |
MouseListener.java | Interface | Event listener interface for mouse events. |
MouseListenerAdapter.java | Class | An adapter to simplify mouse event listeners that do not need all events
defined on the MouseListener interface. |
MouseListenerCollection.java | Class | A helper class for implementers of the SourcesMouseEvents interface. |
MouseWheelListener.java | Interface | Event listener interface for mouse wheel events. |
MouseWheelListenerCollection.java | Class | A helper class for implementers of the SourcesMouseWheelEvents interface. |
MouseWheelVelocity.java | Class | Encapsulates the direction and velocity of mouse wheel events. |
MultiWordSuggestOracle.java | Class | The default
com.google.gwt.user.client.ui.SuggestOracle . |
NamedFrame.java | Class | A
com.google.gwt.user.client.ui.Frame that has a 'name' associated
with it. |
NamedFrameTest.java | Class | Tests the
NamedFrame widget. |
Panel.java | Class | Abstract base class for all panels, which are widgets that can contain other
widgets. |
PanelTest.java | Class | Panel test. |
PasswordTextBox.java | Class | A text box that visually masks its input to prevent eavesdropping. |
PopupListener.java | Interface | Event listener interface for popup events. |
PopupListenerCollection.java | Class | A helper class for implementers of the SourcesPopupEvents interface. |
PopupPanel.java | Class | A panel that can "pop up" over other widgets. |
PopupTest.java | Class | TODO: document me. |
PrefixTree.java | Class | A prefix tree (aka trie). |
PrefixTreeTest.java | Class | TODO(bobv): comment me. |
PushButton.java | Class | A normal push button with custom styling. |
RadioButton.java | Class | A mutually-exclusive selection radio button widget. |
RadioButtonTest.java | Class | Tests the RadioButton class. |
RichTextArea.java | Class | A rich text editor that allows complex styling and formatting. |
RichTextAreaTest.java | Class | Tests the
RichTextArea widget. |
RootPanel.java | Class | The panel to which all other widgets must ultimately be added. |
ScrollListener.java | Interface | Event listener interface for scroll events. |
ScrollListenerCollection.java | Class | A helper class for implementers of the SourcesScrollEvents interface. |
ScrollPanel.java | Class | A simple panel that wraps its contents in a scrollable area. |
ScrollPanelTest.java | Class | Tests the ScrollPanel widget. |
SimplePanel.java | Class | Abstract base class for panels that contain only one widget. |
SourcesChangeEvents.java | Interface | A widget that implements this interface sources the events defined by the
com.google.gwt.user.client.ui.ChangeListener interface. |
SourcesClickEvents.java | Interface | A widget that implements this interface sources the events defined by the
com.google.gwt.user.client.ui.ClickListener interface. |
SourcesFocusEvents.java | Interface | A widget that implements this interface sources the events defined by the
com.google.gwt.user.client.ui.FocusListener interface. |
SourcesKeyboardEvents.java | Interface | A widget that implements this interface sources the events defined by the
com.google.gwt.user.client.ui.KeyboardListener interface. |
SourcesLoadEvents.java | Interface | A widget that implements this interface sources the events defined by the
com.google.gwt.user.client.ui.LoadListener interface. |
SourcesMouseEvents.java | Interface | A widget that implements this interface sources the events defined by the
com.google.gwt.user.client.ui.MouseListener interface. |
SourcesMouseWheelEvents.java | Interface | A widget that implements this interface sources the events defined by the
com.google.gwt.user.client.ui.MouseWheelListener interface. |
SourcesPopupEvents.java | Interface | A widget that implements this interface sources the events defined by the
com.google.gwt.user.client.ui.PopupListener interface. |
SourcesScrollEvents.java | Interface | A widget that implements this interface sources the events defined by the
com.google.gwt.user.client.ui.ScrollListener interface. |
SourcesTabEvents.java | Interface | A widget that implements this interface sources the events defined by the
com.google.gwt.user.client.ui.TabListener interface. |
SourcesTableEvents.java | Interface | A widget that implements this interface sources the events defined by the
com.google.gwt.user.client.ui.TableListener interface. |
SourcesTreeEvents.java | Interface | A widget that implements this interface sources the events defined by the
com.google.gwt.user.client.ui.TreeListener interface. |
SplitPanel.java | Class | Abstract base class for
HorizontalSplitPanel and
VerticalSplitPanel . |
SplitPanelTest.java | Class | Tests both
HorizontalSplitPanel and
VerticalSplitPanel . |
StackPanel.java | Class | A 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. |
StackPanelTest.java | Class | Tests ListBox . |
SuggestBox.java | Class | A
SuggestBox is a text box or text area which displays a
pre-configured set of selections that match the user's input.
Each
SuggestBox is associated with a single
SuggestOracle .
The
SuggestOracle is used to provide a set of selections given a
specific query string.
By default, the
SuggestBox uses a
MultiWordSuggestOracle as
its oracle. |
SuggestionEvent.java | Class | Event object containing information about the selection of a
SuggestOracle.Suggestion displayed by a
SuggestBox . |
SuggestionHandler.java | Interface | Event handler interface for
SuggestionEvent . |
SuggestOracle.java | Class | A
com.google.gwt.user.client.ui.SuggestOracle can be used to create
suggestions associated with a specific query string. |
TabBar.java | Class | A horizontal bar of folder-style tabs, most commonly used as part of a
com.google.gwt.user.client.ui.TabPanel . |
TabBarTest.java | Class | TODO: document me. |
TableListener.java | Interface | Event listener interface for table events. |
TableListenerCollection.java | Class | A helper class for implementers of the
com.google.gwt.user.client.ui.SourcesTableEvents interface. |
TabListener.java | Interface | Event listener interface for tab events, used primarily by
com.google.gwt.user.client.ui.TabBar and
com.google.gwt.user.client.ui.TabPanel . |
TabListenerCollection.java | Class | A helper class for implementers of the
com.google.gwt.user.client.ui.SourcesTabEvents interface. |
TabPanel.java | Class | A panel that represents a tabbed set of pages, each of which contains another
widget. |
TabPanelTest.java | Class | Tests the TabPanel. |
TextArea.java | Class | A text box that allows multiple lines of text to be entered. |
TextAreaTest.java | Class | Tests
TextArea . |
TextBox.java | Class | A standard single-line text box. |
TextBoxBase.java | Class | Abstract base class for all text entry widgets. |
ToggleButton.java | Class | A ToggleButton is a stylish stateful button which allows the
user to toggle between up and down states. |
Tree.java | Class | A standard hierarchical tree widget. |
TreeImages.java | Interface | An
ImageBundle that provides images for
com.google.gwt.user.client.ui.Tree . |
TreeItem.java | Class | An item that can be contained within a
com.google.gwt.user.client.ui.Tree . |
TreeListener.java | Interface | Event listener interface for tree events. |
TreeListenerCollection.java | Class | A helper class for implementers of the SourcesClickEvents interface. |
TreeProfile.java | Class | TODO: document me. |
TreeTest.java | Class | Tests the Tree widget. |
UIObject.java | Class | The superclass for all user-interface objects. |
UIObjectTest.java | Class | Tests UIObject. |
VerticalPanel.java | Class | A panel that lays all of its widgets out in a single vertical column. |
VerticalPanelTest.java | Class | A test for
VerticalPanel . |
VerticalSplitPanel.java | Class | A panel that arranges two widgets in a single vertical column and allows the
user to interactively change the proportion of the height dedicated to each
of the two widgets. |
VerticalSplitPanelImages.java | Interface | An
ImageBundle that provides images for
com.google.gwt.user.client.ui.HorizontalSplitPanel . |
Widget.java | Class | The base class for the majority of user-interface objects. |
WidgetCollection.java | Class | A simple collection of widgets to be used by
com.google.gwt.user.client.ui.Panel panels and
com.google.gwt.user.client.ui.Composite composites .
The main purpose of this specialized collection is to implement
java.util.Iterator.remove in a way that delegates removal to its
panel. |
WidgetCollectionTest.java | Class | TODO: document me. |
WidgetIterators.java | Class | A collection of convenience factories for creating iterators for widgets. |
WidgetIteratorsTest.java | Class | Tests
WidgetIterators . |
WidgetOnLoadTest.java | Class | Tests the semantics and ordering of onAttach/onDetach/onLoad/onUnload. |
WidgetProfile.java | Class | TODO: document me. |