public class CheckBoxNodeData extends Object
JTree
, that tracks whether it
is checked.
Thanks to John Zukowski for the sample code upon which this is based.
CheckBoxNodeEditor
,
CheckBoxNodeRenderer
Constructor and Description |
---|
CheckBoxNodeData(String text,
boolean checked) |
Modifier and Type | Method and Description |
---|---|
String |
getText() |
boolean |
isChecked() |
void |
setChecked(boolean checked) |
void |
setText(String text) |
String |
toString() |
public CheckBoxNodeData(String text, boolean checked)
Copyright © 2015–2022 SciJava. All rights reserved.