jaxx.runtime.swing.renderer
Class DecoratorTableCellRenderer
java.lang.Object
jaxx.runtime.swing.renderer.DecoratorTableCellRenderer
- All Implemented Interfaces:
- TableCellRenderer
public class DecoratorTableCellRenderer
- extends Object
- implements TableCellRenderer
A TableCellRenderer which compute text with the given decorator
and leave the hand to the delegate to perform the visual renderer.
- Since:
- 1.7.2 (was previously
jaxx.runtime.swing.DecoratorTableCellRenderer).
- Author:
- tchemit
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
delegate
protected TableCellRenderer delegate
- Delegate cell renderer
decorator
protected Decorator<?> decorator
- Decorator to produce text to render
DecoratorTableCellRenderer
public DecoratorTableCellRenderer(Decorator<?> decorator)
DecoratorTableCellRenderer
public DecoratorTableCellRenderer(TableCellRenderer delegate,
Decorator<?> decorator)
getTableCellRendererComponent
public Component getTableCellRendererComponent(JTable table,
Object value,
boolean isSelected,
boolean hasfocus,
int row,
int column)
- Specified by:
getTableCellRendererComponent in interface TableCellRenderer
Copyright © 2008-2011 CodeLutin. All Rights Reserved.