|
Swing 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.plaf.ComponentUI | +--javax.swing.plaf.TableUI | +--javax.swing.plaf.basic.BasicTableUI
BasicTableUI implementation
Inner Class Summary | |
class |
BasicTableUI.FocusHandler
This inner class is marked "public" due to a compiler bug. |
class |
BasicTableUI.KeyHandler
This inner class is marked "public" due to a compiler bug. |
class |
BasicTableUI.MouseInputHandler
This inner class is marked "public" due to a compiler bug. |
Field Summary | |
protected java.awt.event.FocusListener |
focusListener
|
protected java.awt.event.KeyListener |
keyListener
|
protected MouseInputListener |
mouseInputListener
|
protected CellRendererPane |
rendererPane
|
protected JTable |
table
|
Constructor Summary | |
BasicTableUI()
|
Method Summary | |
protected java.awt.event.FocusListener |
createFocusListener()
Creates the focus listener for handling keyboard navigation in the JTable. |
protected java.awt.event.KeyListener |
createKeyListener()
Creates the key listener for handling keyboard navigation in the JTable. |
protected MouseInputListener |
createMouseInputListener()
Creates the mouse listener for the JTable. |
static ComponentUI |
createUI(JComponent c)
|
java.awt.Dimension |
getMaximumSize(JComponent c)
Return the maximum size of the table. |
java.awt.Dimension |
getMinimumSize(JComponent c)
Return the minimum size of the table. |
java.awt.Dimension |
getPreferredSize(JComponent c)
Return the preferred size of the table. |
protected void |
installDefaults()
Initialize JTable properties, e.g. |
protected void |
installKeyboardActions()
Register all keyboard actions on the JTable. |
protected void |
installListeners()
Attaches listeners to the JTable. |
void |
installUI(JComponent c)
|
void |
paint(java.awt.Graphics g,
JComponent c)
Paint a representation of the table instance
that was set in installUI(). |
protected void |
uninstallDefaults()
|
protected void |
uninstallKeyboardActions()
|
protected void |
uninstallListeners()
|
void |
uninstallUI(JComponent c)
|
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 |
Field Detail |
protected JTable table
protected CellRendererPane rendererPane
protected java.awt.event.KeyListener keyListener
protected java.awt.event.FocusListener focusListener
protected MouseInputListener mouseInputListener
Constructor Detail |
public BasicTableUI()
Method Detail |
protected java.awt.event.KeyListener createKeyListener()
protected java.awt.event.FocusListener createFocusListener()
protected MouseInputListener createMouseInputListener()
public static ComponentUI createUI(JComponent c)
public void installUI(JComponent c)
protected void installDefaults()
installUI(javax.swing.JComponent)
protected void installListeners()
protected void installKeyboardActions()
public void uninstallUI(JComponent c)
protected void uninstallDefaults()
protected void uninstallListeners()
protected void uninstallKeyboardActions()
public java.awt.Dimension getMinimumSize(JComponent c)
public java.awt.Dimension getPreferredSize(JComponent c)
public java.awt.Dimension getMaximumSize(JComponent c)
public void paint(java.awt.Graphics g, JComponent c)
table
instance
that was set in installUI().
|
Swing 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |