|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
org.odftoolkit.odfdom.pkg.OdfElement
org.odftoolkit.odfdom.dom.element.OdfStylableElement
org.odftoolkit.odfdom.dom.element.OdfStyleableShapeElement
org.odftoolkit.odfdom.dom.element.draw.DrawShapeElementBase
org.odftoolkit.odfdom.dom.element.draw.DrawRegularPolygonElement
public class DrawRegularPolygonElement
DOM implementation of OpenDocument element draw:regular-polygon.
| Field Summary | |
|---|---|
static OdfName |
ELEMENT_NAME
|
| Fields inherited from class org.odftoolkit.odfdom.dom.element.OdfStylableElement |
|---|
mFamily, mStyleNameAttrib |
| Fields inherited from class org.apache.xerces.dom.ElementNSImpl |
|---|
localName, namespaceURI |
| Fields inherited from class org.apache.xerces.dom.ElementImpl |
|---|
attributes, name |
| Fields inherited from class org.apache.xerces.dom.ParentNode |
|---|
firstChild, fNodeListCache, ownerDocument |
| Fields inherited from class org.apache.xerces.dom.ChildNode |
|---|
nextSibling, previousSibling |
| Fields inherited from interface org.w3c.dom.TypeInfo |
|---|
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION |
| Constructor Summary | |
|---|---|
DrawRegularPolygonElement(OdfFileDom ownerDoc)
Create the instance of DrawRegularPolygonElement |
|
| Method Summary | |
|---|---|
void |
accept(ElementVisitor visitor)
Accept an visitor instance to allow the visitor to do some operations. |
java.lang.String |
getDrawCaptionIdAttribute()
Receives the value of the ODFDOM attribute representation DrawCaptionIdAttribute , See draw:caption-id |
java.lang.Boolean |
getDrawConcaveAttribute()
Receives the value of the ODFDOM attribute representation DrawConcaveAttribute , See draw:concave
Attribute is mandatory. |
java.lang.Integer |
getDrawCornersAttribute()
Receives the value of the ODFDOM attribute representation DrawCornersAttribute , See draw:corners
Attribute is mandatory. |
java.lang.String |
getDrawLayerAttribute()
Receives the value of the ODFDOM attribute representation DrawLayerAttribute , See draw:layer |
java.lang.String |
getDrawSharpnessAttribute()
Receives the value of the ODFDOM attribute representation DrawSharpnessAttribute , See draw:sharpness |
java.lang.String |
getDrawTextStyleNameAttribute()
Receives the value of the ODFDOM attribute representation DrawTextStyleNameAttribute , See draw:text-style-name |
java.lang.String |
getDrawTransformAttribute()
Receives the value of the ODFDOM attribute representation DrawTransformAttribute , See draw:transform |
OdfName |
getOdfName()
Get the element name |
java.lang.String |
getSvgHeightAttribute()
Receives the value of the ODFDOM attribute representation SvgHeightAttribute , See svg:height |
java.lang.String |
getSvgWidthAttribute()
Receives the value of the ODFDOM attribute representation SvgWidthAttribute , See svg:width |
java.lang.String |
getSvgXAttribute()
Receives the value of the ODFDOM attribute representation SvgXAttribute , See svg:x |
java.lang.String |
getSvgYAttribute()
Receives the value of the ODFDOM attribute representation SvgYAttribute , See svg:y |
DrawGluePointElement |
newDrawGluePointElement(java.lang.String drawEscapeDirectionValue,
java.lang.String drawIdValue,
java.lang.String svgXValue,
java.lang.String svgYValue)
Create child element draw:glue-point. |
OfficeEventListenersElement |
newOfficeEventListenersElement()
Create child element office:event-listeners. |
SvgDescElement |
newSvgDescElement()
Create child element svg:desc. |
SvgTitleElement |
newSvgTitleElement()
Create child element svg:title. |
TextListElement |
newTextListElement()
Create child element text:list. |
TextPElement |
newTextPElement()
Create child element text:p. |
void |
setDrawCaptionIdAttribute(java.lang.String drawCaptionIdValue)
Sets the value of ODFDOM attribute representation DrawCaptionIdAttribute , See draw:caption-id |
void |
setDrawConcaveAttribute(java.lang.Boolean drawConcaveValue)
Sets the value of ODFDOM attribute representation DrawConcaveAttribute , See draw:concave |
void |
setDrawCornersAttribute(java.lang.Integer drawCornersValue)
Sets the value of ODFDOM attribute representation DrawCornersAttribute , See draw:corners |
void |
setDrawLayerAttribute(java.lang.String drawLayerValue)
Sets the value of ODFDOM attribute representation DrawLayerAttribute , See draw:layer |
void |
setDrawSharpnessAttribute(java.lang.String drawSharpnessValue)
Sets the value of ODFDOM attribute representation DrawSharpnessAttribute , See draw:sharpness |
void |
setDrawTextStyleNameAttribute(java.lang.String drawTextStyleNameValue)
Sets the value of ODFDOM attribute representation DrawTextStyleNameAttribute , See draw:text-style-name |
void |
setDrawTransformAttribute(java.lang.String drawTransformValue)
Sets the value of ODFDOM attribute representation DrawTransformAttribute , See draw:transform |
void |
setSvgHeightAttribute(java.lang.String svgHeightValue)
Sets the value of ODFDOM attribute representation SvgHeightAttribute , See svg:height |
void |
setSvgWidthAttribute(java.lang.String svgWidthValue)
Sets the value of ODFDOM attribute representation SvgWidthAttribute , See svg:width |
void |
setSvgXAttribute(java.lang.String svgXValue)
Sets the value of ODFDOM attribute representation SvgXAttribute , See svg:x |
void |
setSvgYAttribute(java.lang.String svgYValue)
Sets the value of ODFDOM attribute representation SvgYAttribute , See svg:y |
| Methods inherited from class org.odftoolkit.odfdom.dom.element.OdfStyleableShapeElement |
|---|
adjustStyleNameAttrib, setAttributeNodeNS, setAttributeNS |
| Methods inherited from class org.odftoolkit.odfdom.dom.element.OdfStylableElement |
|---|
getAutomaticStyle, getAutomaticStyles, getDocumentStyle, getOrCreateUnqiueAutomaticStyle, getProperties, getProperty, getStrictProperties, getStyleFamily, getStyleName, hasAutomaticStyle, hasDocumentStyle, hasProperty, onInsertNode, onRemoveNode, removeProperty, reuseDocumentStyle, setDocumentStyle, setProperties, setProperty, setStyleName |
| Methods inherited from class org.odftoolkit.odfdom.pkg.OdfElement |
|---|
cloneNode, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, setOdfAttributeValue, toString |
| Methods inherited from class org.apache.xerces.dom.ElementNSImpl |
|---|
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues |
| Methods inherited from class org.apache.xerces.dom.ParentNode |
|---|
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren |
| Methods inherited from class org.apache.xerces.dom.ChildNode |
|---|
getNextSibling, getParentNode, getPreviousSibling |
| Methods inherited from class org.apache.xerces.dom.NodeImpl |
|---|
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData |
| Field Detail |
|---|
public static final OdfName ELEMENT_NAME
| Constructor Detail |
|---|
public DrawRegularPolygonElement(OdfFileDom ownerDoc)
DrawRegularPolygonElement
ownerDoc - The type is OdfFileDom| Method Detail |
|---|
public OdfName getOdfName()
getOdfName in class OdfElementOdfName the name of element draw:regular-polygon.public java.lang.String getDrawCaptionIdAttribute()
DrawCaptionIdAttribute , See draw:caption-id
String , the value or null, if the attribute is not set and no default value defined.public void setDrawCaptionIdAttribute(java.lang.String drawCaptionIdValue)
DrawCaptionIdAttribute , See draw:caption-id
drawCaptionIdValue - The type is Stringpublic java.lang.Boolean getDrawConcaveAttribute()
DrawConcaveAttribute , See draw:concave
Attribute is mandatory.
Boolean , the value or null, if the attribute is not set and no default value defined.public void setDrawConcaveAttribute(java.lang.Boolean drawConcaveValue)
DrawConcaveAttribute , See draw:concave
drawConcaveValue - The type is Booleanpublic java.lang.Integer getDrawCornersAttribute()
DrawCornersAttribute , See draw:corners
Attribute is mandatory.
Integer , the value or null, if the attribute is not set and no default value defined.public void setDrawCornersAttribute(java.lang.Integer drawCornersValue)
DrawCornersAttribute , See draw:corners
drawCornersValue - The type is Integerpublic java.lang.String getDrawLayerAttribute()
DrawLayerAttribute , See draw:layer
String , the value or null, if the attribute is not set and no default value defined.public void setDrawLayerAttribute(java.lang.String drawLayerValue)
DrawLayerAttribute , See draw:layer
drawLayerValue - The type is Stringpublic java.lang.String getDrawSharpnessAttribute()
DrawSharpnessAttribute , See draw:sharpness
String , the value or null, if the attribute is not set and no default value defined.public void setDrawSharpnessAttribute(java.lang.String drawSharpnessValue)
DrawSharpnessAttribute , See draw:sharpness
drawSharpnessValue - The type is Stringpublic java.lang.String getDrawTextStyleNameAttribute()
DrawTextStyleNameAttribute , See draw:text-style-name
String , the value or null, if the attribute is not set and no default value defined.public void setDrawTextStyleNameAttribute(java.lang.String drawTextStyleNameValue)
DrawTextStyleNameAttribute , See draw:text-style-name
drawTextStyleNameValue - The type is Stringpublic java.lang.String getDrawTransformAttribute()
DrawTransformAttribute , See draw:transform
String , the value or null, if the attribute is not set and no default value defined.public void setDrawTransformAttribute(java.lang.String drawTransformValue)
DrawTransformAttribute , See draw:transform
drawTransformValue - The type is Stringpublic java.lang.String getSvgHeightAttribute()
SvgHeightAttribute , See svg:height
String , the value or null, if the attribute is not set and no default value defined.public void setSvgHeightAttribute(java.lang.String svgHeightValue)
SvgHeightAttribute , See svg:height
svgHeightValue - The type is Stringpublic java.lang.String getSvgWidthAttribute()
SvgWidthAttribute , See svg:width
String , the value or null, if the attribute is not set and no default value defined.public void setSvgWidthAttribute(java.lang.String svgWidthValue)
SvgWidthAttribute , See svg:width
svgWidthValue - The type is Stringpublic java.lang.String getSvgXAttribute()
SvgXAttribute , See svg:x
String , the value or null, if the attribute is not set and no default value defined.public void setSvgXAttribute(java.lang.String svgXValue)
SvgXAttribute , See svg:x
svgXValue - The type is Stringpublic java.lang.String getSvgYAttribute()
SvgYAttribute , See svg:y
String , the value or null, if the attribute is not set and no default value defined.public void setSvgYAttribute(java.lang.String svgYValue)
SvgYAttribute , See svg:y
svgYValue - The type is String
public DrawGluePointElement newDrawGluePointElement(java.lang.String drawEscapeDirectionValue,
java.lang.String drawIdValue,
java.lang.String svgXValue,
java.lang.String svgYValue)
drawEscapeDirectionValue - the String value of DrawEscapeDirectionAttribute, see draw:escape-direction at specificationdrawIdValue - the String value of DrawIdAttribute, see draw:id at specificationsvgXValue - the String value of SvgXAttribute, see svg:x at specificationsvgYValue - the String value of SvgYAttribute, see svg:y at specification
public OfficeEventListenersElement newOfficeEventListenersElement()
public SvgDescElement newSvgDescElement()
public SvgTitleElement newSvgTitleElement()
public TextListElement newTextListElement()
public TextPElement newTextPElement()
public void accept(ElementVisitor visitor)
OdfElement
accept in class OdfElementvisitor - an instance of DefaultElementVisitor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||