| javax.swing.tree.DefaultTreeCellRenderer org.columba.mail.gui.table.SubjectTreeRenderer
SubjectTreeRenderer | public class SubjectTreeRenderer extends DefaultTreeCellRenderer (Code) | | Renderer for the JTree in the JTable, which is responsible for displaying the
Subject: headerfield.
I'm still not convinced which method to calculate the bounds of the table
column is faster.
The first one overwrites paint() and layout(), the other just overwrites
setBounds() only, using the passed JTableColumn. Personally, I prefer the
second version, because it should be much faster than calculating the column
size, based on the text and font settings.
author: fdietz |
SubjectTreeRenderer | public SubjectTreeRenderer(JTable table)(Code) | | Parameters: table - |
setBounds | public void setBounds(int x, int y, int w, int h)(Code) | | |
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)
|
|
|