Class SimpleButtonPlugin

java.lang.Object
org.micromanager.quickaccess.QuickAccessPlugin
org.micromanager.quickaccess.SimpleButtonPlugin
All Implemented Interfaces:
MMGenericPlugin, MMPlugin, org.scijava.plugin.SciJavaPlugin

public abstract class SimpleButtonPlugin extends QuickAccessPlugin
This plugin type is used for buttons that can be embedded in the Quick-Access Window. It's for simple buttons that perform an action when clicked.
  • Constructor Details

    • SimpleButtonPlugin

      public SimpleButtonPlugin()
  • Method Details

    • getTitle

      public abstract String getTitle()
      Returns the text to show in the button.
    • getButtonIcon

      public abstract Icon getButtonIcon()
      Returns an icon to show in the button. May be null.
    • activate

      public abstract void activate()
      This method will be called when the button is clicked.