|
ReportMill 11 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.reportmill.base.RMObject
com.reportmill.shape.RMShape
com.reportmill.shape.RMPolygon
public class RMPolygon
This class is an RMShape subclass that encapsulates an arbitrary path.
Field Summary |
---|
Fields inherited from class com.reportmill.shape.RMShape |
---|
WRAP_TYPE_BOTH, WRAP_TYPE_NONE |
Constructor Summary | |
---|---|
RMPolygon()
Creates a new empty polygon shape. |
|
RMPolygon(RMPath aPath)
Creates a new polygon shape for the given path. |
Method Summary | |
---|---|
RMPolygon |
clone()
Standard clone implementation. |
boolean |
equals(java.lang.Object anObj)
Standard equals implementation. |
java.lang.Object |
fromXMLShape(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement,
java.lang.Object anOwner)
XML unarchival. |
RMPath |
getPath()
Returns the path for this polygon shape. |
com.reportmill.graphics.RMTransform |
getPathTransform()
Returns the matrix which transforms from path space to this shape's space. |
void |
paintShape(com.reportmill.shape.RMShapePainter aPainter,
java.awt.Graphics2D g)
Handles painting a polygon shape. |
void |
resetPath(RMPath newPath)
Replace the polygon's current path with a new path, adjusting the shape's bounds to match the new path. |
void |
setPath(RMPath aPath)
Sets the path for this polygon shape. |
boolean |
superSelectable()
Editor method - indicates that this shape can be super selected. |
com.reportmill.archiver.RXElement |
toXMLShape(com.reportmill.archiver.RXArchiver anArchiver,
java.lang.Object anOwner)
XML archival. |
Methods inherited from class com.reportmill.base.RMObject |
---|
addListener, addPropertyChangeListener, firePropertyChange, getListener, getListenerCount, getListeners, isFirePropertyChangeEnabled, isUndoing, removeListener, removePropertyChangeListener, setFirePropertyChangeEnabled, setUndoing |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RMPolygon()
public RMPolygon(RMPath aPath)
Method Detail |
---|
public RMPath getPath()
getPath
in class RMShape
public void setPath(RMPath aPath)
public boolean superSelectable()
superSelectable
in class RMShape
public void paintShape(com.reportmill.shape.RMShapePainter aPainter, java.awt.Graphics2D g)
paintShape
in class RMShape
public com.reportmill.archiver.RXElement toXMLShape(com.reportmill.archiver.RXArchiver anArchiver, java.lang.Object anOwner)
toXMLShape
in class RMShape
public java.lang.Object fromXMLShape(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement, java.lang.Object anOwner)
fromXMLShape
in class RMShape
public boolean equals(java.lang.Object anObj)
equals
in class RMShape
public RMPolygon clone()
clone
in class RMShape
public com.reportmill.graphics.RMTransform getPathTransform()
public void resetPath(RMPath newPath)
|
ReportMill 11 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |