| javax.swing.tree.DefaultTreeCellRenderer org.underworldlabs.swing.tree.AbstractTreeCellRenderer
All known Subclasses: org.executequery.components.table.BrowserTreeCellRenderer,
AbstractTreeCellRenderer | abstract public class AbstractTreeCellRenderer extends DefaultTreeCellRenderer (Code) | | Abstract tree cell renderer with custom paint method.
author: Takis Diakoumis version: $Revision: 1.4 $ |
getLabelX | protected int getLabelX()(Code) | | |
getTreeCellRendererComponent | abstract public Component getTreeCellRendererComponent(JTree tree, Object value, boolean isSelected, boolean isExpanded, boolean isLeaf, int row, boolean hasFocus)(Code) | | Sets the value of the current tree cell to value. If
selected is true, the cell will be drawn as if selected.
If expanded is true the node is currently expanded and if
leaf is true the node represets a leaf and if hasFocus
is true the node currently has focus. tree is the JTree
the receiver is being configured for. Returns the Component
that the renderer uses to draw the value.
the Component that the renderer uses to draw the value |
Methods inherited from javax.swing.tree.DefaultTreeCellRenderer | protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, byte oldValue, byte newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, short oldValue, short newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, long oldValue, long newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, float oldValue, float newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, double oldValue, double newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc) public Color getBackgroundNonSelectionColor()(Code)(Java Doc) public Color getBackgroundSelectionColor()(Code)(Java Doc) public Color getBorderSelectionColor()(Code)(Java Doc) public Icon getClosedIcon()(Code)(Java Doc) public Icon getDefaultClosedIcon()(Code)(Java Doc) public Icon getDefaultLeafIcon()(Code)(Java Doc) public Icon getDefaultOpenIcon()(Code)(Java Doc) public Font getFont()(Code)(Java Doc) public Icon getLeafIcon()(Code)(Java Doc) public Icon getOpenIcon()(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public Color getTextNonSelectionColor()(Code)(Java Doc) public Color getTextSelectionColor()(Code)(Java Doc) public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus)(Code)(Java Doc) public void invalidate()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc) public void repaint(Rectangle r)(Code)(Java Doc) public void repaint()(Code)(Java Doc) public void revalidate()(Code)(Java Doc) public void setBackground(Color color)(Code)(Java Doc) public void setBackgroundNonSelectionColor(Color newColor)(Code)(Java Doc) public void setBackgroundSelectionColor(Color newColor)(Code)(Java Doc) public void setBorderSelectionColor(Color newColor)(Code)(Java Doc) public void setClosedIcon(Icon newIcon)(Code)(Java Doc) public void setFont(Font font)(Code)(Java Doc) public void setLeafIcon(Icon newIcon)(Code)(Java Doc) public void setOpenIcon(Icon newIcon)(Code)(Java Doc) public void setTextNonSelectionColor(Color newColor)(Code)(Java Doc) public void setTextSelectionColor(Color newColor)(Code)(Java Doc) public void updateUI()(Code)(Java Doc) public void validate()(Code)(Java Doc)
|
|
|