Documentation of 'CH.ifa.draw.standard.ActionTool' Java class
ActionTool
CH.ifa.draw.standard

Class ActionTool

  • All Implemented Interfaces:
    Tool
    Direct Known Subclasses:
    BorderTool


    public abstract class ActionTool
    extends AbstractTool
    A tool that performs an action when it is active and the mouse is clicked.
    • Constructor Detail

    • Method Detail

      • mouseUp

        public void mouseUp(java.awt.event.MouseEvent e,
                            int x,
                            int y)
        Description copied from class: AbstractTool
        Handles mouse up in the drawing view.
        Specified by:
        mouseUp in interface Tool
        Overrides:
        mouseUp in class AbstractTool
      • action

        public abstract void action(Figure figure)
        Performs an action with the touched figure.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.