API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.basic. BasicTableHeaderUI View Source
Author(s)
Alan Chung
Philip Milne
Since
Version
1.77 07/28/06
Serial
Hierarchy
 Object
      ComponentUI
          TableHeaderUI
              BasicTableHeaderUI
Implements
Subclasses
Description
public class BasicTableHeaderUI
BasicTableHeaderUI implementation
See also:   
Constructors
public BasicTableHeaderUI ()
Methods
Hide/Show inherited methods
public boolean contains (JComponent c, int x, int y) [Inherited From ComponentUI]
  Returns true if the specified x,y location is contained within the look and feel's defined shape of the specified component.
protected MouseInputListener createMouseInputListener ()
Creates the mouse listener for the JTableHeader.
publicstatic ComponentUI createUI (JComponent h) [Overrides ComponentUI]
public Accessible getAccessibleChild (JComponent c, int i) [Inherited From ComponentUI]
  Returns the ith Accessible child of the object.
public int getAccessibleChildrenCount (JComponent c) [Inherited From ComponentUI]
  Returns the number of accessible children in the object.
public int getBaseline (JComponent c, int width, int height) [Overrides ComponentUI]
  Returns the baseline.
public BaselineResizeBehavior getBaselineResizeBehavior (JComponent c) [Inherited From ComponentUI]
  Returns an enum indicating how the baseline of he component changes as the size changes.
public Dimension getMaximumSize (JComponent c) [Overrides ComponentUI]
  Return the maximum size of the header.
public Dimension getMinimumSize (JComponent c) [Overrides ComponentUI]
  Return the minimum size of the header.
public Dimension getPreferredSize (JComponent c) [Overrides ComponentUI]
  Return the preferred size of the header.
protected int getRolloverColumn ()
  Returns the index of the column header over which the mouse currently is.
protected void installDefaults ()
  Initialize JTableHeader properties, e.g.
protected void installKeyboardActions ()
Register all keyboard actions on the JTableHeader.
protected void installListeners ()
Attaches listeners to the JTableHeader.
public void installUI (JComponent c) [Overrides ComponentUI]
pack-privatestatic void loadActionMap (LazyActionMap map)
Populates TableHeader's actions.
public void paint (Graphics g, JComponent c) [Overrides ComponentUI]
protected void rolloverColumnUpdated (int oldColumn, int newColumn)
  This method gets called every time the rollover column in the table header is updated.
pack-private void selectColumn (int newColIndex)
  Selects the specified column in the table header.
protected void uninstallDefaults ()
protected void uninstallKeyboardActions ()
Unregisters default key actions.
protected void uninstallListeners ()
public void uninstallUI (JComponent c) [Overrides ComponentUI]
public void update (Graphics g, JComponent c) [Inherited From ComponentUI]
  Notifies this UI delegate that it's time to paint the specified component.
Fields
Hide/Show inherited fields
protected JTableHeader header
The JTableHeader that is delegating the painting to this UI.
protected MouseInputListener mouseInputListener
protected CellRendererPane rendererPane
Nested Classes
  BasicTableHeaderUI.MouseInputHandler
This inner class is marked "public" due to a compiler bug.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar