|
||||||||||
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.OMSVGMarkerElement
@TagName(value="marker") public class OMSVGMarkerElement
The OMSVGMarkerElement
interface corresponds
to the marker element.
Field Summary | |
---|---|
static short |
SVG_MARKER_ORIENT_ANGLE
Attribute orient has an angle value. |
static short |
SVG_MARKER_ORIENT_AUTO
Attribute orient has value 'auto'. |
static short |
SVG_MARKER_ORIENT_UNKNOWN
The marker orientation is not one of predefined types. |
static short |
SVG_MARKERUNITS_STROKEWIDTH
The value of attribute getMarkerUnits()
is 'strokeWidth'. |
static short |
SVG_MARKERUNITS_UNKNOWN
The marker unit type is not one of predefined types. |
static short |
SVG_MARKERUNITS_USERSPACEONUSE
The value of attribute getMarkerUnits()
is 'userSpaceOnUse'. |
Fields inherited from class org.vectomatic.dom.svg.OMNode |
---|
eventBus, ot |
Constructor Summary | |
---|---|
|
OMSVGMarkerElement()
|
protected |
OMSVGMarkerElement(SVGMarkerElement ot)
|
Method Summary | |
---|---|
OMSVGAnimatedBoolean |
getExternalResourcesRequired()
Corresponds to attribute ISVGExternalResourcesRequired.getExternalResourcesRequired()
on the given element. |
OMSVGAnimatedLength |
getMarkerHeight()
Corresponds to attribute getMarkerHeight()
on the given marker element. |
OMSVGAnimatedEnumeration |
getMarkerUnits()
Corresponds to attribute getMarkerUnits()
on the given marker element. |
OMSVGAnimatedLength |
getMarkerWidth()
Corresponds to attribute getMarkerWidth()
on the given marker element. |
OMSVGAnimatedAngle |
getOrientAngle()
Corresponds to attribute orient on the given marker element. |
OMSVGAnimatedEnumeration |
getOrientType()
Corresponds to attribute orient on the given marker element. |
OMSVGAnimatedPreserveAspectRatio |
getPreserveAspectRatio()
Corresponds to attribute ISVGFitToViewBox.getPreserveAspectRatio()
on the given element. |
OMSVGAnimatedLength |
getRefX()
Corresponds to attribute getRefX()
on the given marker element. |
OMSVGAnimatedLength |
getRefY()
Corresponds to attribute getRefY()
on the given marker element. |
OMSVGAnimatedRect |
getViewBox()
Corresponds to attribute ISVGFitToViewBox.getViewBox()
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. |
void |
setOrientToAngle(OMSVGAngle angle)
Sets the value of attribute orient to the given angle. |
void |
setOrientToAuto()
Sets the value of attribute orient to 'auto'. |
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 org.vectomatic.dom.svg.itf.ISVGStylable |
---|
addClassNameBaseVal, getClassName, getStyle, removeClassNameBaseVal, replaceClassNameBaseVal, setClassNameBaseVal |
Field Detail |
---|
public static final short SVG_MARKERUNITS_UNKNOWN
public static final short SVG_MARKERUNITS_USERSPACEONUSE
getMarkerUnits()
is 'userSpaceOnUse'.
public static final short SVG_MARKERUNITS_STROKEWIDTH
getMarkerUnits()
is 'strokeWidth'.
public static final short SVG_MARKER_ORIENT_UNKNOWN
public static final short SVG_MARKER_ORIENT_AUTO
orient
has value 'auto'.
public static final short SVG_MARKER_ORIENT_ANGLE
orient
has an angle value.
Constructor Detail |
---|
public OMSVGMarkerElement()
protected OMSVGMarkerElement(SVGMarkerElement ot)
Method Detail |
---|
public final OMSVGAnimatedLength getRefX()
getRefX()
on the given marker element.
public final OMSVGAnimatedLength getRefY()
getRefY()
on the given marker element.
public final OMSVGAnimatedEnumeration getMarkerUnits()
getMarkerUnits()
on the given marker element. One of the Marker
Unit Types defined on this interface.
public final OMSVGAnimatedLength getMarkerWidth()
getMarkerWidth()
on the given marker element.
public final OMSVGAnimatedLength getMarkerHeight()
getMarkerHeight()
on the given marker element.
public final OMSVGAnimatedEnumeration getOrientType()
orient
on the given marker element. One of the Marker
Orientation Types defined on this interface.
public final OMSVGAnimatedAngle getOrientAngle()
orient
on the given marker element. If getMarkerUnits()
is SVG_MARKER_ORIENT_ANGLE, the angle value for attribute orient
;
otherwise, it will be set to zero.
public final void setOrientToAuto() throws com.google.gwt.core.client.JavaScriptException
orient
to 'auto'.
DOMException(NO_MODIFICATION_ALLOWED_ERR)
- Raised on an attempt
to change the value of a read only
attribute.
com.google.gwt.core.client.JavaScriptException
public final void setOrientToAngle(OMSVGAngle angle) throws com.google.gwt.core.client.JavaScriptException
orient
to the given angle.
angle
- The angle value to use for attribute orient
.
DOMException(NO_MODIFICATION_ALLOWED_ERR)
- Raised on an attempt
to change the value of a read only
attribute.
com.google.gwt.core.client.JavaScriptException
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 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 ISVGLangSpace
DOMException(NO_MODIFICATION_ALLOWED_ERR)
- Raised on an attempt
to change the value of a read only
attribute.
com.google.gwt.core.client.JavaScriptException
public 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 ISVGLangSpace
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 |