com.sas.swing.visuals.olaptableview
Class OLAPHeaderRenderer

com.sas.swing.visuals.olaptableview.OLAPHeaderRenderer
All Implemented Interfaces:
Constants, LayoutConstants, com.sas.util.SortDirectionInterface, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.SwingConstants, javax.swing.table.TableCellRenderer

public class OLAPHeaderRenderer
implements LayoutConstants

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sas.swing.visuals.tableview.DefaultTableHeaderRenderer
focusBorder, headerOutsideBorder, nonFocusBorder
 
Fields inherited from class com.sas.swing.visuals.tableview.DefaultTableCellRenderer
border, font, gettingRenderer, isSelected, locale, noFocusBorder, splitCharacter, transform, unselectedBackground, unselectedForeground
 
Fields inherited from class com.sas.swing.visuals.LabelView
alignmentMode, BLOCK, clipped, INDIVIDUAL, leadingContentOffset, lineGap, lineWrap, orientation, preferredSpanSize, replaceNewline, replaceTab, SPAN_FILL, tabSize, topContentOffset, wordWrap
 
Fields inherited from interface com.sas.swing.visuals.util.LayoutConstants
DOTS_BUTTON_INSETS, EMPTY_INSETS, HGAP, HMARGIN, INDENTED_BORDER, TAB_BORDER, TEXTFIELD_INSETS, VGAP, VMARGIN
 
Fields inherited from interface com.sas.util.SortDirectionInterface
ASCENDING, DESCENDING, NOT_SORTED
 
Fields inherited from interface com.sas.swing.Constants
CENTER_BOTTOM, CENTER_LEADING, CENTER_LEFT, CENTER_RIGHT, CENTER_TOP, CENTER_TRAILING
 
Constructor Summary
OLAPHeaderRenderer()
          Creates a default table cell renderer.
OLAPHeaderRenderer(java.lang.Character splitCharacter)
           
 
Method Summary
 java.awt.Component getTableCellRendererComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, boolean hasFocus, int row, int column)
          Returns the default table cell renderer.
 
Methods inherited from class com.sas.swing.visuals.tableview.SortHeaderRenderer
getAscendingIcon, getDescendingIcon, getPreferredSize, setAscendingIcon, setDescendingIcon
 
Methods inherited from class com.sas.swing.visuals.tableview.DefaultTableHeaderRenderer
createOutsideBorder, getInsets, getInsets, updateUI
 
Methods inherited from class com.sas.swing.visuals.tableview.DefaultTableCellRenderer
equals, firePropertyChange, getLocale, getSplitCharacter, getTransform, isOpaque, repaint, repaint, revalidate, setBackground, setBorder, setFont, setForeground, setLocale, setSelected, setSplitCharacter, setTransform, setValue, validate
 
Methods inherited from class com.sas.swing.visuals.LabelView
checkHorizontalKey, checkVerticalKey, getAlignmentMode, getExtendedBeanInfo, getGapBetweenLines, getHorizontalAlignment, getHorizontalTextPosition, getLeadingContentOffset, getLineWrap, getOrientation, getPreferredSpanSize, getTabSize, getTopContentOffset, getUIClassID, getVerticalAlignment, getVerticalTextPosition, getWrapStyleWord, initializeLocalVars, isClipped, setAlignmentMode, setClipped, setGapBetweenLines, setHorizontalAlignment, setHorizontalTextPosition, setLeadingContentOffset, setLineWrap, setOrientation, setPreferredSpanSize, setTabSize, setTopContentOffset, setVerticalAlignment, setVerticalTextPosition, setWrapStyleWord
 

Constructor Detail

OLAPHeaderRenderer

public OLAPHeaderRenderer()
Creates a default table cell renderer.


OLAPHeaderRenderer

public OLAPHeaderRenderer(java.lang.Character splitCharacter)
Method Detail

getTableCellRendererComponent

public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table,
                                                        java.lang.Object value,
                                                        boolean isSelected,
                                                        boolean hasFocus,
                                                        int row,
                                                        int column)
Returns the default table cell renderer.

Specified by:
getTableCellRendererComponent in interface javax.swing.table.TableCellRenderer
Overrides:
getTableCellRendererComponent in class SortHeaderRenderer
Parameters:
table - the JTable
value - the value to assign to the cell at [row, column]
isSelected - true if cell is selected
isFocus - true if cell has focus
row - the row of the cell to render
column - the column of the cell to render
Returns:
the default table cell renderer



Copyright © 2009 SAS Institute Inc. All Rights Reserved.