public abstract class JIPipeDesktopToggleButtonRibbonAction extends JIPipeDesktopRibbon.Action
Constructor and Description |
---|
JIPipeDesktopToggleButtonRibbonAction(Component component,
int height,
Insets insets) |
JIPipeDesktopToggleButtonRibbonAction(List<Component> components,
int height,
Insets insets) |
Modifier and Type | Method and Description |
---|---|
void |
addActionListener(ActionListener listener) |
void |
addActionListener(Runnable runnable) |
abstract JToggleButton |
getButton() |
boolean |
getState() |
boolean |
isSelected() |
void |
setSelected(boolean state) |
void |
setState(boolean state) |
getComponents, getFirstComponent, getHeight, getInsets, isVisible, setComponents, setHeight, setInsets, setVisible
public JIPipeDesktopToggleButtonRibbonAction(Component component, int height, Insets insets)
public abstract JToggleButton getButton()
public boolean getState()
public void setState(boolean state)
public boolean isSelected()
public void setSelected(boolean state)
public void addActionListener(Runnable runnable)
public void addActionListener(ActionListener listener)
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.