All Packages This Package Class Hierarchy Class Search Index
Class grendel.widgets.DefaultHeaderRenderer
java.lang.Object | +----java.awt.Component | +----java.awt.Container | +----com.sun.java.swing.JComponent | +----grendel.widgets.DefaultHeaderRenderer
The default renderer for column headers. Handles text headers and not much else. Aspires to handle icons.
public class DefaultHeaderRenderer extends com.sun.java.swing.JComponent implements grendel.widgets.HeaderRenderer { // Fields 5 Column fColumn; Border fEmptyBorder; Border fLoweredBorder; Border fRaisedBorder; int fState; // Constructors 1 public DefaultHeaderRenderer(); // Methods 6 public Component getComponent(); public Dimension getMaximumSize(); public Dimension getMinimumSize(); public Dimension getPreferredSize(); public void paint(Graphics); public void setValue(Column, int); }
Fields
fColumn
Column fColumn
fState
int fState
fRaisedBorder
Border fRaisedBorder
fLoweredBorder
Border fLoweredBorder
fEmptyBorder
Border fEmptyBorder
Constructors
DefaultHeaderRenderer
public DefaultHeaderRenderer()
Methods
setValue
public void setValue(Column aColumn, int aState)
- Implements:
- setValue in interface HeaderRenderer
getComponent
public Component getComponent()
- Implements:
- getComponent in interface HeaderRenderer
getPreferredSize
public Dimension getPreferredSize()
- Overrides:
- getPreferredSize in class JComponent
getMinimumSize
public Dimension getMinimumSize()
- Overrides:
- getMinimumSize in class JComponent
getMaximumSize
public Dimension getMaximumSize()
- Overrides:
- getMaximumSize in class JComponent
paint
public void paint(Graphics g)
- Overrides:
- paint in class JComponent
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4