org.vectomatic.dom.svg
Class OMSVGTextContentElement

java.lang.Object
  extended by org.vectomatic.dom.svg.OMNode
      extended by org.vectomatic.dom.svg.OMElement
          extended by org.vectomatic.dom.svg.OMSVGElement
              extended by org.vectomatic.dom.svg.OMSVGTextContentElement
All Implemented Interfaces:
com.google.gwt.event.dom.client.HasAllDragAndDropHandlers, com.google.gwt.event.dom.client.HasAllTouchHandlers, com.google.gwt.event.dom.client.HasClickHandlers, com.google.gwt.event.dom.client.HasDragEndHandlers, com.google.gwt.event.dom.client.HasDragEnterHandlers, com.google.gwt.event.dom.client.HasDragHandlers, com.google.gwt.event.dom.client.HasDragLeaveHandlers, com.google.gwt.event.dom.client.HasDragOverHandlers, com.google.gwt.event.dom.client.HasDragStartHandlers, com.google.gwt.event.dom.client.HasDropHandlers, com.google.gwt.event.dom.client.HasLoadHandlers, com.google.gwt.event.dom.client.HasMouseDownHandlers, com.google.gwt.event.dom.client.HasMouseMoveHandlers, com.google.gwt.event.dom.client.HasMouseOutHandlers, com.google.gwt.event.dom.client.HasMouseOverHandlers, com.google.gwt.event.dom.client.HasMouseUpHandlers, com.google.gwt.event.dom.client.HasTouchCancelHandlers, com.google.gwt.event.dom.client.HasTouchEndHandlers, com.google.gwt.event.dom.client.HasTouchMoveHandlers, com.google.gwt.event.dom.client.HasTouchStartHandlers, com.google.gwt.event.shared.HasHandlers, HasActivateHandlers, HasFocusInHandlers, HasFocusOutHandlers, HasGraphicalHandlers, ISVGExternalResourcesRequired, ISVGLangSpace, ISVGStylable, ISVGTests
Direct Known Subclasses:
OMSVGTextPathElement, OMSVGTextPositioningElement

public abstract class OMSVGTextContentElement
extends OMSVGElement
implements HasGraphicalHandlers, ISVGTests, ISVGLangSpace, ISVGExternalResourcesRequired, ISVGStylable

The OMSVGTextContentElement is inherited by various text-related interfaces, such as OMSVGTextElement, OMSVGTSpanElement, OMSVGTRefElement, OMSVGAltGlyphElement and OMSVGTextPathElement.

For the methods on this interface that refer to an index to a character or a number of characters, these references are to be interpreted as an index to a UTF-16 code unit or a number of UTF-16 code units, respectively. This is for consistency with DOM Level 2 Core, where methods on the CharacterData interface use UTF-16 code units as indexes and counts within the character data. Thus for example, if the text content of a text element is a single non-BMP character, such as U+10000, then invoking getNumberOfChars() on that element will return 2 since there are two UTF-16 code units (the surrogate pair) used to represent that one character.


Field Summary
static short LENGTHADJUST_SPACING
          Corresponds to value 'spacing'.
static short LENGTHADJUST_SPACINGANDGLYPHS
          Corresponds to value 'spacingAndGlyphs'.
static short LENGTHADJUST_UNKNOWN
          The enumeration was set to a value that is not one of predefined types.
 
Fields inherited from class org.vectomatic.dom.svg.OMNode
eventBus, ot
 
