java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TableUI
javax.swing.plaf.basic.BasicTableUI
org.gui4j.core.swing.MultiLineBasicTableUI
- public class MultiLineBasicTableUI
- extends javax.swing.plaf.basic.BasicTableUI
| Nested classes inherited from class javax.swing.plaf.basic.BasicTableUI |
javax.swing.plaf.basic.BasicTableUI.FocusHandler, javax.swing.plaf.basic.BasicTableUI.KeyHandler, javax.swing.plaf.basic.BasicTableUI.MouseInputHandler |
| Methods inherited from class javax.swing.plaf.basic.BasicTableUI |
createFocusListener, createKeyListener, createMouseInputListener, createUI, installDefaults, installKeyboardActions, installListeners, installUI, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiLineBasicTableUI
public MultiLineBasicTableUI()
createTableSize
private java.awt.Dimension createTableSize(long width)
getMinimumSize
public java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
- Description copied from class:
javax.swing.plaf.basic.BasicTableUI
- Return the minimum size of the table. The minimum height is the row
height times the number of rows. The minimum width is the sum of
the minimum widths of each column.
getPreferredSize
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
- Return the preferred size of the table. The preferred height is the
row height (plus inter-cell spacing) times the number of rows.
The preferred width is the sum of the preferred widths of each column
(plus inter-cell spacing).
getMaximumSize
public java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
- Return the maximum size of the table. The maximum height is the
row height (plus inter-cell spacing) times the number of rows.
The maximum width is the sum of the maximum widths of each column
(plus inter-cell spacing).
paint
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
- Description copied from class:
javax.swing.plaf.ComponentUI
- Paints the component according to the design guidelines
of the look and feel. Most subclasses will want to override
this method.
paintGrid
private void paintGrid(java.awt.Graphics g)
paintHorizontalLines
private void paintHorizontalLines(java.awt.Graphics g)
paintVerticalLines
private void paintVerticalLines(java.awt.Graphics g)
paintRow
private void paintRow(java.awt.Graphics g,
int row)
paintCell
private void paintCell(java.awt.Graphics g,
java.awt.Rectangle cellRect,
int row,
int column)
lastVisibleRow
private int lastVisibleRow(java.awt.Rectangle clip)