@OpenApiAll
public abstract class AbstractMatrixCell
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static AbstractMatrixCell |
EMPTY_EDITABLE_CELL
Returns static editable cell
|
static AbstractMatrixCell |
EMPTY_READONLY_CELL
Returns static read-only cell
|
static AbstractMatrixCell |
UNKNOWN_CELL
Empty cell with unknown read-only status
|
Constructor and Description |
---|
AbstractMatrixCell() |
Modifier and Type | Method and Description |
---|---|
abstract java.util.Collection<DependencyEntry> |
getDependencies()
Dependency entry list
|
java.lang.String |
getDescription() |
static AbstractMatrixCell |
getStaticCell(ReadOnlyFlags readOnlyFlags)
Get static cell according to provided readonly flags
|
MatrixCellView |
getView()
Creates or returns already created matrix view object
|
boolean |
isEditable() |
static boolean |
isStaticCell(AbstractMatrixCell value)
Checks whether it is
AbstractMatrixCell.EMPTY_READONLY_CELL or AbstractMatrixCell.EMPTY_EDITABLE_CELL |
boolean |
isUnknownEditableState()
This means that this cell editable state is unknown, and needs to be updated
|
static boolean |
isUnknownStaticCell(AbstractMatrixCell cell)
Checks if this is static cell with unknown read-only state
|
abstract void |
setDependencies(java.util.Collection<DependencyEntry> dependencies)
Set new collection with cell dependency list
|
public static final AbstractMatrixCell EMPTY_EDITABLE_CELL
public static final AbstractMatrixCell EMPTY_READONLY_CELL
public static final AbstractMatrixCell UNKNOWN_CELL
public boolean isEditable()
public boolean isUnknownEditableState()
@Nonnull public abstract java.util.Collection<DependencyEntry> getDependencies()
public abstract void setDependencies(java.util.Collection<DependencyEntry> dependencies)
dependencies
- new dependency list for the cellpublic MatrixCellView getView()
@CheckForNull public java.lang.String getDescription()
public static AbstractMatrixCell getStaticCell(ReadOnlyFlags readOnlyFlags)
readOnlyFlags
- readonly flags for static cell selectionpublic static boolean isUnknownStaticCell(AbstractMatrixCell cell)
cell
- cell to checkpublic static boolean isStaticCell(AbstractMatrixCell value)
AbstractMatrixCell.EMPTY_READONLY_CELL
or AbstractMatrixCell.EMPTY_EDITABLE_CELL
value
- cell to check