public class JIPipeDesktopCheckBoxRibbonAction extends JIPipeDesktopRibbon.Action
Constructor and Description |
---|
JIPipeDesktopCheckBoxRibbonAction(String label,
String tooltip) |
JIPipeDesktopCheckBoxRibbonAction(String label,
String tooltip,
boolean selected,
Consumer<JCheckBox> action) |
Modifier and Type | Method and Description |
---|---|
void |
addActionListener(ActionListener listener) |
void |
addActionListener(Runnable runnable) |
JCheckBox |
getCheckBox() |
boolean |
getState() |
boolean |
isSelected() |
void |
setSelected(boolean state) |
void |
setState(boolean state) |
getComponents, getFirstComponent, getHeight, getInsets, isVisible, setComponents, setHeight, setInsets, setVisible
public JIPipeDesktopCheckBoxRibbonAction(String label, String tooltip)
public JCheckBox getCheckBox()
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.