Class HasAlignmentParser
java.lang.Object
com.google.gwt.uibinder.elementparsers.HasAlignmentParser
- All Implemented Interfaces:
ElementParser
Parses widgets that inherit from
HasAlignment
.
This class is needed to resolve the parse order of alignment attributes for
these classes.
See
}
for issue details.invalid @link
{@link "http://code.google.com/p/google-web-toolkit/issues/detail?id=5518"
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
parse
(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.
-
Constructor Details
-
HasAlignmentParser
public HasAlignmentParser()
-
-
Method Details
-
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:ElementParser
Parse the given element, generating the code to initialize it from the element's attributes and children.- Specified by:
parse
in interfaceElementParser
- Parameters:
elem
- the element to be parsedfieldName
- the name of the widget field to be initializedtype
- TODOwriter
- the writer- Throws:
UnableToCompleteException
- on error
-