Package it.cnr.imaa.essi.lablib.gui.checkboxtree

Examples of it.cnr.imaa.essi.lablib.gui.checkboxtree.TreeCheckingModel


  label.setText(value.toString());
  if (selected)
      label.setBackground(UIManager.getColor("Tree.selectionBackground"));
  else
      label.setBackground(UIManager.getColor("Tree.textBackground"));
  TreeCheckingModel checkingModel = ((CheckboxTree) tree).getCheckingModel();
  TreePath path = tree.getPathForRow(row);
  boolean enabled = checkingModel.isPathEnabled(path);
  boolean checked = checkingModel.isPathChecked(path);
  button.setEnabled(enabled);
  label.setForeground(Color.black);
  button.setSelected(checked);
  return this;
    }
View Full Code Here

TOP

Related Classes of it.cnr.imaa.essi.lablib.gui.checkboxtree.TreeCheckingModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.