Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.plugin.notificationconfiguration
Class TableHeaderRenderer

java.lang.Object
  extended by net.java.sip.communicator.plugin.notificationconfiguration.TableHeaderRenderer
All Implemented Interfaces:
TableCellRenderer

 class TableHeaderRenderer
extends Object
implements TableCellRenderer

Author:
Alexandre Maillard, Yana Stamcheva

Constructor Summary
TableHeaderRenderer(JLabel JLIcon)
          Creates an instance of TableHeaderRenderer.
 
Method Summary
 Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
          Returns the rendering component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableHeaderRenderer

TableHeaderRenderer(JLabel JLIcon)
Creates an instance of TableHeaderRenderer.

Parameters:
JLIcon - the label of the column.
Method Detail

getTableCellRendererComponent

public Component getTableCellRendererComponent(JTable table,
                                               Object value,
                                               boolean isSelected,
                                               boolean hasFocus,
                                               int row,
                                               int column)
Returns the rendering component.

Specified by:
getTableCellRendererComponent in interface TableCellRenderer
Parameters:
table - the parent table
value - the value of the cell
isSelected - indicates if the cell is selected
hasFocus - indicates if the cell has the focus
row - the cell row
column - the cell column
Returns:
the rendering component

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.