| javax.swing.tree.DefaultTreeCellRenderer csdl.jblanket.app.AppRenderer
AppRenderer | public class AppRenderer extends DefaultTreeCellRenderer (Code) | | Provides the renderer used by the application. All non-method nodes are black and the colors of
the method nodes are determined by their categories.
(See MethodCategoryColor)
author: Joy M. Agustin version: $Id: AppRenderer.java,v 1.1 2004/11/07 00:32:41 timshadel Exp $ |
Constructor Summary | |
public | AppRenderer() Constructs a new AppRenderer. |
Method Summary | |
public Component | getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) Configures the renderer based on the passed in components.
This method overrides the method in the parent class. |
AppRenderer | public AppRenderer()(Code) | | Constructs a new AppRenderer.
|
getTreeCellRendererComponent | public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus)(Code) | | Configures the renderer based on the passed in components.
This method overrides the method in the parent class. Due to incomplete comments in the
parent class, some parameters are unknown.
Parameters: tree - the tree value belongs to. Parameters: value - the in the tree being processed. Parameters: sel - unknown. Parameters: expanded - unknown. Parameters: leaf - describes whether value is a leaf node. Parameters: row - the row number of value , starts at 0. Parameters: hasFocus - unknown. 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)
|
|
|