|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.uibinder.elementparsers.DialogBoxParser
public class DialogBoxParser
Parses DialogBox
widgets.
Constructor Summary | |
---|---|
DialogBoxParser()
|
Method Summary | |
---|---|
(package private) void |
handleConstructorArgs(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer,
com.google.gwt.uibinder.rebind.XMLElement customCaption)
If this is DialogBox (not a subclass), parse constructor args and generate the constructor call. |
protected boolean |
isCaption(com.google.gwt.uibinder.rebind.UiBinderWriter writer,
com.google.gwt.uibinder.rebind.XMLElement element)
Determines if the element implements Caption. |
protected boolean |
isCustomWidget(com.google.gwt.uibinder.rebind.UiBinderWriter writer,
JClassType type)
Checks to see if the widget extends DialogBox or is DialogBox proper. |
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 |
Constructor Detail |
---|
public DialogBoxParser()
Method Detail |
---|
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
ElementParser
parse
in interface ElementParser
elem
- the element to be parsedfieldName
- the name of the widget field to be initializedtype
- TODOwriter
- the writer
UnableToCompleteException
- on errorprotected boolean isCaption(com.google.gwt.uibinder.rebind.UiBinderWriter writer, com.google.gwt.uibinder.rebind.XMLElement element) throws UnableToCompleteException
UnableToCompleteException
protected boolean isCustomWidget(com.google.gwt.uibinder.rebind.UiBinderWriter writer, JClassType type)
void handleConstructorArgs(com.google.gwt.uibinder.rebind.XMLElement elem, java.lang.String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer, com.google.gwt.uibinder.rebind.XMLElement customCaption) throws UnableToCompleteException
UnableToCompleteException
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |