Modifier and Type | Method and Description |
---|---|
GridColumn<?> |
GridColumn.getLink()
Returns the column to which this column is linked
|
Modifier and Type | Method and Description |
---|---|
List<GridColumn<?>> |
GridData.getColumns()
Returns the columns associated with the grid.
|
Modifier and Type | Method and Description |
---|---|
void |
GridData.appendColumn(GridColumn<?> column)
Appends a column to the end of the grid.
|
void |
GridData.deleteColumn(GridColumn<?> column)
Deletes a column from the grid.
|
void |
GridData.insertColumn(int index,
GridColumn<?> column)
Inserts a column to the grid at the specified index.
|
static boolean |
GridColumn.ColumnWidthMode.isAuto(GridColumn<?> column) |
static boolean |
GridColumn.ColumnWidthMode.isFixed(GridColumn<?> column) |
void |
GridData.moveColumnTo(int index,
GridColumn<?> column)
Moves a column to a new index within the grid
|
void |
GridColumn.setLink(GridColumn<?> link)
Sets the column to which this column is linked
|
void |
GridData.updateColumn(int index,
GridColumn<?> column)
Updates a column in the grid at the specified index.
|
Modifier and Type | Method and Description |
---|---|
void |
GridData.moveColumnsTo(int index,
List<GridColumn<?>> columns)
Moves columns to a new index within the grid
|
Modifier and Type | Class and Description |
---|---|
class |
BaseGridColumn<T>
Base implementation of a grid column to avoid boiler-plate for more specific implementations.
|
Modifier and Type | Field and Description |
---|---|
protected List<GridColumn<?>> |
BaseGridData.columns |
Modifier and Type | Method and Description |
---|---|
GridColumn<?> |
BaseGridColumn.getLink() |
Modifier and Type | Method and Description |
---|---|
List<GridColumn<?>> |
BaseGridData.getColumns() |
Modifier and Type | Method and Description |
---|---|
void |
BaseGridData.appendColumn(GridColumn<?> column) |
void |
BaseGridData.deleteColumn(GridColumn<?> column) |
void |
BaseGridData.insertColumn(int index,
GridColumn<?> column) |
void |
BaseGridData.moveColumnTo(int index,
GridColumn<?> column) |
void |
BaseGridColumn.setLink(GridColumn<?> link) |
void |
BaseGridData.updateColumn(int index,
GridColumn<?> column) |
Modifier and Type | Method and Description |
---|---|
void |
BaseGridData.moveColumnsTo(int index,
List<GridColumn<?>> columns) |
Modifier and Type | Method and Description |
---|---|
static int |
ColumnIndexUtilities.findUiColumnIndex(List<GridColumn<?>> columns,
int modelColumnIndex)
Finds the UI Column index corresponding to a Model Column index from the provided range of columns.
|
static int |
ColumnIndexUtilities.getHeaderBlockEndColumnIndex(List<GridColumn<?>> allColumns,
GridColumn.HeaderMetaData headerMetaData,
int headerRowIndex,
int headerColumnIndex) |
static int |
ColumnIndexUtilities.getHeaderBlockStartColumnIndex(List<GridColumn<?>> allColumns,
GridColumn.HeaderMetaData headerMetaData,
int headerRowIndex,
int headerColumnIndex) |
Modifier and Type | Method and Description |
---|---|
List<GridColumn<?>> |
GridHeaderRenderContext.getAllColumns()
Returns all columns in the block, some of which may not be visible or rendered within the Viewport.
|
List<GridColumn<?>> |
GridHeaderColumnRenderContext.getAllColumns()
Returns all columns in the block, some of which may not be visible or rendered within the Viewport.
|
List<GridColumn<?>> |
GridHeaderRenderContext.getBlockColumns()
Returns the columns to render for the block.
|
List<GridColumn<?>> |
GridHeaderColumnRenderContext.getBlockColumns()
Returns the columns to render for the block.
|
List<GridColumn<?>> |
GridBodyRenderContext.getBlockColumns()
Returns the columns to render for the block.
|
Constructor and Description |
---|
GridBodyRenderContext(double absoluteGridX,
double absoluteGridY,
double absoluteColumnOffsetX,
double clipMinY,
double clipMinX,
int minVisibleRowIndex,
int maxVisibleRowIndex,
List<GridColumn<?>> blockColumns,
com.ait.lienzo.client.core.types.Transform transform,
GridRenderer renderer,
SelectionsTransformer transformer) |
GridHeaderColumnRenderContext(double x,
List<GridColumn<?>> allColumns,
List<GridColumn<?>> blockColumns,
int columnIndex,
GridData model,
GridRenderer renderer) |
GridHeaderColumnRenderContext(double x,
List<GridColumn<?>> allColumns,
List<GridColumn<?>> blockColumns,
int columnIndex,
GridData model,
GridRenderer renderer) |
GridHeaderRenderContext(List<GridColumn<?>> allColumns,
List<GridColumn<?>> blockColumns) |
GridHeaderRenderContext(List<GridColumn<?>> allColumns,
List<GridColumn<?>> blockColumns) |
Modifier and Type | Method and Description |
---|---|
List<GridColumn<?>> |
GridWidgetDnDHandlersState.getActiveGridColumns()
Returns the active columns being affected by the current the operation.
|
Modifier and Type | Method and Description |
---|---|
protected double |
GridWidgetDnDMouseMoveHandler.adjustColumnWidth(double columnNewWidth,
GridColumn<?> activeGridColumn,
GridWidget activeGridWidget) |
Modifier and Type | Method and Description |
---|---|
void |
GridWidgetDnDHandlersState.setActiveGridColumns(List<GridColumn<?>> activeGridColumns)
Sets the active columns to be affected by the current the operation.
|
protected void |
GridWidgetDnDMouseDownHandler.showColumnHighlight(GridWidget view,
List<GridColumn<?>> activeGridColumns) |
Modifier and Type | Class and Description |
---|---|
class |
BooleanDOMElementColumn |
class |
ListBoxDOMElementSingletonColumn |
class |
RowNumberColumn |
class |
StringDOMElementColumn |
class |
StringDOMElementSingletonColumn |
class |
StringPopupColumn |
Modifier and Type | Field and Description |
---|---|
protected List<GridColumn<?>> |
BaseGridWidget.allColumns |
protected List<GridColumn<?>> |
BaseGridWidget.bodyColumns |
protected List<GridColumn<?>> |
BaseGridWidget.floatingColumns |
Modifier and Type | Method and Description |
---|---|
GridColumn<?> |
GridWidgetConnector.getSourceColumn()
Get the source Column from which the Connector originates.
|
GridColumn<?> |
GridWidgetConnector.getTargetColumn()
Get the target Column to which the Connector terminates.
|
Modifier and Type | Method and Description |
---|---|
protected List<GridRenderer.RendererCommand> |
BaseGridWidget.renderGridBodyWidget(List<GridColumn<?>> blockColumns,
double absoluteColumnOffsetX,
int minVisibleRowIndex,
int maxVisibleRowIndex,
SelectionsTransformer transformer,
BaseGridRendererHelper.RenderingInformation renderingInformation)
Render the Widget's Body and append to this Group.
|
protected List<GridRenderer.RendererCommand> |
BaseGridWidget.renderGridHeaderWidget(List<GridColumn<?>> allColumns,
List<GridColumn<?>> blockColumns,
BaseGridRendererHelper.RenderingInformation renderingInformation)
Render the Widget's Header and append to this Group.
|
protected List<GridRenderer.RendererCommand> |
BaseGridWidget.renderGridHeaderWidget(List<GridColumn<?>> allColumns,
List<GridColumn<?>> blockColumns,
BaseGridRendererHelper.RenderingInformation renderingInformation)
Render the Widget's Header and append to this Group.
|
protected GridRenderer.RendererCommand |
BaseGridWidget.renderSelectedRanges(List<GridColumn<?>> blockColumns,
double absoluteColumnOffsetX,
int minVisibleRowIndex,
int maxVisibleRowIndex,
SelectionsTransformer transformer,
BaseGridRendererHelper.RenderingInformation renderingInformation,
List<GridData.SelectedCell> selectedCells,
BiFunction<SelectedRange,Integer,Double> selectedCellsYOffsetStrategy,
Function<SelectedRange,Double> selectedCellsHeightStrategy)
Render the selected ranges and append to the Body Group.
|
Constructor and Description |
---|
GridWidgetConnector(GridColumn<?> sourceColumn,
GridColumn<?> targetColumn) |
GridWidgetConnector(GridColumn<?> sourceColumn,
GridColumn<?> targetColumn) |
Modifier and Type | Method and Description |
---|---|
List<GridRenderer.RendererCommand> |
GridColumnRenderer.renderColumn(GridColumn<?> column,
GridBodyColumnRenderContext context,
BaseGridRendererHelper rendererHelper,
BaseGridRendererHelper.RenderingInformation renderingInformation,
BiFunction<Boolean,GridColumn<?>,Boolean> columnRenderingConstraint)
Renders the column.textual information to support rendering
|
Modifier and Type | Method and Description |
---|---|
List<GridRenderer.RendererCommand> |
GridColumnRenderer.renderColumn(GridColumn<?> column,
GridBodyColumnRenderContext context,
BaseGridRendererHelper rendererHelper,
BaseGridRendererHelper.RenderingInformation renderingInformation,
BiFunction<Boolean,GridColumn<?>,Boolean> columnRenderingConstraint)
Renders the column.textual information to support rendering
|
List<GridRenderer.RendererCommand> |
GridColumnRenderer.renderHeader(List<GridColumn.HeaderMetaData> headerMetaData,
GridHeaderColumnRenderContext context,
BaseGridRendererHelper.RenderingInformation renderingInformation,
BiFunction<Boolean,GridColumn<?>,Boolean> columnRenderingConstraint)
Renders the column's Header..
|
Modifier and Type | Method and Description |
---|---|
void |
GridRenderer.setColumnRenderConstraint(BiFunction<Boolean,GridColumn<?>,Boolean> columnRenderingConstraint)
Sets the constraint to control rendering of columns.
|
Modifier and Type | Field and Description |
---|---|
protected BiFunction<Boolean,GridColumn<?>,Boolean> |
BaseGridRenderer.columnRenderingConstraint |
protected List<GridColumn<?>> |
DefaultSelectionsTransformer.columns |
Modifier and Type | Method and Description |
---|---|
GridColumn<?> |
BaseGridRendererHelper.ColumnInformation.getColumn()
The GridWidget's column corresponding to the grid-relative x-coordinate, or null if none was found.
|
Modifier and Type | Method and Description |
---|---|
List<GridColumn<?>> |
BaseGridRendererHelper.RenderingInformation.getAllColumns() |
protected List<GridColumn<?>> |
FloatingSelectionsTransformer.getApplicableColumns() |
protected List<GridColumn<?>> |
DefaultSelectionsTransformer.getApplicableColumns() |
List<GridColumn<?>> |
BaseGridRendererHelper.RenderingBlockInformation.getColumns() |
Modifier and Type | Method and Description |
---|---|
double |
BaseGridRendererHelper.getColumnOffset(GridColumn<?> column)
Get the x-offset for a given Column in the model relative to zero.
|
Modifier and Type | Method and Description |
---|---|
double |
BaseGridRendererHelper.getColumnOffset(List<GridColumn<?>> columns,
int columnIndex)
Get the x-offset for a given Column index in a list of Columns relative to zero.
|
double |
BaseGridRendererHelper.getWidth(List<GridColumn<?>> columns)
Get the width of a set of columns, ignoring hidden columns.
|
protected com.ait.lienzo.client.core.shape.Group |
BaseGridRenderer.renderSelectedRange(List<GridColumn<?>> blockColumns,
int minVisibleUiColumnIndex,
SelectedRange selectedRange,
Function<SelectedRange,Double> selectedCellsHeightStrategy) |
void |
BaseGridRenderer.setColumnRenderConstraint(BiFunction<Boolean,GridColumn<?>,Boolean> columnRenderingConstraint) |
Constructor and Description |
---|
ColumnInformation(GridColumn<?> column,
int uiColumnIndex,
double offsetX) |
Constructor and Description |
---|
DefaultSelectionsTransformer(GridData model,
List<GridColumn<?>> columns) |
FloatingSelectionsTransformer(GridData model,
List<GridColumn<?>> columns) |
RenderingBlockInformation(List<GridColumn<?>> columns,
double x,
double headerY,
double bodyY,
double width) |
RenderingInformation(Bounds bounds,
List<GridColumn<?>> allColumns,
BaseGridRendererHelper.RenderingBlockInformation bodyBlockInformation,
BaseGridRendererHelper.RenderingBlockInformation floatingBlockInformation,
int minVisibleRowIndex,
int maxVisibleRowIndex,
List<Double> allRowHeights,
List<Double> visibleRowOffsets,
boolean isFixedHeader,
boolean isFloatingHeader,
int headerRowCount,
double headerRowHeight,
double headerRowsHeight,
double headerRowsYOffset) |
Modifier and Type | Method and Description |
---|---|
com.ait.lienzo.client.core.shape.Rectangle |
GridRendererTheme.getBodyBackground(GridColumn<?> column)
Delegates the Body's background Rectangle to sub-classes.
|
com.ait.lienzo.client.core.shape.Rectangle |
GridRendererTheme.getHeaderBackground(GridColumn<?> column)
Delegates the Header's background Rectangle to sub-classes.
|
com.ait.lienzo.client.core.shape.Rectangle |
GridRendererTheme.getHeaderLinkBackground(GridColumn<?> column)
Delegates the Header's background Rectangle, used for "linked" columns to sub-classes.
|
Modifier and Type | Method and Description |
---|---|
com.ait.lienzo.client.core.shape.Rectangle |
RedTheme.getBodyBackground(GridColumn<?> column) |
com.ait.lienzo.client.core.shape.Rectangle |
MultiColouredTheme.getBodyBackground(GridColumn<?> column) |
com.ait.lienzo.client.core.shape.Rectangle |
GreenTheme.getBodyBackground(GridColumn<?> column) |
com.ait.lienzo.client.core.shape.Rectangle |
BlueTheme.getBodyBackground(GridColumn<?> column) |
com.ait.lienzo.client.core.shape.Rectangle |
RedTheme.getHeaderBackground(GridColumn<?> column) |
com.ait.lienzo.client.core.shape.Rectangle |
MultiColouredTheme.getHeaderBackground(GridColumn<?> column) |
com.ait.lienzo.client.core.shape.Rectangle |
GreenTheme.getHeaderBackground(GridColumn<?> column) |
com.ait.lienzo.client.core.shape.Rectangle |
BlueTheme.getHeaderBackground(GridColumn<?> column) |
com.ait.lienzo.client.core.shape.Rectangle |
RedTheme.getHeaderLinkBackground(GridColumn<?> column) |
com.ait.lienzo.client.core.shape.Rectangle |
MultiColouredTheme.getHeaderLinkBackground(GridColumn<?> column) |
com.ait.lienzo.client.core.shape.Rectangle |
GreenTheme.getHeaderLinkBackground(GridColumn<?> column) |
com.ait.lienzo.client.core.shape.Rectangle |
BlueTheme.getHeaderLinkBackground(GridColumn<?> column) |
Modifier and Type | Method and Description |
---|---|
void |
GridSelectionManager.selectLinkedColumn(GridColumn<?> selectedGridColumn) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultGridLayer.selectLinkedColumn(GridColumn<?> selectedGridColumn) |
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.