Package rma.swing.table
Class TableHeaderPrintUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TableHeaderUI
javax.swing.plaf.basic.BasicTableHeaderUI
rma.swing.table.TableHeaderPrintUI
- All Implemented Interfaces:
PrintUI
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTableHeaderUI
BasicTableHeaderUI.MouseInputHandler -
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicTableHeaderUI
header, mouseInputListener, rendererPane -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinstallUI(JComponent aJComponent) voidpaint(Graphics g, JComponent c) The paint method was overrided to provide support for printing.voidMethods inherited from class javax.swing.plaf.basic.BasicTableHeaderUI
createMouseInputListener, createUI, getBaseline, getMaximumSize, getMinimumSize, getPreferredSize, getRolloverColumn, installDefaults, installKeyboardActions, installListeners, rolloverColumnUpdated, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUIMethods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaselineResizeBehavior, update
-
Constructor Details
-
TableHeaderPrintUI
public TableHeaderPrintUI()
-
-
Method Details
-
installUI
- Specified by:
installUIin interfacePrintUI- Overrides:
installUIin classBasicTableHeaderUI
-
setProperties
- Specified by:
setPropertiesin interfacePrintUI
-
paint
The paint method was overrided to provide support for printing. This print method does not support drawing dragged columns because you can't drag them when printing. It also supports the new way of drawing headers with borders. The bounding rectangles for the header components are setup so the overlapp. This way you don't get a 1 pixel space between each header component.- Specified by:
paintin interfacePrintUI- Overrides:
paintin classBasicTableHeaderUI
-