com.metamatrix.console.ui.views.runtime
Class ServiceMgmtPanel.ServiceMgmtCellRenderer

java.lang.Object
  extended by com.metamatrix.toolbox.ui.widget.table.DefaultTableCellRenderer
      extended by com.metamatrix.console.ui.views.runtime.ServiceMgmtPanel.ServiceMgmtCellRenderer
All Implemented Interfaces:
javax.swing.SwingConstants, javax.swing.table.TableCellRenderer
Enclosing class:
ServiceMgmtPanel

public final class ServiceMgmtPanel.ServiceMgmtCellRenderer
extends DefaultTableCellRenderer


Nested Class Summary
 
Nested classes/interfaces inherited from class com.metamatrix.toolbox.ui.widget.table.DefaultTableCellRenderer
DefaultTableCellRenderer.DefaultBooleanComponent, DefaultTableCellRenderer.DefaultTextComponent
 
Field Summary
 
Fields inherited from class com.metamatrix.toolbox.ui.widget.table.DefaultTableCellRenderer
checkBoxBorder, noFocusBorder
 
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Constructor Summary
ServiceMgmtPanel.ServiceMgmtCellRenderer()
           
 
Method Summary
 java.awt.Component getTableCellRendererComponent(javax.swing.JTable theTable, java.lang.Object theValue, boolean theSelectedFlag, boolean theHasFocusFlag, int theRow, int theColumn)
          Returns the appropriate Component to render the value in the specified table at the specified row and column indexes.
 
Methods inherited from class com.metamatrix.toolbox.ui.widget.table.DefaultTableCellRenderer
initializeComponent, setBooleanComponent, setTextComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceMgmtPanel.ServiceMgmtCellRenderer

public ServiceMgmtPanel.ServiceMgmtCellRenderer()
Method Detail

getTableCellRendererComponent

public java.awt.Component getTableCellRendererComponent(javax.swing.JTable theTable,
                                                        java.lang.Object theValue,
                                                        boolean theSelectedFlag,
                                                        boolean theHasFocusFlag,
                                                        int theRow,
                                                        int theColumn)
Description copied from class: DefaultTableCellRenderer
Returns the appropriate Component to render the value in the specified table at the specified row and column indexes.

Specified by:
getTableCellRendererComponent in interface javax.swing.table.TableCellRenderer
Overrides:
getTableCellRendererComponent in class DefaultTableCellRenderer
Parameters:
theTable - The table containing the value
theValue - The value
theSelectedFlag - True if the cell containing the value is currently selected
theHasFocusFlag - True if the cell containing the value currently has focus
theRow - The row index of the cell containing the value
theColumn - The column index of the cell containing the value
Returns:
A CheckBox for boolean values, a LabelWidget with right-justified text for numeric values, and a LabelWidget with left-justified text for all other values.


Copyright © 2009. All Rights Reserved.