Modifier and Type | Field and Description |
---|---|
protected GridCellValue<T> |
value |
DEFAULT_EDIT_ACTION
Constructor and Description |
---|
BaseGridCell(GridCellValue<T> value) |
Modifier and Type | Method and Description |
---|---|
void |
collapse()
Collapse the cell.
|
boolean |
equals(Object o) |
void |
expand()
Expand the cell.
|
int |
getMergedCellCount()
Returns the number of cells merged into this cell.
|
CellSelectionStrategy |
getSelectionStrategy()
Returns the CellSelectionStrategy to handle selections of the cell.
|
GridCellValue<T> |
getValue()
Returns the value holder for the cell.
|
int |
hashCode() |
boolean |
isCollapsed()
Returns whether the cell is collapsed.
|
boolean |
isMerged()
Returns whether the cell is in a merged state
|
void |
reset()
Reset the cell to a non-merged, non-collapsed state.
|
void |
setSelectionStrategy(CellSelectionStrategy selectionStrategy)
Sets the CellSelectionStrategy to handle selections of the cell.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getSupportedEditAction
protected GridCellValue<T> value
public BaseGridCell(GridCellValue<T> value)
public GridCellValue<T> getValue()
GridCell
public boolean isMerged()
GridCell
public int getMergedCellCount()
GridCell
getMergedCellCount
in interface GridCell<T>
public boolean isCollapsed()
GridCell
isCollapsed
in interface GridCell<T>
public void collapse()
GridCell
public void expand()
GridCell
public void reset()
GridCell
public CellSelectionStrategy getSelectionStrategy()
GridCell
getSelectionStrategy
in interface GridCell<T>
public void setSelectionStrategy(CellSelectionStrategy selectionStrategy)
GridCell
setSelectionStrategy
in interface GridCell<T>
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.