All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.swing.basic.BasicTableUI
java.lang.Object
|
+----com.sun.java.swing.basic.BasicTableUI
- public class BasicTableUI
- extends Object
- implements TableUI, MouseListener, MouseMotionListener, FocusListener, CellEditorListener
BasicTableUI implementation
-
controlKeyDown
-
-
firstCellIndex
-
-
hasPress
-
-
hitColumn
-
-
hitColumnIndex
-
-
hitRowIndex
-
-
isSelecting
-
-
selectedBackgroundColor
-
-
zeroInsets
- insets
-
BasicTableUI()
-
-
createUI(JTable)
-
-
deinstallUI(JComponent)
-
-
drawGridInClipRect(Rectangle, Graphics)
- Draws the grid lines within aRect, using the grid color set with
setGridColor.
-
drawRowInClipRect(int, Rectangle, Graphics)
- Draws the cells for the row at rowIndex in the columns that intersect
clipRect.
-
editingCanceled(ChangeEvent)
-
-
editingStarted(ChangeEvent)
-
-
editingStopped(ChangeEvent)
-
-
focusGained(FocusEvent)
-
-
focusLost(FocusEvent)
-
-
getInsets(JComponent)
-
-
getMaximumSize(JComponent)
-
-
getMinimumSize(JComponent)
-
-
getPreferredSize(JComponent)
-
-
installUI(JComponent)
-
-
mouseClicked(MouseEvent)
-
-
mouseDragged(MouseEvent)
-
-
mouseEntered(MouseEvent)
-
-
mouseExited(MouseEvent)
-
-
mouseMoved(MouseEvent)
-
-
mousePressed(MouseEvent)
-
-
mouseReleased(MouseEvent)
-
-
paint(Graphics, JComponent)
-
-
prepareEditor(TableCellEditor, JTable, JTableColumn, int)
-
-
prepareRenderer(TableCellRenderer, JTable, JTableColumn, int)
-
-
updateSelection(MouseEvent)
-
selectedBackgroundColor
protected static final Color selectedBackgroundColor
hasPress
protected boolean hasPress
hitColumnIndex
protected int hitColumnIndex
hitRowIndex
protected int hitRowIndex
hitColumn
protected JTableColumn hitColumn
controlKeyDown
protected boolean controlKeyDown
isSelecting
protected boolean isSelecting
firstCellIndex
protected int firstCellIndex
zeroInsets
protected static final Insets zeroInsets
- insets
BasicTableUI
public BasicTableUI()
createUI
public static BasicTableUI createUI(JTable table)
installUI
public void installUI(JComponent c)
deinstallUI
public void deinstallUI(JComponent c)
focusGained
public void focusGained(FocusEvent e)
focusLost
public void focusLost(FocusEvent e)
mouseMoved
public void mouseMoved(MouseEvent e)
mouseDragged
public void mouseDragged(MouseEvent e)
mouseClicked
public void mouseClicked(MouseEvent e)
mousePressed
public void mousePressed(MouseEvent e)
mouseReleased
public void mouseReleased(MouseEvent e)
mouseEntered
public void mouseEntered(MouseEvent e)
mouseExited
public void mouseExited(MouseEvent e)
editingStarted
public void editingStarted(ChangeEvent e)
editingStopped
public void editingStopped(ChangeEvent e)
editingCanceled
public void editingCanceled(ChangeEvent e)
paint
public void paint(Graphics g,
JComponent c)
getMinimumSize
public Dimension getMinimumSize(JComponent c)
getPreferredSize
public Dimension getPreferredSize(JComponent c)
getMaximumSize
public Dimension getMaximumSize(JComponent c)
getInsets
public Insets getInsets(JComponent c)
drawGridInClipRect
protected void drawGridInClipRect(Rectangle rect,
Graphics g)
- Draws the grid lines within aRect, using the grid color set with
setGridColor.
This method draws a grid regardless of whether the receiver is set to draw
one automatically.
Subclasses can override this method to draw grid lines other than the
standard ones.
drawRowInClipRect
public void drawRowInClipRect(int row,
Rectangle rect,
Graphics g)
- Draws the cells for the row at rowIndex in the columns that intersect
clipRect. Subclasses can override this method to customize their appearance.
prepareRenderer
protected void prepareRenderer(TableCellRenderer renderer,
JTable table,
JTableColumn aColumn,
int row)
prepareEditor
protected void prepareEditor(TableCellEditor editor,
JTable table,
JTableColumn aColumn,
int row)
updateSelection
protected void updateSelection(MouseEvent e)
All Packages Class Hierarchy This Package Previous Next Index