|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ujac.print.BaseDocumentTag org.ujac.print.tag.graphics.BaseGraphicsTag org.ujac.print.tag.graphics.DrawPolyLineTag
public class DrawPolyLineTag
Name: DrawPolyLineTag
Description: Implementation of the <draw-poly-line> tag.
Field Summary | |
---|---|
static String |
TAG_NAME
The item's name. |
Fields inherited from class org.ujac.print.tag.graphics.BaseGraphicsTag |
---|
FILL, graphicsTag, X, X1, X2, X3, X4, Y, Y1, Y2, Y3, Y4 |
Constructor Summary | |
---|---|
DrawPolyLineTag()
Constructs a DrawPolyLineTag instance with no specific attributes. |
Method Summary | |
---|---|
void |
addPoint(float x,
float y)
Adds the given point to the point holder's container. |
ChildDefinitionMap |
buildSupportedChilds()
Gets the list of supported childs. |
void |
closeItem()
Closes the item. |
String |
getDescription()
Gets a brief description for the item. |
void |
openItem()
Opens the item. |
Methods inherited from class org.ujac.print.tag.graphics.BaseGraphicsTag |
---|
buildSupportedAttributes, initialize, isTextBodyAllowed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TAG_NAME
Constructor Detail |
---|
public DrawPolyLineTag()
Method Detail |
---|
public String getDescription()
getDescription
in class BaseDocumentTag
public ChildDefinitionMap buildSupportedChilds()
buildSupportedChilds
in class BaseDocumentTag
public void openItem() throws DocumentHandlerException
openItem
in class BaseDocumentTag
DocumentHandlerException
- Thrown in case something went wrong while opening the document item.public void closeItem() throws DocumentHandlerException
closeItem
in class BaseDocumentTag
DocumentHandlerException
- Thrown in case something went wrong while processing the document item.public void addPoint(float x, float y) throws TagAttributeException
addPoint
in interface PointHolder
x
- The horizontal position of the point.y
- The vertical position of the point.
TagAttributeException
- In case the adding of the option has been failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |