|
||||||||||
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.OMSVGViewElement
@TagName(value="view") public class OMSVGViewElement
The OMSVGAElement
interface corresponds
to the view element.
Field Summary |
---|
Fields inherited from class org.vectomatic.dom.svg.OMNode |
---|
eventBus, ot |
Fields inherited from interface org.vectomatic.dom.svg.itf.ISVGZoomAndPan |
---|
SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN |
Constructor Summary | |
---|---|
|
OMSVGViewElement()
|
protected |
OMSVGViewElement(SVGViewElement ot)
|
Method Summary | |
---|---|
OMSVGAnimatedBoolean |
getExternalResourcesRequired()
Corresponds to attribute ISVGExternalResourcesRequired.getExternalResourcesRequired()
on the given element. |
OMSVGAnimatedPreserveAspectRatio |
getPreserveAspectRatio()
Corresponds to attribute ISVGFitToViewBox.getPreserveAspectRatio()
on the given element. |
OMSVGAnimatedRect |
getViewBox()
Corresponds to attribute ISVGFitToViewBox.getViewBox()
on the given element. |
OMSVGStringList |
getViewTarget()
Corresponds to attribute getViewTarget()
on the given view element. |
short |
getZoomAndPan()
Corresponds to attribute ISVGZoomAndPan.getZoomAndPan()
on the given element. |
void |
setZoomAndPan(short value)
Corresponds to attribute ISVGZoomAndPan.getZoomAndPan()
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 |
Constructor Detail |
---|
public OMSVGViewElement()
protected OMSVGViewElement(SVGViewElement ot)
Method Detail |
---|
public final OMSVGStringList getViewTarget()
getViewTarget()
on the given view element. A list of DOMString
values which contain the names listed in the getViewTarget()
attribute. Each of the DOMString values can be associated with the corresponding
element using the getElementById() method call.
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 ISVGExternalResourcesRequired
public final OMSVGAnimatedRect getViewBox()
ISVGFitToViewBox.getViewBox()
on the given element.
getViewBox
in interface ISVGFitToViewBox
public final OMSVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
ISVGFitToViewBox.getPreserveAspectRatio()
on the given element.
getPreserveAspectRatio
in interface ISVGFitToViewBox
public final short getZoomAndPan()
ISVGZoomAndPan.getZoomAndPan()
on the given element. The value must be one of the SVG_ZOOMANDPAN_ constants
defined on this interface.
getZoomAndPan
in interface ISVGZoomAndPan
public final void setZoomAndPan(short value) throws com.google.gwt.core.client.JavaScriptException
ISVGZoomAndPan.getZoomAndPan()
on the given element. The value must be one of the SVG_ZOOMANDPAN_ constants
defined on this interface.
setZoomAndPan
in interface ISVGZoomAndPan
DOMException(NO_MODIFICATION_ALLOWED_ERR)
- Raised on an attempt
to change the value of a read only
attribute.
com.google.gwt.core.client.JavaScriptException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |