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


Variable Index

 o controlKeyDown
 o firstCellIndex
 o hasPress
 o hitColumn
 o hitColumnIndex
 o hitRowIndex
 o isSelecting
 o selectedBackgroundColor
 o zeroInsets
insets

Constructor Index

 o BasicTableUI()

Method Index

 o createUI(JTable)
 o deinstallUI(JComponent)
 o drawGridInClipRect(Rectangle, Graphics)
Draws the grid lines within aRect, using the grid color set with setGridColor.
 o drawRowInClipRect(int, Rectangle, Graphics)
Draws the cells for the row at rowIndex in the columns that intersect clipRect.
 o editingCanceled(ChangeEvent)
 o editingStarted(ChangeEvent)
 o editingStopped(ChangeEvent)
 o focusGained(FocusEvent)
 o focusLost(FocusEvent)
 o getInsets(JComponent)
 o getMaximumSize(JComponent)
 o getMinimumSize(JComponent)
 o getPreferredSize(JComponent)
 o installUI(JComponent)
 o mouseClicked(MouseEvent)
 o mouseDragged(MouseEvent)
 o mouseEntered(MouseEvent)
 o mouseExited(MouseEvent)
 o mouseMoved(MouseEvent)
 o mousePressed(MouseEvent)
 o mouseReleased(MouseEvent)
 o paint(Graphics, JComponent)
 o prepareEditor(TableCellEditor, JTable, JTableColumn, int)
 o prepareRenderer(TableCellRenderer, JTable, JTableColumn, int)
 o updateSelection(MouseEvent)

Variables

 o selectedBackgroundColor
 protected static final Color selectedBackgroundColor
 o hasPress
 protected boolean hasPress
 o hitColumnIndex
 protected int hitColumnIndex
 o hitRowIndex
 protected int hitRowIndex
 o hitColumn
 protected JTableColumn hitColumn
 o controlKeyDown
 protected boolean controlKeyDown
 o isSelecting
 protected boolean isSelecting
 o firstCellIndex
 protected int firstCellIndex
 o zeroInsets
 protected static final Insets zeroInsets
insets

Constructors

 o BasicTableUI
 public BasicTableUI()

Methods

 o createUI
 public static BasicTableUI createUI(JTable table)
 o installUI
 public void installUI(JComponent c)
 o deinstallUI
 public void deinstallUI(JComponent c)
 o focusGained
 public void focusGained(FocusEvent e)
 o focusLost
 public void focusLost(FocusEvent e)
 o mouseMoved
 public void mouseMoved(MouseEvent e)
 o mouseDragged
 public void mouseDragged(MouseEvent e)
 o mouseClicked
 public void mouseClicked(MouseEvent e)
 o mousePressed
 public void mousePressed(MouseEvent e)
 o mouseReleased
 public void mouseReleased(MouseEvent e)
 o mouseEntered
 public void mouseEntered(MouseEvent e)
 o mouseExited
 public void mouseExited(MouseEvent e)
 o editingStarted
 public void editingStarted(ChangeEvent e)
 o editingStopped
 public void editingStopped(ChangeEvent e)
 o editingCanceled
 public void editingCanceled(ChangeEvent e)
 o paint
 public void paint(Graphics g,
                   JComponent c)
 o getMinimumSize
 public Dimension getMinimumSize(JComponent c)
 o getPreferredSize
 public Dimension getPreferredSize(JComponent c)
 o getMaximumSize
 public Dimension getMaximumSize(JComponent c)
 o getInsets
 public Insets getInsets(JComponent c)
 o 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.

 o 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.

 o prepareRenderer
 protected void prepareRenderer(TableCellRenderer renderer,
                                JTable table,
                                JTableColumn aColumn,
                                int row)
 o prepareEditor
 protected void prepareEditor(TableCellEditor editor,
                              JTable table,
                              JTableColumn aColumn,
                              int row)
 o updateSelection
 protected void updateSelection(MouseEvent e)

All Packages  Class Hierarchy  This Package  Previous  Next  Index