![JAR search and dependency download from the Maven repository](/logo.png)
org.jooq.debug.console.misc.CheckBoxNode Maven / Gradle / Ivy
The newest version!
package org.jooq.debug.console.misc;
import javax.swing.tree.DefaultMutableTreeNode;
/**
* @author Christopher Deckers
*/
@SuppressWarnings("serial")
public class CheckBoxNode extends DefaultMutableTreeNode {
private String text;
private boolean selected;
public CheckBoxNode(Object o, String text, boolean selected) {
super(o);
this.text = text;
this.selected = selected;
}
public String getText() {
return text;
}
public boolean isSelected() {
return selected;
}
public void setSelected(boolean newValue) {
selected = newValue;
}
@Override
public String toString() {
return text;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy