All Packages This Package Class Hierarchy Class Search Index
Class grendel.widgets.DefaultCellRenderer
java.lang.Object | +----java.awt.Component | +----java.awt.Container | +----com.sun.java.swing.JComponent | +----grendel.widgets.DefaultCellRenderer
The default TreeTable cell renderer. Handles text and not much else.
See Also: TreeTable, CellRenderer
public class DefaultCellRenderer extends com.sun.java.swing.JComponent implements grendel.widgets.CellRenderer { // Fields 3 protected Object fData; protected Object fObject; protected boolean fSelected; // Constructors 1 public DefaultCellRenderer(); // Methods 6 public Component getComponent(); public Dimension getMaximumSize(); public Dimension getMinimumSize(); public Dimension getPreferredSize(); public void paint(Graphics); public void setValue(Object, Object, boolean); }
Fields
fObject
protected Object fObject
fData
protected Object fData
fSelected
protected boolean fSelected
Constructors
DefaultCellRenderer
public DefaultCellRenderer()
Methods
setValue
public void setValue(Object aObject, Object aData, boolean aSelected)
- Implements:
- setValue in interface CellRenderer
getComponent
public Component getComponent()
- Implements:
- getComponent in interface CellRenderer
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