JIDE 3.5.15

com.jidesoft.plaf.basic
Class BasicJideTableUIDelegate

java.lang.Object
  extended by com.jidesoft.plaf.basic.BasicJideTableUIDelegate
All Implemented Interfaces:
TableUIDelegate
Direct Known Subclasses:
BasicNavigableTableUIDelegate

public class BasicJideTableUIDelegate
extends Object
implements TableUIDelegate

The TableUI based on BasicTableUI. It's almost the same as BasicTableUI except the methods paintCell() and paintGrid() methods are protected so that subclasses can override those methods.


Field Summary
protected  CellRendererPane rendererPane
           
protected  JTable table
           
 
Constructor Summary
BasicJideTableUIDelegate(JTable table, CellRendererPane rendererPane)
           
 
Method Summary
protected  void adjustCellEditor(Graphics g, Rectangle cellRect, int row, int column)
           
 void paint(Graphics g, JComponent c)
          Copied from BasicTableUI - jdk6 u10
 void paintCell(Graphics g, Rectangle cellRect, int row, int column)
           
 void paintDraggedArea(Graphics g, int rMin, int rMax, TableColumn draggedColumn, int distance)
           
 void paintGrid(Graphics g, int rMin, int rMax, int cMin, int cMax)
           
protected  int viewIndexForColumn(TableColumn aColumn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

table

protected JTable table

rendererPane

protected CellRendererPane rendererPane
Constructor Detail

BasicJideTableUIDelegate

public BasicJideTableUIDelegate(JTable table,
                                CellRendererPane rendererPane)
Method Detail

paint

public void paint(Graphics g,
                  JComponent c)
Copied from BasicTableUI - jdk6 u10

Parameters:
g - the Graphics instance
c - the component to paint

paintGrid

public void paintGrid(Graphics g,
                      int rMin,
                      int rMax,
                      int cMin,
                      int cMax)

viewIndexForColumn

protected int viewIndexForColumn(TableColumn aColumn)

paintDraggedArea

public void paintDraggedArea(Graphics g,
                             int rMin,
                             int rMax,
                             TableColumn draggedColumn,
                             int distance)

paintCell

public void paintCell(Graphics g,
                      Rectangle cellRect,
                      int row,
                      int column)

adjustCellEditor

protected void adjustCellEditor(Graphics g,
                                Rectangle cellRect,
                                int row,
                                int column)

JIDE 3.5.15