public class

DockLayoutPanelParser

extends Object
implements ElementParser
java.lang.Object
   ↳ com.google.gwt.uibinder.elementparsers.DockLayoutPanelParser

Class Overview

Parses DockLayoutPanel widgets. TODO(jgw): The code that explicitly excludes SplitLayoutPanel in a fairly awkward way could be greatly simplified if we hoisted the "dock-ness" into an interface implemented by both DockLayoutPanel and SplitLayoutPanel, and moved most of this code into a parser for that specific interface. This parser would then be reduced to a simple special case for the ctor param.

Summary

Public Constructors
DockLayoutPanelParser()
Public Methods
void parse(XMLElement elem, String fieldName, JClassType type, UiBinderWriter writer)
Parse the given element, generating the code to initialize it from the element's attributes and children.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gwt.uibinder.elementparsers.ElementParser

Public Constructors

public DockLayoutPanelParser ()

Public Methods

public void parse (XMLElement elem, String fieldName, JClassType type, UiBinderWriter writer)

Parse the given element, generating the code to initialize it from the element's attributes and children.

Parameters
elem the element to be parsed
fieldName the name of the widget field to be initialized
type TODO
writer the writer
Throws
UnableToCompleteException