Class VGrid.VColumn<T>
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.grid.Grid.Column<T>
org.vaadin.firitin.components.grid.VGrid.VColumn<T>
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasStyle
,Serializable
public static class VGrid.VColumn<T>
extends com.vaadin.flow.component.grid.Grid.Column<T>
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected List
<com.vaadin.flow.component.grid.Grid.Column<?>> com.vaadin.flow.component.Component
default String
com.vaadin.flow.component.grid.Grid
<?> getGrid()
com.vaadin.flow.component.Component
default String
com.vaadin.flow.dom.Style
getStyle()
default com.vaadin.flow.component.grid.ColumnTextAlign
protected boolean
default boolean
isFrozen()
default boolean
default boolean
protected void
moveFooterContent
(com.vaadin.flow.component.grid.AbstractColumn<?> arg0) protected void
moveHeaderContent
(com.vaadin.flow.component.grid.AbstractColumn<?> arg0) protected void
setFooterComponent
(com.vaadin.flow.component.Component arg0) default com.vaadin.flow.component.grid.Grid.Column
<T> setFooterPartName
(String arg0) protected void
setFooterText
(String arg0) default com.vaadin.flow.component.grid.Grid.Column
<T> setFrozen
(boolean arg0) default com.vaadin.flow.component.grid.Grid.Column
<T> setFrozenToEnd
(boolean arg0) protected void
setHeaderComponent
(com.vaadin.flow.component.Component arg0) default com.vaadin.flow.component.grid.Grid.Column
<T> setHeaderPartName
(String arg0) protected void
setHeaderText
(String arg0) default com.vaadin.flow.component.grid.Grid.Column
<T> setResizable
(boolean arg0) protected void
setSortingIndicators
(boolean arg0) default com.vaadin.flow.component.grid.Grid.Column
<T> setTextAlign
(com.vaadin.flow.component.grid.ColumnTextAlign arg0) void
setVisible
(boolean arg0) protected void
updateSortingIndicators
(boolean arg0) Methods inherited from class com.vaadin.flow.component.grid.Grid.Column
destroyDataGenerators, getBottomLevelColumn, getClassNameGenerator, getComparator, getEditorComponent, getElement, getFlexGrow, getInternalId, getKey, getPartNameGenerator, getRenderer, getSortOrder, getTooltipGenerator, getWidth, isAutoWidth, isRowHeader, isSortable, setAutoWidth, setClassNameGenerator, setComparator, setComparator, setEditorComponent, setEditorComponent, setFlexGrow, setFooter, setFooter, setHeader, setHeader, setKey, setPartNameGenerator, setRenderer, setRowHeader, setSortable, setSortOrderProvider, setSortProperty, setTooltipGenerator, setWidth
Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
grid
protected final com.vaadin.flow.component.grid.Grid<?> grid
-
-
Constructor Details
-
VColumn
public VColumn(com.vaadin.flow.component.grid.Grid<T> grid, String columnId, com.vaadin.flow.data.renderer.Renderer<T> renderer) Constructs a new Column for use inside a Grid.- Parameters:
grid
- the grid this column is attached tocolumnId
- unique identifier of this columnrenderer
- the renderer to use in this column, must not benull
-
-
Method Details
-
getStyle
public com.vaadin.flow.dom.Style getStyle() -
getGrid
public com.vaadin.flow.component.grid.Grid<?> getGrid() -
setVisible
public void setVisible(boolean arg0) - Overrides:
setVisible
in classcom.vaadin.flow.component.Component
-
getHeaderText
-
setHeaderText
-
getHeaderComponent
public com.vaadin.flow.component.Component getHeaderComponent() -
setHeaderComponent
protected void setHeaderComponent(com.vaadin.flow.component.Component arg0) -
moveHeaderContent
protected void moveHeaderContent(com.vaadin.flow.component.grid.AbstractColumn<?> arg0) -
updateSortingIndicators
protected void updateSortingIndicators(boolean arg0) -
setSortingIndicators
protected void setSortingIndicators(boolean arg0) -
hasSortingIndicators
protected boolean hasSortingIndicators() -
getBottomChildColumns
-
setResizable
-
isResizable
@Synchronize("resizable-changed") default boolean isResizable() -
setFrozen
-
isFrozen
@Synchronize("frozen-changed") default boolean isFrozen() -
setFrozenToEnd
-
isFrozenToEnd
@Synchronize("frozen-to-end-changed") default boolean isFrozenToEnd() -
setTextAlign
default com.vaadin.flow.component.grid.Grid.Column<T> setTextAlign(com.vaadin.flow.component.grid.ColumnTextAlign arg0) -
getTextAlign
@Synchronize("text-align-changed") default com.vaadin.flow.component.grid.ColumnTextAlign getTextAlign() -
setHeaderPartName
-
getHeaderPartName
-