public class MultiDecoratorTableCelleRenderer extends Object implements TableCellRenderer
TableCellRenderer which compute text with the matching decorator
from decorators based on the type of value and leave the hand to
the delegate to perform the visual renderer.| Modifier and Type | Field and Description |
|---|---|
protected org.nuiton.decorator.Decorator<?>[] |
decorators
decorators for accepted types
|
protected TableCellRenderer |
delegate
Delegate cell renderer
|
protected List<Class<?>> |
types
accepted types
|
| Constructor and Description |
|---|
MultiDecoratorTableCelleRenderer(org.nuiton.decorator.JXPathDecorator<?>... decorator) |
MultiDecoratorTableCelleRenderer(TableCellRenderer delegate,
org.nuiton.decorator.JXPathDecorator<?>... decorator) |
| Modifier and Type | Method and Description |
|---|---|
Component |
getTableCellRendererComponent(JTable table,
Object value,
boolean isSelected,
boolean hasfocus,
int row,
int column) |
protected final TableCellRenderer delegate
protected org.nuiton.decorator.Decorator<?>[] decorators
public MultiDecoratorTableCelleRenderer(org.nuiton.decorator.JXPathDecorator<?>... decorator)
public MultiDecoratorTableCelleRenderer(TableCellRenderer delegate, org.nuiton.decorator.JXPathDecorator<?>... decorator)
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasfocus, int row, int column)
getTableCellRendererComponent in interface TableCellRendererCopyright © 2008–2018 Ultreia.io. All rights reserved.