You are previewing ExtGWT Rich Internet Application Cookbook.
O'Reilly logo
ExtGWT Rich Internet Application Cookbook

Book Description

"

Over 80 recipes to build rich Java web apps on the robust GWT platform with Sencha ExtGWT.

  • Take your ExtGWT web development skills to the next level

  • Create stunning UIs with several layouts and templates in a fast and simple manner

  • Enriched with code and screenshots for easy and quick grasp

In Detail

Get ready to build the next generation Gmail, Facebook, or Meebo, with HTML5 and Server Push, taking advantage of the power and versatility of Java with ExtGWT. Sencha Ext GWT takes GWT to the next level, giving you high-performance widgets, feature-rich templates and layouts, advanced charting, data loaders and stores, accessibility, and much more.

ExtGWT Rich Internet Application Cookbook will teach you to quickly build stunning functionality into your own apps with ExtGWT.

This is a catalog of practical solutions to get your ExtGWT web app up and running in no time, with tips for persistence and best practices. You begin by playing with panels, windows, and tabs, to learn the essentials. Next, you engage yourself with forms, buttons, toolbars and menus to build on further. Dealing with the UI and the trees will follow to help you make stunning user interfaces. Then you will be taught to work with Listview, Views, and Gridpanels, the more complex problems. The book will then deal with charts, visualization, and drag and drop to take you to the next level. Finally, you will wind up with serialization, persistence, and custom theming. Now, you are an expert!

"

