Class Rotate
- java.lang.Object
-
- com.adobe.xfa.Attribute
-
- com.adobe.xfa.template.containers.Rotate
-
public final class Rotate extends Attribute
An attribute that describes the rotation of a container, i.e., a value in degrees progressing counterclockwise. The point of rotation can be changed by setting the anchorType attribute, but by default it is the top-left corner.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Angle
getAngle()
double
getValue()
Attribute
newAttribute(java.lang.String value)
Create a new attribute, given a new valueAttribute
newAttribute(java.lang.String NS, java.lang.String localName, java.lang.String qName, java.lang.String value)
Create a new attribute, given all attribute parametersAttribute
newAttribute(java.lang.String NS, java.lang.String localName, java.lang.String qName, java.lang.String value, boolean internSymbols)
Create a new attribute, given all attribute parametersjava.lang.String
toString()
Generates this attribute's value as a string.-
Methods inherited from class com.adobe.xfa.Attribute
getAttrValue, getLocalName, getName, getNS, getPrefix, getQName, isEmpty, isNameSpaceAttr, isSchemaAttr, isXSINilAttr, normalize
-
-
-
-
Method Detail
-
getAngle
public Angle getAngle()
-
getValue
public double getValue()
-
newAttribute
public Attribute newAttribute(java.lang.String value)
Description copied from class:Attribute
Create a new attribute, given a new value- Specified by:
newAttribute
in classAttribute
- Parameters:
value
- the string to use to create the new attribute- Returns:
- a new attribute
- See Also:
Attribute.newAttribute(String)
-
newAttribute
public Attribute newAttribute(java.lang.String NS, java.lang.String localName, java.lang.String qName, java.lang.String value)
Description copied from class:Attribute
Create a new attribute, given all attribute parameters- Specified by:
newAttribute
in classAttribute
- Parameters:
NS
- the namespace for this attributelocalName
- the local name for this attributeqName
- the qualified name for this attributevalue
- the string to use to create the new attribute- Returns:
- a new attribute
-
newAttribute
public Attribute newAttribute(java.lang.String NS, java.lang.String localName, java.lang.String qName, java.lang.String value, boolean internSymbols)
Description copied from class:Attribute
Create a new attribute, given all attribute parameters- Specified by:
newAttribute
in classAttribute
- Parameters:
NS
- the namespace for this attributelocalName
- the local name for this attributeqName
- the qualified name for this attributevalue
- the string to use to create the new attributeinternSymbols
- indicates whether the symbols in other parameters need to be interned.- Returns:
- a new attribute
-
-