Class ASingleClickButton

All Implemented Interfaces:
MouseListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener, Accessible, SwingConstants
Direct Known Subclasses:
DeviceButton

public abstract class ASingleClickButton extends JToggleButton implements MouseListener
See Also:
  • Field Details

    • canvas

      protected Component canvas
      Component that owns the current gesture (null when idle).
    • toolBar

      protected AToolBar toolBar
      Toolbar that owns this tool.
  • Constructor Details

    • ASingleClickButton

      public ASingleClickButton(Component canvas, AToolBar toolBar)
      Create a single-click button that performs an action when clicked.
      Parameters:
      canvas - the component that will receive mouse events when this tool is active
      toolBar - the toolbar that owns this button
  • Method Details