public class PluginCommandButton extends java.lang.Object
Constructor and Description |
---|
PluginCommandButton() |
Modifier and Type | Method and Description |
---|---|
static IcyCommandButton |
createButton(PluginDescriptor plugin)
Build a plugin button with default action (execute plugin)
|
static org.pushingpixels.flamingo.api.common.AbstractCommandButton |
createButton(PluginDescriptor plugin,
boolean toggle,
boolean doAction,
boolean alpha)
Build a plugin button
|
static IcyCommandToggleButton |
createToggleButton(PluginDescriptor plugin,
boolean doAction,
boolean alpha)
Build a plugin toggle button with default action (execute plugin) if enable.
|
static void |
setButton(org.pushingpixels.flamingo.api.common.AbstractCommandButton button,
PluginDescriptor plugin)
Set a plugin button with default action
|
static void |
setButton(org.pushingpixels.flamingo.api.common.AbstractCommandButton button,
PluginDescriptor plugin,
boolean doAction,
boolean alpha)
Set a plugin button with specified action
|
public PluginCommandButton()
public static void setButton(org.pushingpixels.flamingo.api.common.AbstractCommandButton button, PluginDescriptor plugin, boolean doAction, boolean alpha)
public static void setButton(org.pushingpixels.flamingo.api.common.AbstractCommandButton button, PluginDescriptor plugin)
public static org.pushingpixels.flamingo.api.common.AbstractCommandButton createButton(PluginDescriptor plugin, boolean toggle, boolean doAction, boolean alpha)
public static IcyCommandButton createButton(PluginDescriptor plugin)
public static IcyCommandToggleButton createToggleButton(PluginDescriptor plugin, boolean doAction, boolean alpha)