Class CellPanelParser
java.lang.Object
com.google.gwt.uibinder.elementparsers.CellPanelParser
- All Implemented Interfaces:
ElementParser
Parses
CellPanel widgets.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidparse(com.google.gwt.uibinder.rebind.XMLElement elem, 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.protected static voidparseCellAttributes(com.google.gwt.uibinder.rebind.XMLElement cellElem, String fieldName, com.google.gwt.uibinder.rebind.FieldWriter childField, com.google.gwt.uibinder.rebind.UiBinderWriter writer) Parses the alignment and size attributes common to all CellPanels.
-
Constructor Details
-
CellPanelParser
public CellPanelParser()
-
-
Method Details
-
parseCellAttributes
protected static void parseCellAttributes(com.google.gwt.uibinder.rebind.XMLElement cellElem, String fieldName, com.google.gwt.uibinder.rebind.FieldWriter childField, com.google.gwt.uibinder.rebind.UiBinderWriter writer) throws UnableToCompleteException Parses the alignment and size attributes common to all CellPanels. This is exposed publicly because there is a DockPanelParser that overrides the default behavior, but still needs to parse these attributes.- Throws:
UnableToCompleteException
-
parse
public void parse(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) throws UnableToCompleteException Description copied from interface:ElementParserParse the given element, generating the code to initialize it from the element's attributes and children.- Specified by:
parsein interfaceElementParser- Parameters:
elem- the element to be parsedfieldName- the name of the widget field to be initializedtype- TODOwriter- the writer- Throws:
UnableToCompleteException- on error
-