| javax.swing.table.DefaultTableCellRenderer org.skunk.swing.IconCellRenderer
All known Subclasses: org.skunk.dav.client.gui.ResourceTypeRenderer, org.skunk.dav.client.gui.LockRenderer,
IconCellRenderer | abstract public class IconCellRenderer extends DefaultTableCellRenderer (Code) | | base class for table cell renderers that displays an icon.
|
Method Summary | |
abstract protected Icon | getIcon(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) should return the icon which the table cell renderer should display. | public Component | getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) overidden to display the icon returned by getIcon() . |
getIcon | abstract protected Icon getIcon(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)(Code) | | should return the icon which the table cell renderer should display.
Parameters: table - the JTable Parameters: value - the value of the cell Parameters: isSelected - whether the cell is selected Parameters: hasFocus - whether the cell has focus Parameters: row - the row of the cell in the table Parameters: column - the column of the cell in the table the icon that should be displayed by the renderer |
getTableCellRendererComponent | public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)(Code) | | overidden to display the icon returned by getIcon() .
See Also: getIcon. |
Fields inherited from javax.swing.table.DefaultTableCellRenderer | protected static Border noFocusBorder(Code)(Java Doc)
|
Methods inherited from javax.swing.table.DefaultTableCellRenderer | protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc) public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)(Code)(Java Doc) public void invalidate()(Code)(Java Doc) public boolean isOpaque()(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 c)(Code)(Java Doc) public void setForeground(Color c)(Code)(Java Doc) protected void setValue(Object value)(Code)(Java Doc) public void updateUI()(Code)(Java Doc) public void validate()(Code)(Java Doc)
|
|
|