org.vectomatic.dom.svg
Class OMSVGAnimatedEnumeration

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by org.vectomatic.dom.svg.OMSVGAnimatedEnumeration

public class OMSVGAnimatedEnumeration
extends com.google.gwt.core.client.JavaScriptObject

Used for attributes whose value must be a constant from a particular enumeration and which can be animated.


Field Summary
static short SVG_UNIT_TYPE_OBJECTBOUNDINGBOX
          Corresponds to value 'objectBoundingBox'.
static short SVG_UNIT_TYPE_UNKNOWN
          The type is not one of predefined types.
static short SVG_UNIT_TYPE_USERSPACEONUSE
          Corresponds to value 'userSpaceOnUse'.
 
Constructor Summary
protected OMSVGAnimatedEnumeration()
           
 
Method Summary
 short getAnimVal()
          If the given attribute or property is being animated, contains the current animated value of the attribute or property.
 short getBaseVal()
          The base value of the given attribute before applying any animations.
 void setBaseVal(short value)
          The base value of the given attribute before applying any animations.
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SVG_UNIT_TYPE_UNKNOWN

public static final short SVG_UNIT_TYPE_UNKNOWN
The type 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

SVG_UNIT_TYPE_USERSPACEONUSE

public static final short SVG_UNIT_TYPE_USERSPACEONUSE
Corresponds to value 'userSpaceOnUse'.

See Also:
Constant Field Values

SVG_UNIT_TYPE_OBJECTBOUNDINGBOX

public static final short SVG_UNIT_TYPE_OBJECTBOUNDINGBOX
Corresponds to value 'objectBoundingBox'.

See Also:
Constant Field Values
Constructor Detail

OMSVGAnimatedEnumeration

protected OMSVGAnimatedEnumeration()
Method Detail

getBaseVal

public final short getBaseVal()
The base value of the given attribute before applying any animations.


setBaseVal

public final void setBaseVal(short value)
                      throws com.google.gwt.core.client.JavaScriptException
The base value of the given attribute before applying any animations.

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

getAnimVal

public final short getAnimVal()
If the given attribute or property is being animated, contains the current animated value of the attribute or property. If the given attribute or property is not currently being animated, contains the same value as getBaseVal().



Copyright © 2012. All Rights Reserved.