List of usage examples for javax.swing.tree DefaultTreeCellRenderer subclass-usage
From source file CustomTreeCellRenderer.java
class CustomTreeCellRenderer extends DefaultTreeCellRenderer { ImageIcon rendererIcon; public void setRendererIcon(ImageIcon myIcon) { this.rendererIcon = myIcon; };
From source file org.kuali.test.ui.base.BaseTreeCellRenderer.java
/** * * @author rbtucker */ public class BaseTreeCellRenderer extends DefaultTreeCellRenderer {
From source file picocash.renderer.tree.PayeeTreeRenderer.java
/**
*
* @author wusel
*
*/
@Deprecated
From source file picocash.renderer.tree.CategoryTreeRenderer.java
/**
*
* @author wusel
*
*/
@Deprecated
From source file org.pentaho.reporting.designer.extensions.pentaho.repository.util.RepositoryTreeCellRenderer.java
public class RepositoryTreeCellRenderer extends DefaultTreeCellRenderer { public RepositoryTreeCellRenderer() { } public Component getTreeCellRendererComponent(final JTree tree, final Object value, final boolean sel, final boolean expanded, final boolean leaf, final int row, final boolean hasFocus) {
From source file com.igormaznitsa.sciareto.ui.tree.TreeCellRenderer.java
public class TreeCellRenderer extends DefaultTreeCellRenderer { private static final long serialVersionUID = -6283018126496160094L; private static final Image PROJECT_BADGE = UiUtils.loadImage("project_badge.png"); private static final Image READONLY_BADGE = UiUtils.loadImage("ro.png");
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) { super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus);
From source file Main.java
class MyTreeCellRenderer extends DefaultTreeCellRenderer { int rendering = 0; @Override public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) {
From source file Main.java
class FileTreeCellRenderer extends DefaultTreeCellRenderer { @Override public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) { if (value instanceof DefaultMutableTreeNode) {
From source file ca.phon.app.query.report.ReportTreeCellRenderer.java
public class ReportTreeCellRenderer extends DefaultTreeCellRenderer { /** Icon hash */ private HashMap<Class<? extends Section>, ImageIcon> icons = new HashMap<Class<? extends Section>, ImageIcon>(); private ImageIcon rptIcon;