com.sas.swing.visuals.olaptableview
Class BasicOLAPColumnHeaderUI
com.sas.swing.visuals.olaptableview.BasicOLAPColumnHeaderUI
public class BasicOLAPColumnHeaderUI
header
protected OLAPColumnHeader header
resizingLevel
protected boolean resizingLevel
The JTableHeader that is delegating the painting to this UI.
resizingLevelIndex
protected int resizingLevelIndex
resizingColumn
protected boolean resizingColumn
resizingRowHeader
protected boolean resizingRowHeader
BasicOLAPColumnHeaderUI
public BasicOLAPColumnHeaderUI ()
viewIndexForColumn
protected int viewIndexForColumn (int column)
Overrides: viewIndexForColumn
in class BasicColumnHeaderUI
modelIndexForColumn
protected int modelIndexForColumn (int column)
Overrides: modelIndexForColumn
in class BasicColumnHeaderUI
setResizingLevelIndex
public void setResizingLevelIndex (int newValue)
getResizingLevelIndex
public int getResizingLevelIndex ()
setResizingColumn
public void setResizingColumn (boolean newValue)
Overrides: setResizingColumn
in class BasicColumnHeaderUI
isResizingColumn
public boolean isResizingColumn ()
Overrides: isResizingColumn
in class BasicColumnHeaderUI
setResizingRowHeader
public void setResizingRowHeader (boolean newValue)
isResizingRowHeader
public boolean isResizingRowHeader ()
createUI
public static javax.swing.plaf.ComponentUI createUI (javax.swing.JComponent h)
installUI
public void installUI (javax.swing.JComponent c)
Overrides: installUI
in class javax.swing.plaf.basic.BasicTableHeaderUI
createMouseInputListener
protected javax.swing.event.MouseInputListener createMouseInputListener ()
Creates the mouse listener for the JTable.
Overrides: createMouseInputListener
in class BasicColumnHeaderUI
paint
public void paint (java.awt.Graphics g,
javax.swing.JComponent c)
Overrides: paint
in class BasicColumnHeaderUI
getHeaderHeight
protected int getHeaderHeight ()
Overrides: getHeaderHeight
in class BasicColumnHeaderUI
createHeaderSize
protected java.awt.Dimension createHeaderSize (long width)
Overrides: createHeaderSize
in class BasicColumnHeaderUI
getPreferredSize
public java.awt.Dimension getPreferredSize (javax.swing.JComponent c)
Description copied from class: BasicColumnHeaderUI
Return the preferred size of the header. The preferred height is the
maximum of the preferred heights of all of the components provided
by the header renderers. The preferred width is the sum of the
preferred widths of each column (plus inter-cell spacing).
Overrides: getPreferredSize
in class BasicColumnHeaderUI
Copyright © 2009 SAS Institute Inc. All Rights Reserved.