Constructor Summary
protected OMSVGTextContentElement(SVGTextContentElement ot)
           
 
Method Summary
 com.google.gwt.event.shared.HandlerRegistration addActivateHandler(ActivateHandler handler)
          Adds a ActivateHandler handler.
 com.google.gwt.event.shared.HandlerRegistration addClickHandler(com.google.gwt.event.dom.client.ClickHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addDragEndHandler(com.google.gwt.event.dom.client.DragEndHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addDragEnterHandler(com.google.gwt.event.dom.client.DragEnterHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addDragHandler(com.google.gwt.event.dom.client.DragHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addDragLeaveHandler(com.google.gwt.event.dom.client.DragLeaveHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addDragOverHandler(com.google.gwt.event.dom.client.DragOverHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addDragStartHandler(com.google.gwt.event.dom.client.DragStartHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addDropHandler(com.google.gwt.event.dom.client.DropHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addFocusInHandler(FocusInHandler handler)
          Adds a FocusInHandler handler.
 com.google.gwt.event.shared.HandlerRegistration addFocusOutHandler(FocusOutHandler handler)
          Adds a FocusOutHandler handler.
 com.google.gwt.event.shared.HandlerRegistration addLoadHandler(com.google.gwt.event.dom.client.LoadHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addTouchCancelHandler(com.google.gwt.event.dom.client.TouchCancelHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addTouchEndHandler(com.google.gwt.event.dom.client.TouchEndHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addTouchMoveHandler(com.google.gwt.event.dom.client.TouchMoveHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addTouchStartHandler(com.google.gwt.event.dom.client.TouchStartHandler handler)
           
 int getCharNumAtPosition(OMSVGPoint point)
          Returns the index of the character whose corresponding glyph cell bounding box contains the specified point.
 float getComputedTextLength()
          The total sum of all of the advance values from rendering all of the characters within this element, including the advance value on the glyphs (horizontal or vertical), the effect of properties kerning, letter-spacing and word-spacing and adjustments due to attributes tspan/dx and tspan/dy on tspan elements.
 OMSVGPoint getEndPositionOfChar(int charnum)
          Returns the current text position after rendering the character in the user coordinate system for rendering the glyph(s) that correspond to the specified character.
 OMSVGRect getExtentOfChar(int charnum)
          Returns a tightest rectangle which defines the minimum and maximum X and Y values in the user coordinate system for rendering the glyph(s) that correspond to the specified character.
 OMSVGAnimatedBoolean getExternalResourcesRequired()
          Corresponds to attribute ISVGExternalResourcesRequired.getExternalResourcesRequired() on the given element.
 OMSVGAnimatedEnumeration getLengthAdjust()
          Corresponds to attribute 'lengthAdjust' on the given element.
 int getNumberOfChars()
          Returns the total number of characters available for rendering within the current element, which includes referenced characters from tref reference, regardless of whether they will be rendered.
 OMSVGStringList getRequiredExtensions()
          Corresponds to attribute ISVGTests.getRequiredExtensions() on the given element.
 OMSVGStringList getRequiredFeatures()
          Corresponds to attribute ISVGTests.getRequiredFeatures() on the given element.
 float getRotationOfChar(int charnum)
          Returns the rotation value relative to the current user coordinate system used to render the glyph(s) corresponding to the specified character.
 OMSVGPoint getStartPositionOfChar(int charnum)
          Returns the current text position before rendering the character in the user coordinate system for rendering the glyph(s) that correspond to the specified character.
 float getSubStringLength(int charnum, int nchars)
          The total sum of all of the advance values from rendering the specified substring of the characters, including the advance value on the glyphs (horizontal or vertical), the effect of properties kerning, letter-spacing and word-spacing and adjustments due to attributes tspan/dx and tspan/dy on tspan elements.
 OMSVGStringList getSystemLanguage()
          Corresponds to attribute ISVGTests.getSystemLanguage() on the given element.
 OMSVGAnimatedLength getTextLength()
          Corresponds to attribute 'textLength' on the given element.
 String getXmllang()
          Corresponds to attribute xml:lang on the given element.
 String getXmlspace()
          Corresponds to attribute xml:space on the given element.
 boolean hasExtension(String extension)
          Returns true if the user agent supports the given extension, specified by a URI.
 void selectSubString(int charnum, int nchars)
          Causes the specified substring to be selected just as if the user selected the substring interactively.
 void setXmllang(String value)
          Corresponds to attribute xml:lang on the given element.
 void setXmlspace(String value)
          Corresponds to attribute xml:space on the given element.
 
Methods inherited from class org.vectomatic.dom.svg.OMSVGElement
addClassNameBaseVal, getClassName, getMarkup, getOwnerSVGElement, getStyle, getViewportElement, getXmlbase, removeClassNameBaseVal, replaceClassNameBaseVal, setClassNameBaseVal, setId, setXmlbase
 
Methods inherited from class org.vectomatic.dom.svg.OMElement
getAttribute, getAttributeNode, getAttributeNS, getAttributes, getElement, getElementsByTagName, getElementsByTagNameNS, getId, getTagName, hasAttribute, hasAttributeNS, removeAttribute, setAttribute, setAttributeNode, setAttributeNS
 
Methods inherited from class org.vectomatic.dom.svg.OMNode
addDomHandler, addHandler, appendChild, cleanup, cloneNode, convert, convertList, dispatch, fireEvent, getChildNodes, getEventBus, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, hasChildNodes, insertBefore, normalize, removeChild, replaceChild, setNodeValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 
Methods inherited from interface org.vectomatic.dom.svg.itf.ISVGStylable
addClassNameBaseVal, getClassName, getStyle, removeClassNameBaseVal, replaceClassNameBaseVal, setClassNameBaseVal
 

Field Detail

LENGTHADJUST_UNKNOWN

public static final short LENGTHADJUST_UNKNOWN
The enumeration was set to a value that is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.

See Also:
Constant Field Values

LENGTHADJUST_SPACING

public static final short LENGTHADJUST_SPACING
Corresponds to value 'spacing'.

See Also:
Constant Field Values

LENGTHADJUST_SPACINGANDGLYPHS

public static final short LENGTHADJUST_SPACINGANDGLYPHS
Corresponds to value 'spacingAndGlyphs'.

See Also:
Constant Field Values
Constructor Detail

OMSVGTextContentElement

protected OMSVGTextContentElement(SVGTextContentElement ot)
Method Detail

getTextLength

public final OMSVGAnimatedLength getTextLength()
Corresponds to attribute 'textLength' on the given element.


getLengthAdjust

public final OMSVGAnimatedEnumeration getLengthAdjust()
Corresponds to attribute 'lengthAdjust' on the given element. The value must be one of the length adjust constants defined on this interface.


getNumberOfChars

public final int getNumberOfChars()
Returns the total number of characters available for rendering within the current element, which includes referenced characters from tref reference, regardless of whether they will be rendered. Effectively, this is equivalent to the length of the Node::textContent attribute from DOM Level 3 Core ([DOM3], section 1.4), if that attribute also expanded tref elements.

Returns:
Total number of characters.

getComputedTextLength

public final float getComputedTextLength()
The total sum of all of the advance values from rendering all of the characters within this element, including the advance value on the glyphs (horizontal or vertical), the effect of properties kerning, letter-spacing and word-spacing and adjustments due to attributes tspan/dx and tspan/dy on tspan elements. For non-rendering environments, the user agent shall make reasonable assumptions about glyph metrics.

Returns:
The text advance distance.

getSubStringLength

public final float getSubStringLength(int charnum,
                                      int nchars)
                               throws com.google.gwt.core.client.JavaScriptException
The total sum of all of the advance values from rendering the specified substring of the characters, including the advance value on the glyphs (horizontal or vertical), the effect of properties kerning, letter-spacing and word-spacing and adjustments due to attributes tspan/dx and tspan/dy on tspan elements. For non-rendering environments, the user agent shall make reasonable assumptions about glyph metrics. If multiple consecutive characters are rendered inseparably (e.g., as a single glyph or a sequence of glyphs, or because the range encompasses half of a surrogate pair), and nchars is greater than 0 then the measured range shall be expanded so that each of the inseparable characters are included.

Parameters:
charnum - The index of the first character in the substring, where the first character has an index of 0.
nchars - The number of characters in the substring. If nchars specifies more characters than are available, then the substring will consist of all characters starting with charnum until the end of the list of characters.
Returns:
The text advance distance.
Throws:
DOMException(INDEX_SIZE_ERR) - Raised if charnum or nchars is negative or if charnum is greater than or equal to the number of characters at this node.
com.google.gwt.core.client.JavaScriptException

getStartPositionOfChar

public final OMSVGPoint getStartPositionOfChar(int charnum)
                                        throws com.google.gwt.core.client.JavaScriptException
Returns the current text position before rendering the character in the user coordinate system for rendering the glyph(s) that correspond to the specified character. The current text position has already taken into account the effects of any inter-character adjustments due to properties kerning, letter-spacing and word-spacing and adjustments due to attributes 'x', 'y', 'dx' and 'dy'. If multiple consecutive characters are rendered inseparably (e.g., as a single glyph or a sequence of glyphs), then each of the inseparable characters will return the start position for the first glyph.

Parameters:
charnum - The index of the character, where the first character has an index of 0.
Returns:
The character's start position.
Throws:
DOMException(INDEX_SIZE_ERR) - Raised if the charnum is negative or if charnum is greater than or equal to the number of characters at this node.
com.google.gwt.core.client.JavaScriptException

getEndPositionOfChar

public final OMSVGPoint getEndPositionOfChar(int charnum)
                                      throws com.google.gwt.core.client.JavaScriptException
Returns the current text position after rendering the character in the user coordinate system for rendering the glyph(s) that correspond to the specified character. This current text position does not take into account the effects of any inter-character adjustments to prepare for the next character, such as properties kerning, letter-spacing and word-spacing and adjustments due to attributes 'x', 'y', 'dx' and 'dy'. If multiple consecutive characters are rendered inseparably (e.g., as a single glyph or a sequence of glyphs), then each of the inseparable characters will return the end position for the last glyph.

Parameters:
charnum - The index of the character, where the first character has an index of 0.
Returns:
The character's end position.
Throws:
DOMException(INDEX_SIZE_ERR) - Raised if the charnum is negative or if charnum is greater than or equal to the number of characters at this node.
com.google.gwt.core.client.JavaScriptException

getExtentOfChar

public final OMSVGRect getExtentOfChar(int charnum)
                                throws com.google.gwt.core.client.JavaScriptException
Returns a tightest rectangle which defines the minimum and maximum X and Y values in the user coordinate system for rendering the glyph(s) that correspond to the specified character. The calculations assume that all glyphs occupy the full standard glyph cell for the font. If multiple consecutive characters are rendered inseparably (e.g., as a single glyph or a sequence of glyphs), then each of the inseparable characters will return the same extent.

Parameters:
charnum - The index of the character, where the first character has an index of 0.
Returns:
The rectangle which encloses all of the rendered glyph(s).
Throws:
DOMException(INDEX_SIZE_ERR) - Raised if the charnum is negative or if charnum is greater than or equal to the number of characters at this node.
com.google.gwt.core.client.JavaScriptException

getRotationOfChar

public final float getRotationOfChar(int charnum)
                              throws com.google.gwt.core.client.JavaScriptException
Returns the rotation value relative to the current user coordinate system used to render the glyph(s) corresponding to the specified character. If multiple glyph(s) are used to render the given character and the glyphs each have different rotations (e.g., due to text-on-a-path), the user agent shall return an average value (e.g., the rotation angle at the midpoint along the path for all glyphs used to render this character). The rotation value represents the rotation that is supplemental to any rotation due to properties glyph-orientation-horizontal and glyph-orientation-vertical; thus, any glyph rotations due to these properties are not included into the returned rotation value. If multiple consecutive characters are rendered inseparably (e.g., as a single glyph or a sequence of glyphs), then each of the inseparable characters will return the same rotation value.

Parameters:
charnum - The index of the character, where the first character has an index of 0.
Returns:
The rotation angle.
Throws:
DOMException(INDEX_SIZE_ERR) - Raised if the charnum is negative or if charnum is greater than or equal to the number of characters at this node.
com.google.gwt.core.client.JavaScriptException

getCharNumAtPosition

public final int getCharNumAtPosition(OMSVGPoint point)
Returns the index of the character whose corresponding glyph cell bounding box contains the specified point. The calculations assume that all glyphs occupy the full standard glyph cell for the font. If no such character exists, a value of -1 is returned. If multiple such characters exist, the character within the element whose glyphs were rendered last (i.e., take into account any reordering such as for bidirectional text) is used. If multiple consecutive characters are rendered inseparably (e.g., as a single glyph or a sequence of glyphs), then the user agent shall allocate an equal percentage of the text advance amount to each of the contributing characters in determining which of the characters is chosen.

Parameters:
point - A point in user space.
Returns:
The index of the character which is at the given point, where the first character has an index of 0.

selectSubString

public final void selectSubString(int charnum,
                                  int nchars)
                           throws com.google.gwt.core.client.JavaScriptException
Causes the specified substring to be selected just as if the user selected the substring interactively.

Parameters:
charnum - The index of the start character which is at the given point, where the first character has an index of 0.
nchars - The number of characters in the substring. If nchars specifies more characters than are available, then the substring will consist of all characters starting with charnum until the end of the list of characters.
Throws:
DOMException(INDEX_SIZE_ERR) - Raised if charnum or nchars is negative or if charnum is greater than or equal to the number of characters at this node.
com.google.gwt.core.client.JavaScriptException

getExternalResourcesRequired

public final OMSVGAnimatedBoolean getExternalResourcesRequired()
Corresponds to attribute ISVGExternalResourcesRequired.getExternalResourcesRequired() on the given element. Note that the SVG DOM defines the attribute ISVGExternalResourcesRequired.getExternalResourcesRequired() as being of type OMSVGAnimatedBoolean, whereas the SVG language definition says that ISVGExternalResourcesRequired.getExternalResourcesRequired() is not animated. Because the SVG language definition states that ISVGExternalResourcesRequired.getExternalResourcesRequired() cannot be animated, the OMSVGAnimatedBoolean.getAnimVal() will always be the same as the OMSVGAnimatedBoolean.getBaseVal().

Specified by:
getExternalResourcesRequired in interface ISVGExternalResourcesRequired

getXmllang

public final String getXmllang()
Corresponds to attribute xml:lang on the given element.

Specified by:
getXmllang in interface ISVGLangSpace

setXmllang

public final void setXmllang(String value)
                      throws com.google.gwt.core.client.JavaScriptException
Corresponds to attribute xml:lang on the given element.

Specified by:
setXmllang in interface ISVGLangSpace
Throws:
DOMException(NO_MODIFICATION_ALLOWED_ERR) - Raised on an attempt to change the value of a read only attribute.
com.google.gwt.core.client.JavaScriptException

getXmlspace

public final String getXmlspace()
Corresponds to attribute xml:space on the given element.

Specified by:
getXmlspace in interface ISVGLangSpace

setXmlspace

public final void setXmlspace(String value)
                       throws com.google.gwt.core.client.JavaScriptException
Corresponds to attribute xml:space on the given element.

Specified by:
setXmlspace in interface ISVGLangSpace
Throws:
DOMException(NO_MODIFICATION_ALLOWED_ERR) - Raised on an attempt to change the value of a read only attribute.
com.google.gwt.core.client.JavaScriptException

getRequiredFeatures

public final OMSVGStringList getRequiredFeatures()
Corresponds to attribute ISVGTests.getRequiredFeatures() on the given element.

Specified by:
getRequiredFeatures in interface ISVGTests

getRequiredExtensions

public final OMSVGStringList getRequiredExtensions()
Corresponds to attribute ISVGTests.getRequiredExtensions() on the given element.

Specified by:
getRequiredExtensions in interface ISVGTests

getSystemLanguage

public final OMSVGStringList getSystemLanguage()
Corresponds to attribute ISVGTests.getSystemLanguage() on the given element.

Specified by:
getSystemLanguage in interface ISVGTests

hasExtension

public final boolean hasExtension(String extension)
Returns true if the user agent supports the given extension, specified by a URI.

Specified by:
hasExtension in interface ISVGTests
Parameters:
extension - The name of the extension, expressed as a URI.
Returns:
True or false, depending on whether the given extension is supported.

addClickHandler

public final com.google.gwt.event.shared.HandlerRegistration addClickHandler(com.google.gwt.event.dom.client.ClickHandler handler)
Specified by:
addClickHandler in interface com.google.gwt.event.dom.client.HasClickHandlers

addDragEndHandler

public final com.google.gwt.event.shared.HandlerRegistration addDragEndHandler(com.google.gwt.event.dom.client.DragEndHandler handler)
Specified by:
addDragEndHandler in interface com.google.gwt.event.dom.client.HasDragEndHandlers

addDragEnterHandler

public final com.google.gwt.event.shared.HandlerRegistration addDragEnterHandler(com.google.gwt.event.dom.client.DragEnterHandler handler)
Specified by:
addDragEnterHandler in interface com.google.gwt.event.dom.client.HasDragEnterHandlers

addDragHandler

public final com.google.gwt.event.shared.HandlerRegistration addDragHandler(com.google.gwt.event.dom.client.DragHandler handler)
Specified by:
addDragHandler in interface com.google.gwt.event.dom.client.HasDragHandlers

addDragLeaveHandler

public final com.google.gwt.event.shared.HandlerRegistration addDragLeaveHandler(com.google.gwt.event.dom.client.DragLeaveHandler handler)
Specified by:
addDragLeaveHandler in interface com.google.gwt.event.dom.client.HasDragLeaveHandlers

addDragOverHandler

public final com.google.gwt.event.shared.HandlerRegistration addDragOverHandler(com.google.gwt.event.dom.client.DragOverHandler handler)
Specified by:
addDragOverHandler in interface com.google.gwt.event.dom.client.HasDragOverHandlers

addDragStartHandler

public final com.google.gwt.event.shared.HandlerRegistration addDragStartHandler(com.google.gwt.event.dom.client.DragStartHandler handler)
Specified by:
addDragStartHandler in interface com.google.gwt.event.dom.client.HasDragStartHandlers

addDropHandler

public final com.google.gwt.event.shared.HandlerRegistration addDropHandler(com.google.gwt.event.dom.client.DropHandler handler)
Specified by:
addDropHandler in interface com.google.gwt.event.dom.client.HasDropHandlers

addLoadHandler

public final com.google.gwt.event.shared.HandlerRegistration addLoadHandler(com.google.gwt.event.dom.client.LoadHandler handler)
Specified by:
addLoadHandler in interface com.google.gwt.event.dom.client.HasLoadHandlers

addMouseDownHandler

public final com.google.gwt.event.shared.HandlerRegistration addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler handler)
Specified by:
addMouseDownHandler in interface com.google.gwt.event.dom.client.HasMouseDownHandlers

addMouseMoveHandler

public final com.google.gwt.event.shared.HandlerRegistration addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler handler)
Specified by:
addMouseMoveHandler in interface com.google.gwt.event.dom.client.HasMouseMoveHandlers

addMouseOutHandler

public final com.google.gwt.event.shared.HandlerRegistration addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler handler)
Specified by:
addMouseOutHandler in interface com.google.gwt.event.dom.client.HasMouseOutHandlers

addMouseOverHandler

public final com.google.gwt.event.shared.HandlerRegistration addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler handler)
Specified by:
addMouseOverHandler in interface com.google.gwt.event.dom.client.HasMouseOverHandlers

addMouseUpHandler

public final com.google.gwt.event.shared.HandlerRegistration addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler handler)
Specified by:
addMouseUpHandler in interface com.google.gwt.event.dom.client.HasMouseUpHandlers

addTouchCancelHandler

public final com.google.gwt.event.shared.HandlerRegistration addTouchCancelHandler(com.google.gwt.event.dom.client.TouchCancelHandler handler)
Specified by:
addTouchCancelHandler in interface com.google.gwt.event.dom.client.HasTouchCancelHandlers

addTouchEndHandler

public final com.google.gwt.event.shared.HandlerRegistration addTouchEndHandler(com.google.gwt.event.dom.client.TouchEndHandler handler)
Specified by:
addTouchEndHandler in interface com.google.gwt.event.dom.client.HasTouchEndHandlers

addTouchMoveHandler

public final com.google.gwt.event.shared.HandlerRegistration addTouchMoveHandler(com.google.gwt.event.dom.client.TouchMoveHandler handler)
Specified by:
addTouchMoveHandler in interface com.google.gwt.event.dom.client.HasTouchMoveHandlers

addTouchStartHandler

public final com.google.gwt.event.shared.HandlerRegistration addTouchStartHandler(com.google.gwt.event.dom.client.TouchStartHandler handler)
Specified by:
addTouchStartHandler in interface com.google.gwt.event.dom.client.HasTouchStartHandlers

addActivateHandler

public final com.google.gwt.event.shared.HandlerRegistration addActivateHandler(ActivateHandler handler)
Description copied from interface: HasActivateHandlers
Adds a ActivateHandler handler.

Specified by:
addActivateHandler in interface HasActivateHandlers
Parameters:
handler - the activate handler
Returns:
HandlerRegistration used to remove this handler

addFocusInHandler

public final com.google.gwt.event.shared.HandlerRegistration addFocusInHandler(FocusInHandler handler)
Description copied from interface: HasFocusInHandlers
Adds a FocusInHandler handler.

Specified by:
addFocusInHandler in interface HasFocusInHandlers
Parameters:
handler - the focusin handler
Returns:
HandlerRegistration used to remove this handler

addFocusOutHandler

public final com.google.gwt.event.shared.HandlerRegistration addFocusOutHandler(FocusOutHandler handler)
Description copied from interface: HasFocusOutHandlers
Adds a FocusOutHandler handler.

Specified by:
addFocusOutHandler in interface HasFocusOutHandlers
Parameters:
handler - the focusout handler
Returns:
HandlerRegistration used to remove this handler


Copyright © 2012. All Rights Reserved.