com.jidesoft.plaf.basic
Class BasicJideTableUIDelegate
java.lang.Object
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.
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 |
table
protected JTable table
rendererPane
protected CellRendererPane rendererPane
BasicJideTableUIDelegate
public BasicJideTableUIDelegate(JTable table,
CellRendererPane rendererPane)
paint
public void paint(Graphics g,
JComponent c)
- Copied from BasicTableUI - jdk6 u10
- Parameters:
g
- the Graphics instancec
- 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)