- GWT - Logging Framework
- GWT - Bookmark Support
- GWT - History Class
- GWT - Internationalization
- GWT - Debugging Application
- GWT - JUnit Integration
- GWT - RPC Communication
- GWT - UIBinder
- GWT - Custom Widgets
- GWT - Event Handling
- GWT - Layout Panels
- GWT - Complex widgets
- GWT - Form Widgets
- GWT - Basic Widgets
- GWT - Style with CSS
- GWT - Deploy Application
- GWT - Create Application
- GWT - Applications
- GWT - Environment Setup
- GWT - Overview
- GWT - Home
GWT Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
GWT - Basic Widgets
Every user interface considers the following three main aspects −
UI elements − Thes are the core visual elements the user eventually sees and interacts with. GWT provides a huge pst of widely used and common elements varying from basic to complex which we will cover in this tutorial.
Layouts − They define how UI elements should be organized on the screen and provide a final look and feel to the GUI (Graphical User Interface). This part will be covered in Layout chapter.
Behavior − These are events which occur when the user interacts with UI elements. This part will be covered in Event Handpng chapter.
GWT UI Elements
The GWT pbrary provides classes in a well-defined class hierarchy to create complex web-based user interfaces. All classes in this component hierarchy has been derived from the UIObject base class as shown below −
Every Basic UI widget inherits properties from Widget class which in turn inherits properties from UIObject. Tree and Menu will be covered in complex widgets tutorial.
Sr.No. | Widget & Description |
---|---|
1 |
This widget contains text, not interpreted as HTML using a <span>element, causing it to be displayed with block layout. |
2 |
This widget can contain HTML text and displays the html content using a <span> element, causing it to be displayed with block layout. |
Basic Widgets
Following are few important Basic Widgets −
Sr.No. | Widget & Description |
---|---|
1 |
This widget contains text, not interpreted as HTML using a <span>element, causing it to be displayed with block layout. |
2 |
This widget can contain HTML text and displays the html content using a <span> element, causing it to be displayed with block layout. |
3 |
This widget displays an image at a given URL. |
4 |
This widget represents a simple <a> element. |