Documentation of 'org.jhotdraw.draw.event.CompositeFigureEvent' Java class
CompositeFigureEvent
org.jhotdraw.draw.event

Class CompositeFigureEvent

    • Constructor Summary

      Constructors 
      Constructor and Description
      CompositeFigureEvent(CompositeFigure source, Figure child, java.awt.geom.Rectangle2D.Double invalidatedArea, int zIndex)
      Constructs an event for the provided CompositeFigure.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Figure getChildFigure()
      Gets the changed child figure.
      CompositeFigure getCompositeFigure()
      Gets the changed drawing.
      int getIndex()
      Returns the z-index of the child figure.
      java.awt.geom.Rectangle2D.Double getInvalidatedArea()
      Gets the bounds of the invalidated area on the drawing.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CompositeFigureEvent

        public CompositeFigureEvent(CompositeFigure source,
                                    Figure child,
                                    java.awt.geom.Rectangle2D.Double invalidatedArea,
                                    int zIndex)
        Constructs an event for the provided CompositeFigure.
        Parameters:
        source - The composite figure.
        child - The changed figure.
        invalidatedArea - The bounds of the invalidated area on the drawing.
    • Method Detail

      • getCompositeFigure

        public CompositeFigure getCompositeFigure()
        Gets the changed drawing.
      • getChildFigure

        public Figure getChildFigure()
        Gets the changed child figure.
      • getInvalidatedArea

        public java.awt.geom.Rectangle2D.Double getInvalidatedArea()
        Gets the bounds of the invalidated area on the drawing.
      • getIndex

        public int getIndex()
        Returns the z-index of the child figure.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.