com.sas.swing.visuals.tableview
Class DefaultTableHeaderRenderer
com.sas.swing.visuals.tableview.DefaultTableHeaderRenderer
All Implemented Interfaces: Constants , java.awt.image.ImageObserver , java.awt.MenuContainer , java.io.Serializable , javax.accessibility.Accessible , javax.swing.SwingConstants , javax.swing.table.TableCellRenderer
Direct Known Subclasses: DefaultRowHeaderRenderer , SortHeaderRenderer
public class DefaultTableHeaderRenderer
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
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
focusBorder
protected javax.swing.border.Border focusBorder
nonFocusBorder
protected javax.swing.border.Border nonFocusBorder
headerOutsideBorder
protected javax.swing.border.Border headerOutsideBorder
DefaultTableHeaderRenderer
public DefaultTableHeaderRenderer ()
Creates a default table cell renderer.
DefaultTableHeaderRenderer
public DefaultTableHeaderRenderer (java.lang.Character splitCharacter)
createOutsideBorder
protected javax.swing.border.Border createOutsideBorder ()
updateUI
public void updateUI ()
Notification from the UIManager
that the look and feel
[L&F] has changed.
Replaces the current UI object with the latest version from the
UIManager
.
Overrides: updateUI
in class DefaultTableCellRenderer
See Also: JComponent.updateUI()
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 DefaultTableCellRenderer
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
getInsets
public java.awt.Insets getInsets ()
If a border has been set on this component, returns the
border's insets; otherwise calls super.getInsets.
Overrides: getInsets
in class javax.swing.JComponent
Returns: the value of the insets property See Also: JComponent.setBorder(javax.swing.border.Border)
getInsets
public java.awt.Insets getInsets (java.awt.Insets insets)
Returns an Insets object containing this component's inset
values. The passed-in Insets object will be reused if possible.
Calling methods cannot assume that the same object will be returned,
however. All existing values within this object are overwritten.
Overrides: getInsets
in class javax.swing.JComponent
Parameters: insets
- the Insets object, which can be reusedSee Also: getInsets()
Copyright © 2009 SAS Institute Inc. All Rights Reserved.