public abstract class AbstractColumn<C extends AbstractColumn<C>> extends AbstractComponent<C> implements Column<C>
Column.ColumnAttributes
Constructor and Description |
---|
AbstractColumn() |
AbstractColumn(Column<?> component) |
AbstractColumn(String type) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getAlign()
Defines the alignment of column data as either "left", "center", or "right".
|
String |
getColSpan()
Defines the number of column lengths this column spans.
|
String |
getName()
The name of the property this column will display.
|
String |
getWidth()
Defines a fixed width for this column.
|
int |
hashCode() |
boolean |
isSortable()
Whether or not the column is sortable.
|
void |
setAlign(String align)
Sets the alignment.
|
void |
setColSpan(String colSpan)
Sets the column span.
|
void |
setName(String name)
Sets the name.
|
void |
setSortable(boolean sortable)
Sets whether or not sortable.
|
void |
setWidth(String width)
Sets the width of the column.
|
compareTo, getActions, getAttributes, getAugmentationKey, getClassifier, getComponents, getConditionals, getDescription, getEndpoints, getId, getLabel, getOrder, getScope, getType, isTranslatable, setActions, setAttributes, setAugmentationKey, setClassifier, setComponents, setConditionals, setDescription, setEndpoints, setId, setLabel, setOrder, setScope, setTranslatable, setType, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
align, alignCenter, alignLeft, alignRight, colSpan, colSpan, filterAndSortAlias, name, notSortable, sortable, sortable, width
addAction, addAction, addComponent, addEndpoint, addEndpoint, apply, attribute, augmentationKey, classifier, clearConditionals, clearEndpoints, conditional, conditionals, description, description, findAction, findAction, findActions, findAttribute, findComponent, findComponent, findComponents, findEndpoint, findEndpoint, findEndpoints, get, get, getAction, getAction, getActions, getActionsList, getAttribute, getAttribute, getAttributes, getAugmentationKey, getClassifier, getComponent, getComponent, getComponents, getComponentsList, getConditionals, getDescription, getEndpoint, getEndpoint, getEndpoints, getEndpointsList, getId, getLabel, getOrder, getScope, getType, hasAction, hasAttribute, hasComponent, hasEndpoint, id, isAugmentable, isTranslatable, label, label, notTranslatable, order, removeAction, removeAttribute, removeComponent, removeEndpoint, scope, self, setActions, setAttributes, setAugmentationKey, setClassifier, setComponents, setConditionals, setDescription, setEndpoints, setId, setLabel, setOrder, setScope, setTranslatable, setType, translatable, translatable, type
compareTo
public AbstractColumn()
public AbstractColumn(String type)
public AbstractColumn(Column<?> component)
public String getAlign()
Column
getAlign
in interface Column<C extends AbstractColumn<C>>
public String getColSpan()
Column
getColSpan
in interface Column<C extends AbstractColumn<C>>
public String getName()
Column
getName
in interface Column<C extends AbstractColumn<C>>
public boolean isSortable()
Column
isSortable
in interface Column<C extends AbstractColumn<C>>
public String getWidth()
Column
Supports width values compatible with the CSS width property, for example:
getWidth
in interface Column<C extends AbstractColumn<C>>
public void setAlign(String align)
Column
setAlign
in interface Column<C extends AbstractColumn<C>>
align
- the alignmentpublic void setColSpan(String colSpan)
Column
setColSpan
in interface Column<C extends AbstractColumn<C>>
colSpan
- the col spanpublic void setName(String name)
Column
setName
in interface Column<C extends AbstractColumn<C>>
name
- the namepublic void setSortable(boolean sortable)
Column
setSortable
in interface Column<C extends AbstractColumn<C>>
sortable
- whether or not sortablepublic void setWidth(String width)
Column
setWidth
in interface Column<C extends AbstractColumn<C>>
width
- the widthpublic boolean equals(Object o)
equals
in class AbstractComponent<C extends AbstractColumn<C>>
protected boolean canEqual(Object other)
canEqual
in class AbstractComponent<C extends AbstractColumn<C>>
public int hashCode()
hashCode
in class AbstractComponent<C extends AbstractColumn<C>>
Copyright © 2021. All rights reserved.