| javax.swing.tree.DefaultTreeCellRenderer org.columba.mail.gui.tree.util.FolderTreeCellRenderer
FolderTreeCellRenderer | public FolderTreeCellRenderer()(Code) | | Generates a new CellRenderer. In this contructor font and images are set
to local variables. The fonts are depended on the current UIManager.
|
getFolderIcon | public static Icon getFolderIcon(IMailFolder node, boolean expanded)(Code) | | Returns an icon suitable for the given folder.
|
getTreeCellRendererComponent | public Component getTreeCellRendererComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row, boolean hasFocusVar)(Code) | | The tooltip text and unseen counter for the current folder component are
set. If the folder has unseen Messages the folder self is show as bold
and the unseen message counter is added to the folder label. The folder
gets a tooltip where infos (unseen, recent, total) are set. If the folder
is an IMAP folder and not selectable the folder is set to italic with a
darkgrey background.
|
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)
|
|
|