Class QuickAccessPlugin
java.lang.Object
org.micromanager.quickaccess.QuickAccessPlugin
- All Implemented Interfaces:
MMGenericPlugin, MMPlugin, org.scijava.plugin.SciJavaPlugin
- Direct Known Subclasses:
SimpleButtonPlugin, ToggleButtonPlugin, WidgetPlugin
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe height of a single cell in the Quick-Access Window.static final intThe width of a single cell in the Quick-Access Window. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MMPlugin
getCopyright, getHelpText, getName, getVersion, setContext
-
Field Details
-
CELL_WIDTH
public static final int CELL_WIDTHThe width of a single cell in the Quick-Access Window.- See Also:
-
CELL_HEIGHT
public static final int CELL_HEIGHTThe height of a single cell in the Quick-Access Window.- See Also:
-
-
Constructor Details
-
QuickAccessPlugin
public QuickAccessPlugin()
-
-
Method Details
-
getPaddedCellSize
Provides a dimension that mostly fills 1 cell in the Quick-Access Window. This dimension should be used by any "simple" controls (like buttons) to preserve visual uniformity. -
getIcon
Provide an icon to use to represent this plugin when configuring the Quick-Access Window. May be null, in which case a rendering of the plugin's controls will be used instead. Note that if you want to use a null icon here, then your plugin *must* create some kind of sensible control even when there is no configuration (for WidgetPlugins), as the icon of the control in the configuration mode is derived from a non-configured control.
-