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
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.util.SortDirectionInterface |
ASCENDING, DESCENDING, NOT_SORTED |
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 |
OLAPHeaderRenderer
public OLAPHeaderRenderer()
- Creates a default table cell renderer.
OLAPHeaderRenderer
public OLAPHeaderRenderer(java.lang.Character splitCharacter)
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 selectedisFocus
- true if cell has focusrow
- the row of the cell to rendercolumn
- the column of the cell to render
- Returns:
- the default table cell renderer
Copyright © 2009 SAS Institute Inc. All Rights Reserved.