Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Class EntityTableCellRendererFactory
java.lang.Object
is.codion.swing.framework.ui.EntityTableCellRendererFactory
- All Implemented Interfaces:
FilterTableCellRenderer.Factory<Entity,Attribute<?>>
public class EntityTableCellRendererFactory
extends Object
implements FilterTableCellRenderer.Factory<Entity,Attribute<?>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> FilterTableCellRenderer.Builder<Entity, Attribute<?>, T> builder(AttributeDefinition<T> attributeDefinition) final FilterTableCellRenderer<Entity, Attribute<?>, ?> create(Attribute<?> attribute, FilterTable<Entity, Attribute<?>> table) protected <T> FilterTableCellRenderer<Entity, Attribute<?>, T> create(AttributeDefinition<T> attributeDefinition, SwingEntityTableModel tableModel)
-
Constructor Details
-
EntityTableCellRendererFactory
public EntityTableCellRendererFactory()
-
-
Method Details
-
create
public final FilterTableCellRenderer<Entity,Attribute<?>, create?> (Attribute<?> attribute, FilterTable<Entity, Attribute<?>> table) - Specified by:
createin interfaceFilterTableCellRenderer.Factory<Entity,Attribute<?>> - Parameters:
attribute- the attributetable- the table- Returns:
- a new
FilterTableCellRendererfor the given attribute
-
create
protected <T> FilterTableCellRenderer<Entity,Attribute<?>, createT> (AttributeDefinition<T> attributeDefinition, SwingEntityTableModel tableModel) - Type Parameters:
T- the attribute type- Parameters:
attributeDefinition- the attribute definitiontableModel- the table model- Returns:
- a new
FilterTableCellRendererfor the given attribute
-
builder
protected <T> FilterTableCellRenderer.Builder<Entity,Attribute<?>, builderT> (AttributeDefinition<T> attributeDefinition) - Type Parameters:
T- the attribute value type- Parameters:
attributeDefinition- the attribute definition- Returns:
- a
FilterTableCellRenderer.Builderbased on the given attribute
-