Documentation of 'org.jhotdraw.samples.odg.figures.ODGAttributedFigure' Java class
ODGAttributedFigure
org.jhotdraw.samples.odg.figures

Class ODGAttributedFigure

    • Constructor Detail

      • ODGAttributedFigure

        public ODGAttributedFigure()
        Creates a new instance.
    • Method Detail

      • draw

        public void draw(java.awt.Graphics2D g)
        Description copied from interface: Figure
        Draws the figure.
        Specified by:
        draw in interface Figure
        Overrides:
        draw in class AbstractAttributedFigure
        Parameters:
        g - The Graphics2D to draw to.
      • drawFigure

        public void drawFigure(java.awt.Graphics2D g)
        This method is invoked before the rendered image of the figure is composited.
      • getActions

        public java.util.Collection<javax.swing.Action> getActions(java.awt.geom.Point2D.Double p)
        Description copied from class: AbstractFigure
        Returns a collection of actions which are presented to the user in a popup menu.

        The collection may contain null entries. These entries are used interpreted as separators in the popup menu.

        Specified by:
        getActions in interface Figure
        Overrides:
        getActions in class AbstractFigure

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.