|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object viper.descriptors.attributes.AbstractAttribute viper.descriptors.attributes.Attribute viper.descriptors.attributes.Attribute_circle
This attribute represents a circle. It has the form (center) (radius), where
center is two integers, the x-coord and the y-coord. For example, a circle
located 10 units above the origin and 20 units to the right with a radius of
3 would be represented as 10 20 3
.
Nested Class Summary | |
protected static class |
Attribute_circle.CircleValue
|
Nested classes inherited from class viper.filters.Filterable |
Filterable.Rule |
Field Summary |
Fields inherited from class viper.descriptors.attributes.Attribute |
composition, compositionTolerance, compositionType, errors, value |
Constructor Summary | |
Attribute_circle()
Constructs a new static circle-valued attribute. |
|
Attribute_circle(Attribute old)
Copies the old attribute |
|
Attribute_circle(boolean dynamic)
Constructs a new circle-valued attribute. |
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, convertRule, crop, getCompositionType, getExtraConfig, getStaticValue, getValue, getValues, getValueToString, getXMLFormat, getXMLFormat, isCompositionType, isType, isValidRule, 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 |
Constructor Detail |
public Attribute_circle()
public Attribute_circle(boolean dynamic)
dynamic
- if the circle is dynamicpublic Attribute_circle(Attribute old)
old
- the old attributeMethod Detail |
public java.lang.String getType()
AbstractAttribute
lvalue
or bbox
.
getType
in class Attribute
public java.lang.Object clone()
Attribute
clone
in class Attribute
public boolean possibleValueOf(java.lang.String S)
Attribute
possibleValueOf
in class Attribute
S
- the string to be tested
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |