viper.descriptors.attributes
Class Attribute_dvalue
java.lang.Object
viper.descriptors.attributes.AbstractAttribute
viper.descriptors.attributes.Attribute
viper.descriptors.attributes.Attribute_number
viper.descriptors.attributes.Attribute_dvalue
- All Implemented Interfaces:
- java.lang.Cloneable, Filterable
- public class Attribute_dvalue
- extends Attribute_number
- implements java.lang.Cloneable
This attribute represents an integral value.
Method Summary |
java.lang.Object |
clone()
Returns a clone of this Attribute. |
java.lang.String |
getType()
Returns the Attribute type, eg lvalue or bbox . |
boolean |
possibleValueOf(java.lang.String S)
Determines if this Attribute can take the value specified. |
Methods inherited from class viper.descriptors.attributes.Attribute |
compareTo, compose, crop, getCompositionType, getExtraConfig, getStaticValue, getValue, getValues, getValueToString, getXMLFormat, getXMLFormat, isCompositionType, isType, nullXML, nullXML, parseExtraConfig, passes, possibleValueOf, setCompositionType, setDefaultValue, setDefaultValue, setExtraConfig, setFrameSpan, setName, setOutputWidth, setStaticValue, setValue, setValue, setValue, setValue, setValue, toString |
Methods inherited from class viper.descriptors.attributes.AbstractAttribute |
getArchetype, getDefault, getExtraConfigInXML, getExtraConfigString, getName, isDynamic, loadAttributeType, named, named, parseAnInt, resetDefault, setArchetype, setArchetype, setArchetype, setDynamic |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Attribute_dvalue
public Attribute_dvalue()
- Create an empty static integer-valued Attribute.
Attribute_dvalue
public Attribute_dvalue(boolean dynamic)
- Constructs an integer-values attribute.
- Parameters:
dynamic
- if the attribute may take on different values
at different frames
Attribute_dvalue
public Attribute_dvalue(Attribute old)
- Copies the old descriptor.
- Parameters:
old
- the descriptor to copy
getType
public java.lang.String getType()
- Description copied from class:
AbstractAttribute
- Returns the Attribute type, eg
lvalue
or bbox
.
- Overrides:
getType
in class Attribute_number
- Returns:
- "dvalue"
clone
public java.lang.Object clone()
- Description copied from class:
Attribute
- Returns a clone of this Attribute.
- Overrides:
clone
in class Attribute
- Returns:
- a reference to a new Attribute with all the values of the
original
possibleValueOf
public boolean possibleValueOf(java.lang.String S)
- Description copied from class:
Attribute
- Determines if this Attribute can take the value specified. Relations are
not yet supported.
- Overrides:
possibleValueOf
in class Attribute
- Parameters:
S
- the string to be tested
- Returns:
- whether or not the string is valid