| javax.swing.JPanel org.tp23.gui.tree.DirectoryTreeCellRenderer
DirectoryTreeCellRenderer | public class DirectoryTreeCellRenderer extends JPanel implements TreeCellRenderer(Code) | | This class reuses some swing objects for each line in the tree as it seems the
renderer is happy with that. Thus you can't add selection listeners
it is ony used for rendering.
author: teknopaul version: 1.0 |
DirectoryTreeCellRenderer | public DirectoryTreeCellRenderer()(Code) | | |
getDefaultBackground | public Color getDefaultBackground()(Code) | | |
getDefaultForeground | public Color getDefaultForeground()(Code) | | |
getIconWidth | public int getIconWidth()(Code) | | |
getTreeCellRendererComponent | public Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)(Code) | | getTreeCellRendererComponent
Parameters: tree - JTree Parameters: value - Object Parameters: selected - boolean Parameters: expanded - boolean Parameters: leaf - boolean Parameters: row - int Parameters: hasFocus - boolean Component |
|
|