Table of Contents

  1. ExtGWT Rich Internet Application Cookbook
    1. Table of Contents
    2. ExtGWT Rich Internet Application Cookbook
    3. Credits
    4. About the Authors
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Playing with Panels and Windows
      1. Introduction
      2. Creating a basic window
        1. How to do it...
        2. How it works...
      3. Building windows that can be maximized, resized, dragged, and made modal
        1. How to do it...
        2. How it works...
        3. There's more...
      4. Creating dialog windows
        1. How to do it...
        2. How it works...
      5. Pre-empt users with messages
        1. How to do it...
        2. How it works...
      6. Building a window management system
        1. How to do it...
        2. How it works...
    9. 2. Playing Hide and Seek with Tabs
      1. Introduction
      2. Building tabbed content with custom tab icons
        1. How to do it...
        2. How it works...
      3. Creating bottom navigation tabs
        1. How to do it...
        2. How it works...
      4. Creating a tab panel with scrollable tab strip
        1. How to do it...
        2. How it works...
      5. Programmatically adding/removing a tab
        1. How to do it...
        2. How it works...
      6. Tab notification
        1. How to do it...
        2. How it works...
      7. Searching for, locating, and selecting a particular tab
        1. How to do it...
        2. How it works...
      8. Showing a tab strip for only two or more tabs
        1. How to do it...
        2. How it works...
    10. 3. Click-ware: Buttons, Toolbars, and Menus
      1. Introduction
      2. Creating buttons with text and icons
        1. How to do it...
        2. How it works...
        3. There's more...
      3. Aligning buttons
        1. How to do it...
        2. How it works...
      4. Creating on/off toggle buttons
        1. How to do it...
        2. How it works...
      5. Organizing actions with the menu and split buttons
        1. How to do it...
        2. How it works...
      6. Building a bar of tools
        1. How to do it...
        2. How it works...
        3. There's more...
      7. Crafting multi-column buttons in ToolBar
        1. How to do it...
        2. How it works...
      8. Binding a single action to several click-wares
        1. How to do it...
        2. How it works...
        3. There's more...
    11. 4. Crafting UI Real Estate
      1. Introduction
      2. Organizing navigation with AccordionLayout
        1. How to do it...
        2. How it works...
        3. There's more...
      3. Snapping components even when resized
        1. How to do it...
        2. How it works...
      4. UI cardinality with BorderLayout
        1. How to do it...
        2. How it works...
      5. Building a basic wizard with CardLayout
        1. How to do it...
        2. How it works...
      6. RowLayout vertical and horizontal aligning
        1. How to do it...
        2. How it works...
      7. Building grids with ColumnLayout
        1. How to do it...
        2. How it works...
      8. Building DashBoards
        1. How to do it...
        2. How it works...
    12. 5. Engaging Users with Forms and Data Input
      1. Introduction
      2. Building a simple form with basic validation
        1. How to do it...
        2. How it works...
      3. Showing options with combos
        1. How to do it...
        2. How it works...
      4. Customizing a combo's bound model
        1. How to do it...
        2. How it works...
      5. Linking combos
        1. How to do it...
        2. How it works...
      6. Capturing multiple input selection
        1. How to do it...
        2. How it works...
        3. There's more...
      7. Simple FileUpload and processing
        1. How to do it...
        2. How it works...
      8. Binding data into forms
        1. How to do it...
        2. How it works...
      9. Building a better slider field
        1. How to do it...
        2. How it works...
        3. There's more...
    13. 6. Data Hierarchy with Trees
      1. Introduction
      2. Building a basic tree
        1. How to do it...
        2. How it works...
      3. Custom node labels
        1. How to do it...
        2. How it works...
      4. Decorating trees with icons
        1. How to do it...
        2. How it works...
      5. Augmenting trees with ContextMenu
        1. How to do it...
        2. How it works...
      6. Building trees with checkbox selection
        1. How to do it...
        2. How it works...
      7. Building asynchronous trees
        1. How to do it...
        2. How it works...
      8. Custom sorting within trees
        1. How to do it...
        2. How it works...
    14. 7. The Venerable Grid Component
      1. Introduction
      2. Basic grid: numbered rows, re-orderable columns
        1. How to do it...
        2. How it works...
      3. Formatting cell data
        1. How to do it...
        2. How it works...
      4. Grouping column headers
        1. How to do it...
        2. How it works...
      5. Aggregating column data
        1. How to do it...
        2. How it works...
      6. Easy record selection with checkboxes
        1. How to do it...
        2. How it works...
      7. Entering validated data into a grid
        1. How to do it...
        2. How it works...
      8. Automatic pagination in grids
        1. How to do it...
        2. How it works...
        3. There's more...
      9. Data grouping in grids
        1. How to do it...
        2. How it works...
      10. Custom rendering for grid groups
        1. How to do it...
        2. How it works...
      11. Live data group summaries
        1. How to do it...
        2. How it works...
      12. BeanModel grid
        1. How to do it...
        2. How it works...
      13. Intuitive record filtering
        1. How to do it...
        2. How it works...
        3. There's more...
    15. 8. Templates and Views
      1. Introduction
      2. Formatting data with a basic template
        1. How to do it...
        2. How it works...
      3. Doing logic in templates
        1. How to do it...
        2. How it works...
      4. Doing math in templates
        1. How to do it...
        2. How it works...
      5. Custom ComboBox displays
        1. How to do it...
        2. How it works...
      6. Giving details with RowExpander
        1. How to do it...
        2. How it works...
    16. 9. Data Makeovers with Charts and Visualizations
      1. Introduction
      2. Using a bar chart
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      3. Using a pie chart
        1. How to do it...
        2. How it works...
      4. Using a line chart
        1. How to do it...
        2. How it works...
        3. There's more...
      5. Using an area chart
        1. How to do it...
        2. How it works...
      6. Visualizing data from a component
        1. How to do it...
        2. How it works...
      7. Visualizing remote Data
        1. Getting ready
        2. How to do it...
        3. How it works...
      8. Drawing on a canvas
        1. How to do it...
        2. How it works...
    17. 10. Drag-and-drop
      1. Introduction
      2. Dragging any component
        1. How to do it...
        2. How it works...
      3. Simple DnD within components
        1. How to do it...
          1. How it works...
          2. See also
      4. DnD across components
        1. How to do it...
          1. How it works...
      5. DnD from desktop, with HTML5
        1. Getting ready
        2. How to do it...
        3. How it works...
      6. Implementing custom DnD on tabs
        1. How to do it...
        2. How it works...
    18. 11. Advanced Tips
      1. Introduction
      2. Client/server persistence setup
        1. How to do it...
      3. Client/server persistence
        1. How to do it...
        2. How it works...
        3. There's more...
      4. A novel UI with MVP, actions, and a bus
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      5. History and view transitions
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      6. Real-time server push
        1. How to do it...
        2. How it works...
    19. 12. Theming
      1. Introduction
      2. Setting a default theme
        1. Getting ready
        2. How to do it...
          1. How it works...
          2. There's more...
      3. Registering and using themes
        1. Getting ready
        2. How to do it...
        3. How it works...
      4. Switching themes at runtime
        1. How to do it...
        2. How it works...
      5. Customizing a theme
        1. How to do it...
          1. How it works...
      6. Building a custom theme
        1. How to do it...
          1. How it works...
    20. A. Event Handling — Making Those GUIs Do Something
      1. The event loop
      2. Event handling 101
        1. Control flow of delegation event model
        2. A simple example – button presses
        3. Anonymous inner classes
      3. Summary
    21. B. Custom Icons in GXT
      1. GXT icons
      2. Leveraging icons in the wild
    22. C. GWT-RPC
      1. Components of the GWT RPC mechanism
      2. GWT-RPC development steps
      3. RPC data types
        1. Legal types
      4. A simple example
        1. Define the main service interface
        2. Define the callback version of the service interface
        3. Create the service servlet
        4. Create and use the service proxy
      5. Handling exceptions
        1. Unexpected exceptions
        2. Checked exceptions
      6. Summary
    23. D. Jakarta Commons-FileUpload
      1. Handling uploads
      2. Tracking upload progress
    24. Index