com.google.gwt.uibinder.elementparsers
Class DockLayoutPanelParser
java.lang.Object
com.google.gwt.uibinder.elementparsers.DockLayoutPanelParser
- All Implemented Interfaces:
- ElementParser
public class DockLayoutPanelParser
- extends java.lang.Object
- implements ElementParser
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.
Method Summary |
void |
parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer)
Parse the given element, generating the code to initialize it from the
element's attributes and children. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DockLayoutPanelParser
public DockLayoutPanelParser()
parse
public void parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer)
throws UnableToCompleteException
- Description copied from interface:
ElementParser
- Parse the given element, generating the code to initialize it from the
element's attributes and children.
- Specified by:
parse
in interface ElementParser
- Parameters:
elem
- the element to be parsedfieldName
- the name of the widget field to be initializedtype
- TODOwriter
- the writer
- Throws:
UnableToCompleteException
- on error