public class DockLayoutPanelParser extends Object implements ElementParser
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.Constructor and Description |
---|
DockLayoutPanelParser() |
Modifier and Type | Method and Description |
---|---|
void |
parse(XMLElement elem,
String fieldName,
com.google.gwt.core.ext.typeinfo.JClassType type,
UiBinderWriter writer)
Parse the given element, generating the code to initialize it from the
element's attributes and children.
|
public void parse(XMLElement elem, String fieldName, com.google.gwt.core.ext.typeinfo.JClassType type, UiBinderWriter writer) throws com.google.gwt.core.ext.UnableToCompleteException
ElementParser
parse
in interface ElementParser
elem
- the element to be parsedfieldName
- the name of the widget field to be initializedtype
- TODOwriter
- the writercom.google.gwt.core.ext.UnableToCompleteException
- on errorCopyright © 2016. All rights reserved.