List of usage examples for javax.swing.tree DefaultTreeCellRenderer subclass-usage
From source file Main.java
class MyTreeCellRenderer extends DefaultTreeCellRenderer { @Override public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) { Component cell = super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus);
From source file nz.govt.natlib.ndha.manualdeposit.customui.IconRenderer.java
public class IconRenderer extends DefaultTreeCellRenderer { private static final long serialVersionUID = 8567875825235138072L; private final static Log LOG = LogFactory.getLog(IconRenderer.class); private final Icon accessCopyIcon; private final Icon digitalOriginalIcon; private final Icon documentIcon;
From source file de.codesourcery.eve.skills.ui.renderer.SkillTreeRenderer.java
public class SkillTreeRenderer extends DefaultTreeCellRenderer { private static final Color GREEN = new Color(0, 150, 0); private static final boolean DEBUG = false; private ISelectionProvider<ICharacter> charProvider;
From source file Main.java
class MyTreeCellRenderer extends DefaultTreeCellRenderer implements TreeCellRenderer { private JEditorPane editorPane; public MyTreeCellRenderer() { editorPane = new JEditorPane("text/html", null);
From source file edu.ku.brc.specify.ui.containers.ContainerTreeRenderer.java
/**
* @author rods
*
* @code_status Alpha
*
* Oct 19, 2010
From source file MyData.java
class QuestionCellRenderer extends DefaultTreeCellRenderer { protected JCheckBox checkBoxRenderer = new JCheckBox(); public Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) {
From source file Main.java
class MyTreeCellRenderer extends DefaultTreeCellRenderer { FileSystemView fsv = FileSystemView.getFileSystemView(); @Override public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) {
From source file org.zaproxy.zap.extension.zest.ZestTreeCellRenderer.java
/** * Custom renderer for {@link ZestScriptsPanel} to set custom icons and tooltips. If you want * tooltips you have to enable them via: <code> * ToolTipManager.sharedInstance().registerComponent(tree);</code> */ public class ZestTreeCellRenderer extends DefaultTreeCellRenderer {
From source file net.sf.taverna.t2.workbench.ui.workflowexplorer.WorkflowExplorerTreeCellRenderer.java
/**
* Cell renderer for Workflow Explorer tree.
*
* @author Alex Nenadic
* @author David Withers
*/
From source file DOMTreeTest.java
/** * This class renders an XML node. */ class DOMTreeCellRenderer extends DefaultTreeCellRenderer { public Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) {