public class CheckBoxAction extends Ribbon.Action
Constructor and Description |
---|
CheckBoxAction(String label,
String tooltip) |
CheckBoxAction(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 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–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.