org.vectomatic.dev.svg.impl.gen
Class SVGButtonBaseParser
java.lang.Object
org.vectomatic.dev.svg.impl.gen.SVGButtonBaseParser
- All Implemented Interfaces:
- com.google.gwt.uibinder.elementparsers.ElementParser
public class SVGButtonBaseParser
- extends Object
- implements com.google.gwt.uibinder.elementparsers.ElementParser
Method Summary |
void |
parse(XMLElement elem,
String fieldName,
com.google.gwt.core.ext.typeinfo.JClassType type,
UiBinderWriter writer)
|
protected void |
parseFace(XMLElement elem,
UiBinderWriter writer,
String fieldName,
XMLElement childElem,
SVGButtonBase.SVGFaceName faceName)
|
protected void |
parseSvg(XMLElement elem,
UiBinderWriter writer,
String fieldName,
XMLElement childElem)
|
protected boolean |
validate(UiBinderWriter writer,
Element container)
Validates the widget structure |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATTR_RESOURCE
protected static final String ATTR_RESOURCE
- See Also:
- Constant Field Values
ATTR_CLASS_NAME_BASE_VAL
protected static final String ATTR_CLASS_NAME_BASE_VAL
- See Also:
- Constant Field Values
ATTR_CLASS_NAMES
protected static final String ATTR_CLASS_NAMES
- See Also:
- Constant Field Values
ATTR_VALIDATED
protected static final String ATTR_VALIDATED
- See Also:
- Constant Field Values
TAG_ELEMENT
protected static final String TAG_ELEMENT
- See Also:
- Constant Field Values
TAG_UP
protected static final String TAG_UP
- See Also:
- Constant Field Values
TAG_UP_HOVERING
protected static final String TAG_UP_HOVERING
- See Also:
- Constant Field Values
TAG_UP_DISABLED
protected static final String TAG_UP_DISABLED
- See Also:
- Constant Field Values
TAG_DOWN
protected static final String TAG_DOWN
- See Also:
- Constant Field Values
TAG_DOWN_HOVERING
protected static final String TAG_DOWN_HOVERING
- See Also:
- Constant Field Values
TAG_DOWN_DISABLED
protected static final String TAG_DOWN_DISABLED
- See Also:
- Constant Field Values
TAG_STYLE_CHANGE
protected static final String TAG_STYLE_CHANGE
- See Also:
- Constant Field Values
URI_VECTOMATIC
protected static final String URI_VECTOMATIC
- See Also:
- Constant Field Values
SVGButtonBaseParser
public SVGButtonBaseParser()
validate
protected boolean validate(UiBinderWriter writer,
Element container)
throws com.google.gwt.core.ext.UnableToCompleteException
- Validates the widget structure
- Parameters:
writer
- The UiBinder writercontainer
- The SVG widget top-level tag
- Returns:
- true if the container has inline-svg, false otherwise
- Throws:
com.google.gwt.core.ext.UnableToCompleteException
parseFace
protected void parseFace(XMLElement elem,
UiBinderWriter writer,
String fieldName,
XMLElement childElem,
SVGButtonBase.SVGFaceName faceName)
throws com.google.gwt.core.ext.UnableToCompleteException
- Throws:
com.google.gwt.core.ext.UnableToCompleteException
parseSvg
protected void parseSvg(XMLElement elem,
UiBinderWriter writer,
String fieldName,
XMLElement childElem)
throws com.google.gwt.core.ext.UnableToCompleteException
- Throws:
com.google.gwt.core.ext.UnableToCompleteException
parse
public void parse(XMLElement elem,
String fieldName,
com.google.gwt.core.ext.typeinfo.JClassType type,
UiBinderWriter writer)
throws com.google.gwt.core.ext.UnableToCompleteException
- Specified by:
parse
in interface com.google.gwt.uibinder.elementparsers.ElementParser
- Throws:
com.google.gwt.core.ext.UnableToCompleteException
Copyright © 2012. All Rights Reserved.