org.bdgp.swing.multiheighttable
Class MultiheightTableUI
java.lang.Object
|
+--javax.swing.plaf.ComponentUI
|
+--javax.swing.plaf.TableUI
|
+--javax.swing.plaf.basic.BasicTableUI
|
+--org.bdgp.swing.multiheighttable.MultiheightTableUI
- public class MultiheightTableUI
- extends javax.swing.plaf.basic.BasicTableUI
Inner 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 |
Fields inherited from class javax.swing.plaf.basic.BasicTableUI |
focusListener, keyListener, mouseInputListener, rendererPane, table |
Method Summary |
java.awt.Dimension |
getMaximumSize(javax.swing.JComponent c)
Return the maximum size of the table. |
java.awt.Dimension |
getMinimumSize(javax.swing.JComponent c)
Return the minimum size of the table. |
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c)
Return the preferred size of the table. |
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
|
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 javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiheightTableUI
public MultiheightTableUI()
getMinimumSize
public java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
- Return the minimum size of the table. The minimum height is the
row height (plus inter-cell spacing) times the number of rows.
The minimum width is the sum of the minimum widths of each column
(plus inter-cell spacing).
- Overrides:
getMinimumSize
in class javax.swing.plaf.basic.BasicTableUI
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).
- Overrides:
getPreferredSize
in class javax.swing.plaf.basic.BasicTableUI
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).
- Overrides:
getMaximumSize
in class javax.swing.plaf.basic.BasicTableUI
paint
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
- Overrides:
paint
in class javax.swing.plaf.basic.BasicTableUI