@OpenApiAll
public class MatrixCellView
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MatrixCellView.DirectionIcon |
static class |
MatrixCellView.DoubleDirectionIcon |
Modifier and Type | Field and Description |
---|---|
static MatrixCellView |
EMPTY_EDITABLE
Display empty but editable cell
|
static MatrixCellView |
EMPTY_READONLY
Display empty read-only cell
|
static MatrixCellView |
NULL_CELL
Static value to represent null valued cell view
|
Constructor and Description |
---|
MatrixCellView(AbstractMatrixCell cell)
Creates new cell view
|
Modifier and Type | Method and Description |
---|---|
AbstractMatrixCell |
getCell() |
javax.swing.Icon |
getIcon()
Returns representation icon for this cell
|
static javax.swing.Icon |
getIcon(DependencyDirection direction) |
static javax.swing.Icon |
getIcon(DependencyDirection direction,
MatrixCellStyle cellStyle) |
java.lang.String |
getToolTipText() |
boolean |
isEditable() |
void |
setToolTipText(java.lang.String text)
Sets tooltip text describing the content of the cell
|
public static final MatrixCellView NULL_CELL
public static final MatrixCellView EMPTY_EDITABLE
public static final MatrixCellView EMPTY_READONLY
public MatrixCellView(@CheckForNull AbstractMatrixCell cell)
cell
- matrix cell@CheckForNull public AbstractMatrixCell getCell()
public boolean isEditable()
@CheckForNull public javax.swing.Icon getIcon()
public static javax.swing.Icon getIcon(DependencyDirection direction, MatrixCellStyle cellStyle)
public static javax.swing.Icon getIcon(DependencyDirection direction)
@CheckForNull public java.lang.String getToolTipText()
public void setToolTipText(@CheckForNull java.lang.String text)