|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.mindfusion.diagramming.DrawAnchorPointEvent
public class DrawAnchorPointEvent
Contains the arguments passed to the DrawAnchorPoint event handlers.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
DrawAnchorPointEvent(java.lang.Object source,
java.awt.Graphics2D graphics,
java.awt.geom.Point2D location,
DiagramNode node,
AnchorPattern anchorPattern,
int anchorIndex)
Initializes a new instance of the DrawAnchorPointEvent class. |
Method Summary | |
---|---|
int |
getAnchorIndex()
Gets the index of the anchor point within its containing pattern. |
AnchorPattern |
getAnchorPattern()
Gets the anchor pattern containing the anchor point being drawn. |
java.awt.Graphics2D |
getGraphics()
Gets an object implementing the IGraphics interface whose methods should be used to draw the anchor point mark. |
java.awt.geom.Point2D |
getLocation()
Gets the location of the anchor point being drawn. |
DiagramNode |
getNode()
Gets the node whose anchor point is being drawn. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DrawAnchorPointEvent(java.lang.Object source, java.awt.Graphics2D graphics, java.awt.geom.Point2D location, DiagramNode node, AnchorPattern anchorPattern, int anchorIndex)
source
- The source of the event.graphics
- The Graphics2D
object that represents the target of the drawing operation.location
- The position of the anchor point, expressed in document coordinates.node
- The DiagramNode
related to the event.anchorPattern
- The AnchorPattern
object whose point is being drawn.anchorIndex
- The zero-based index of the anchor point being drawn within its anchor pattern.Method Detail |
---|
public int getAnchorIndex()
AnchorPattern
.public AnchorPattern getAnchorPattern()
AnchorPattern
class.public java.awt.Graphics2D getGraphics()
public java.awt.geom.Point2D getLocation()
public DiagramNode getNode()
DiagramNode
class.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |