public class AssertableCellDecorator extends CellDecorator
enabled
Constructor and Description |
---|
AssertableCellDecorator()
Creates a new cell decorator.
|
Modifier and Type | Method and Description |
---|---|
void |
decorate(JComponent component,
Graphics g,
Cell cell,
boolean selected,
boolean hasFocus)
Decorates the given graphics context if the cell being rendered
has an assertion error.
|
isEnabled, setEnabled
public AssertableCellDecorator()
public void decorate(JComponent component, Graphics g, Cell cell, boolean selected, boolean hasFocus)
decorate
in class CellDecorator
component
- the cell renderer componentg
- the graphics context on which drawing should be donecell
- the cell being renderedselected
- whether the cell is selectedhasFocus
- whether the cell has focus