unbbayes.gui.table
Class GroupableTableHeaderUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TableHeaderUI
javax.swing.plaf.basic.BasicTableHeaderUI
unbbayes.gui.table.GroupableTableHeaderUI
public class GroupableTableHeaderUI
- extends BasicTableHeaderUI
This class paints groupable header cells. These can be a combination of
normal header cells and groupable cells.
Field Summary |
protected Vector |
paintedGroups
Contains a list of ColumnGroups that have already been painted
in the current paint request. |
Methods inherited from class javax.swing.plaf.basic.BasicTableHeaderUI |
createMouseInputListener, createUI, getBaseline, getMaximumSize, getMinimumSize, getRolloverColumn, installDefaults, installKeyboardActions, installListeners, installUI, rolloverColumnUpdated, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
paintedGroups
protected Vector paintedGroups
- Contains a list of ColumnGroups that have already been painted
in the current paint request.
GroupableTableHeaderUI
public GroupableTableHeaderUI()
paint
public void paint(Graphics g,
JComponent c)
- Paint a representation of the table header.
- Overrides:
paint
in class BasicTableHeaderUI
- Parameters:
g
- the Graphics context in which to paintc
- the component being painted; this argument is often ignored
getPreferredSize
public Dimension getPreferredSize(JComponent c)
- Invokes the getPreferredSize method on each UI handled by this object.
- Overrides:
getPreferredSize
in class BasicTableHeaderUI
- Parameters:
c
- the component whose preferred size is being queried; this argument is ignored.
- Returns:
- the dimension of the whole header
Copyright © 2001-2010 University of Brasilia - UnB. All Rights Reserved.