| 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.
|
protected void |
setValue(GridCellValue<T> value) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetSupportedEditActionprotected GridCellValue<T> value
public BaseGridCell(GridCellValue<T> value)
public GridCellValue<T> getValue()
GridCellprotected void setValue(GridCellValue<T> value)
public boolean isMerged()
GridCellpublic int getMergedCellCount()
GridCellgetMergedCellCount in interface GridCell<T>public boolean isCollapsed()
GridCellisCollapsed in interface GridCell<T>public void collapse()
GridCellpublic void expand()
GridCellpublic void reset()
GridCellpublic CellSelectionStrategy getSelectionStrategy()
GridCellgetSelectionStrategy in interface GridCell<T>public void setSelectionStrategy(CellSelectionStrategy selectionStrategy)
GridCellsetSelectionStrategy in interface GridCell<T>Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.