|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vectomatic.dom.svg.OMNode
org.vectomatic.dom.svg.OMElement
org.vectomatic.dom.svg.OMSVGElement
org.vectomatic.dom.svg.OMSVGUseElement
@TagName(value="use") public class OMSVGUseElement
The OMSVGUseElement interface corresponds
to the use element.
| Field Summary |
|---|
| Fields inherited from class org.vectomatic.dom.svg.OMNode |
|---|
eventBus, ot |
| Constructor Summary | |
|---|---|
|
OMSVGUseElement()
|
protected |
OMSVGUseElement(SVGUseElement 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 |
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)
|
OMSVGElementInstance |
getAnimatedInstanceRoot()
If the xlink:href attribute is being animated, contains the
current animated root of the "instance tree". |
OMSVGRect |
getBBox()
Returns the tight bounding box in current user space (i.e., after application of the transform attribute, if any) on the geometry of all
contained graphics elements, exclusive of stroking, clipping, masking and
filter effects). |
OMSVGMatrix |
getCTM()
Returns the transformation matrix from current user units (i.e., after application of the transform attribute, if any) to the viewport
coordinate system for the ISVGLocatable.getNearestViewportElement(). |
OMSVGAnimatedBoolean |
getExternalResourcesRequired()
Corresponds to attribute ISVGExternalResourcesRequired.getExternalResourcesRequired()
on the given element. |
OMSVGElement |
getFarthestViewportElement()
The farthest ancestor svg element. |
OMSVGAnimatedLength |
getHeight()
Corresponds to attribute getHeight()
on the given use element. |
OMSVGAnimatedString |
getHref()
Corresponds to attribute 'xlink:href' on the given element. |
OMSVGElementInstance |
getInstanceRoot()
The root of the "instance tree". |
OMSVGElement |
getNearestViewportElement()
The element which established the current viewport. |
OMSVGStringList |
getRequiredExtensions()
Corresponds to attribute ISVGTests.getRequiredExtensions()
on the given element. |
OMSVGStringList |
getRequiredFeatures()
Corresponds to attribute ISVGTests.getRequiredFeatures()
on the given element. |
OMSVGMatrix |
getScreenCTM()
Returns the transformation matrix from current user units (i.e., after application of the transform attribute, if any) to the parent
user agent's notice of a "pixel". |
OMSVGStringList |
getSystemLanguage()
Corresponds to attribute ISVGTests.getSystemLanguage()
on the given element. |
OMSVGAnimatedTransformList |
getTransform()
Corresponds to attribute ISVGTransformable.getTransform()
on the given element. |
OMSVGMatrix |
getTransformToElement(OMSVGElement element)
Returns the transformation matrix from the user coordinate system on the current element (after application of the transform attribute,
if any) to the user coordinate system on parameter element (after
application of its transform attribute, if any). |
OMSVGAnimatedLength |
getWidth()
Corresponds to attribute getWidth()
on the given use element. |
OMSVGAnimatedLength |
getX()
Corresponds to attribute getX()
on the given use element. |
String |
getXmllang()
Corresponds to attribute xml:lang on the given element. |
String |
getXmlspace()
Corresponds to attribute xml:space on the given element. |
OMSVGAnimatedLength |
getY()
Corresponds to attribute getY()
on the given use element. |
boolean |
hasExtension(String extension)
Returns true if the user agent supports the given extension, specified by a URI. |
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 |
| Constructor Detail |
|---|
public OMSVGUseElement()
protected OMSVGUseElement(SVGUseElement ot)
| Method Detail |
|---|
public final OMSVGAnimatedLength getX()
getX()
on the given use element.
public final OMSVGAnimatedLength getY()
getY()
on the given use element.
public final OMSVGAnimatedLength getWidth()
getWidth()
on the given use element.
public final OMSVGAnimatedLength getHeight()
getHeight()
on the given use element.
public final OMSVGElementInstance getInstanceRoot()
OMSVGElementInstance
for a discussion on the instance tree.
public final OMSVGElementInstance getAnimatedInstanceRoot()
xlink:href attribute is being animated, contains the
current animated root of the "instance tree". If the xlink:href
attribute is not currently being animated, contains the same value as getInstanceRoot(). See description
of OMSVGElementInstance for a discussion
on the instance tree.
public final OMSVGAnimatedBoolean getExternalResourcesRequired()
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().
getExternalResourcesRequired in interface ISVGExternalResourcesRequiredpublic final String getXmllang()
xml:lang on the given element.
getXmllang in interface ISVGLangSpace
public final void setXmllang(String value)
throws com.google.gwt.core.client.JavaScriptException
xml:lang on the given element.
setXmllang in interface ISVGLangSpaceDOMException(NO_MODIFICATION_ALLOWED_ERR) - Raised on an attempt
to change the value of a read only
attribute.
com.google.gwt.core.client.JavaScriptExceptionpublic final String getXmlspace()
xml:space on the given element.
getXmlspace in interface ISVGLangSpace
public final void setXmlspace(String value)
throws com.google.gwt.core.client.JavaScriptException
xml:space on the given element.
setXmlspace in interface ISVGLangSpaceDOMException(NO_MODIFICATION_ALLOWED_ERR) - Raised on an attempt
to change the value of a read only
attribute.
com.google.gwt.core.client.JavaScriptExceptionpublic final OMSVGElement getNearestViewportElement()
getNearestViewportElement in interface ISVGLocatablepublic final OMSVGElement getFarthestViewportElement()
getFarthestViewportElement in interface ISVGLocatablepublic final OMSVGRect getBBox()
transform attribute, if any) on the geometry of all
contained graphics elements, exclusive of stroking, clipping, masking and
filter effects). Note that getBBox must return the actual bounding box
at the time the method was called, even in case the element has not yet
been rendered.
getBBox in interface ISVGLocatableOMSVGRect object that defines
the bounding box.public final OMSVGMatrix getCTM()
transform attribute, if any) to the viewport
coordinate system for the ISVGLocatable.getNearestViewportElement().
getCTM in interface ISVGLocatableOMSVGMatrix object that defines
the CTM.public final OMSVGMatrix getScreenCTM()
transform attribute, if any) to the parent
user agent's notice of a "pixel". For display devices, ideally this represents
a physical screen pixel. For other devices or environments where physical
pixel sizes are not known, then an algorithm similar to the CSS2 definition
of a "pixel" can be used instead. Note that null is returned if this element
is not hooked into the document tree. This method would have been more
aptly named as getClientCTM, but the name getScreenCTM
is kept for historical reasons.
getScreenCTM in interface ISVGLocatableOMSVGMatrix object that defines
the given transformation matrix.
public final OMSVGMatrix getTransformToElement(OMSVGElement element)
throws com.google.gwt.core.client.JavaScriptException
transform attribute,
if any) to the user coordinate system on parameter element (after
application of its transform attribute, if any).
getTransformToElement in interface ISVGLocatableelement - The target element.
OMSVGMatrix object that defines
the transformation.
SVGException(SVG_MATRIX_NOT_INVERTABLE) - Raised if the currently
defined transformation matrices make it impossible to compute the given
matrix (e.g., because one of the transformations is singular).
com.google.gwt.core.client.JavaScriptExceptionpublic final OMSVGStringList getRequiredFeatures()
ISVGTests.getRequiredFeatures()
on the given element.
getRequiredFeatures in interface ISVGTestspublic final OMSVGStringList getRequiredExtensions()
ISVGTests.getRequiredExtensions()
on the given element.
getRequiredExtensions in interface ISVGTestspublic final OMSVGStringList getSystemLanguage()
ISVGTests.getSystemLanguage()
on the given element.
getSystemLanguage in interface ISVGTestspublic final boolean hasExtension(String extension)
hasExtension in interface ISVGTestsextension - The name of the extension, expressed as a URI.
public final OMSVGAnimatedTransformList getTransform()
ISVGTransformable.getTransform()
on the given element.
getTransform in interface ISVGTransformablepublic final OMSVGAnimatedString getHref()
getHref in interface ISVGURIReferencepublic final com.google.gwt.event.shared.HandlerRegistration addClickHandler(com.google.gwt.event.dom.client.ClickHandler handler)
addClickHandler in interface com.google.gwt.event.dom.client.HasClickHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addLoadHandler(com.google.gwt.event.dom.client.LoadHandler handler)
addLoadHandler in interface com.google.gwt.event.dom.client.HasLoadHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler handler)
addMouseDownHandler in interface com.google.gwt.event.dom.client.HasMouseDownHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler handler)
addMouseMoveHandler in interface com.google.gwt.event.dom.client.HasMouseMoveHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler handler)
addMouseOutHandler in interface com.google.gwt.event.dom.client.HasMouseOutHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler handler)
addMouseOverHandler in interface com.google.gwt.event.dom.client.HasMouseOverHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler handler)
addMouseUpHandler in interface com.google.gwt.event.dom.client.HasMouseUpHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addTouchCancelHandler(com.google.gwt.event.dom.client.TouchCancelHandler handler)
addTouchCancelHandler in interface com.google.gwt.event.dom.client.HasTouchCancelHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addTouchEndHandler(com.google.gwt.event.dom.client.TouchEndHandler handler)
addTouchEndHandler in interface com.google.gwt.event.dom.client.HasTouchEndHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addTouchMoveHandler(com.google.gwt.event.dom.client.TouchMoveHandler handler)
addTouchMoveHandler in interface com.google.gwt.event.dom.client.HasTouchMoveHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addTouchStartHandler(com.google.gwt.event.dom.client.TouchStartHandler handler)
addTouchStartHandler in interface com.google.gwt.event.dom.client.HasTouchStartHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addActivateHandler(ActivateHandler handler)
HasActivateHandlersActivateHandler handler.
addActivateHandler in interface HasActivateHandlershandler - the activate handler
HandlerRegistration used to remove this handlerpublic final com.google.gwt.event.shared.HandlerRegistration addFocusInHandler(FocusInHandler handler)
HasFocusInHandlersFocusInHandler handler.
addFocusInHandler in interface HasFocusInHandlershandler - the focusin handler
HandlerRegistration used to remove this handlerpublic final com.google.gwt.event.shared.HandlerRegistration addFocusOutHandler(FocusOutHandler handler)
HasFocusOutHandlersFocusOutHandler handler.
addFocusOutHandler in interface HasFocusOutHandlershandler - the focusout handler
HandlerRegistration used to remove this handler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||