@DOMObjectAttribute @DOMNameAttribute(name="SVGNumber") public class SVGNumber extends SVGValueType
Used for attributes of basic type number.
flags
PropertyChanged
Constructor and Description |
---|
SVGNumber()
Initializes a new instance of the
SVGNumber class. |
SVGNumber(float value)
Initializes a new instance of the
SVGNumber class. |
Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Creates a new object that is a copy of the current instance.
|
float |
getValue()
The value of the given attribute.
|
void |
setValue(float value)
The value of the given attribute.
|
asReadOnly, dispose, getKey, isDetached, isObserverSuppressed, isReadOnly, notifyPropertyChanged, setDetached, setObserverSuppressed, toString
fireNotifyPropertyChanged, getCurrentValues, getRuntimesBinding, setCurrentValues, setField, setRuntimesBinding
public SVGNumber()
Initializes a new instance of the SVGNumber
class.
public SVGNumber(float value)
Initializes a new instance of the SVGNumber
class.
value
- The value.@DOMNameAttribute(name="value") public float getValue()
The value of the given attribute.
DOMException
- Code DOMException.NO_MODIFICATION_ALLOWED_ERR
.
Raised on an attempt to change the value of a read only attribute.
Value:
The value.@DOMNameAttribute(name="value") public void setValue(float value)
The value of the given attribute.
DOMException
- Code DOMException.NO_MODIFICATION_ALLOWED_ERR
.
Raised on an attempt to change the value of a read only attribute.
Value:
The value.public Object deepClone()
Creates a new object that is a copy of the current instance.
deepClone
in class SVGValueType