protected final class WAbstractTable.Column extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
Variant.RecordVariant |
def
forms::GridColumn, not null, present.
|
com.vaadin.ui.CustomTable.ColumnGenerator |
generator
The column generator to render this column, may be null if the value should simply be shown as String.
|
Constructor and Description |
---|
Column(Variant.RecordVariant def) |
Modifier and Type | Method and Description |
---|---|
FilterConfig |
getFilterConfig()
Gets the filter configuration defined for this table column.
|
ValueProvider |
getFilterValueProvider()
Returns the value provider for this column filter.
|
Variant.RecordVariant |
getFilterValueProviderDef()
Returns the filter value provider for this column.
|
String |
getHeader()
Gets the column header text.
|
com.vaadin.ui.CustomTable.Align |
getHeaderAlignment()
Gets the current setting of the header alignment or
CustomTable.Align.LEFT
if no explicit alignment of the header is set. |
String |
getHeaderStyleName()
Gets style name applied to this column header.
|
Serializable |
getPropertyId()
The Grid property ID, equals to
def . |
ValueProvider |
getSortValueProvider()
Returns the value provider for this column sort.
|
Variant.RecordVariant |
getSortValueProviderDef()
Returns the sort value provider for this column.
|
ValueProvider |
getValueProvider()
Returns the value provider for this column.
|
Variant.RecordVariant |
getValueProviderDef()
Returns the value provider for this column.
|
boolean |
isFiltrable()
Checks whether the column is filterable.
|
boolean |
isSortable() |
void |
setHeader(String header)
Sets the column header text.
|
void |
setHeaderAlignment(com.vaadin.ui.CustomTable.Align alignment)
Sets the explicit header alignment settings.
|
void |
setHeaderStyleName(String styleName)
Sets the header style name.
|
public final Variant.RecordVariant def
public final com.vaadin.ui.CustomTable.ColumnGenerator generator
public Column(Variant.RecordVariant def)
public Serializable getPropertyId()
def
.public Variant.RecordVariant getValueProviderDef()
public Variant.RecordVariant getFilterValueProviderDef()
public Variant.RecordVariant getSortValueProviderDef()
public ValueProvider getValueProvider()
public ValueProvider getFilterValueProvider()
getValueProvider()
}.public ValueProvider getSortValueProvider()
getValueProvider()
}.public boolean isSortable()
public boolean isFiltrable()
public FilterConfig getFilterConfig()
null
if no filter configuration is definedpublic com.vaadin.ui.CustomTable.Align getHeaderAlignment()
CustomTable.Align.LEFT
if no explicit alignment of the header is set.public void setHeaderAlignment(com.vaadin.ui.CustomTable.Align alignment)
null
means
to use the default alignment which is left.alignment
- the alignment to set.public void setHeader(String header)
header
- the header to setpublic String getHeader()
public void setHeaderStyleName(String styleName)
styleName
- the style name to set.public String getHeaderStyleName()
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.