Class MatrixCellView
- java.lang.Object
-
- com.nomagic.magicdraw.dependencymatrix.datamodel.cell.MatrixCellView
-
@OpenApiAll public class MatrixCellView extends java.lang.ObjectRepresents one cell element in the matrix
-
-
Field Summary
Fields Modifier and Type Field Description static MatrixCellViewEMPTY_CELLDisplay empty but editable cellstatic MatrixCellViewEMPTY_EDITABLEDeprecated.useEMPTY_CELLstatic MatrixCellViewEMPTY_READONLYDeprecated.useEMPTY_CELLstatic MatrixCellViewNULL_CELLStatic value to represent null valued cell view
-
Constructor Summary
Constructors Constructor Description MatrixCellView(AbstractMatrixCell cell)Creates new cell view
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractMatrixCellgetCell()javax.swing.IcongetIcon()Returns representation icon for this celljava.lang.StringgetToolTipText()booleanisEditable()voidsetToolTipText(java.lang.String text)Sets tooltip text describing the content of the cell
-
-
-
Field Detail
-
NULL_CELL
public static final MatrixCellView NULL_CELL
Static value to represent null valued cell view
-
EMPTY_CELL
public static final MatrixCellView EMPTY_CELL
Display empty but editable cell
-
EMPTY_EDITABLE
@Deprecated public static final MatrixCellView EMPTY_EDITABLE
Deprecated.useEMPTY_CELL
-
EMPTY_READONLY
@Deprecated public static final MatrixCellView EMPTY_READONLY
Deprecated.useEMPTY_CELL
-
-
Constructor Detail
-
MatrixCellView
public MatrixCellView(@CheckForNull AbstractMatrixCell cell)Creates new cell view- Parameters:
cell- matrix cell
-
-
Method Detail
-
getCell
@CheckForNull public AbstractMatrixCell getCell()
- Returns:
- matrix cell.
-
isEditable
public boolean isEditable()
- Returns:
- is cell editable
-
getIcon
@CheckForNull public javax.swing.Icon getIcon()
Returns representation icon for this cell- Returns:
- cell representation icon
-
getToolTipText
@CheckForNull public java.lang.String getToolTipText()
- Returns:
- tooltip text describing the content of the cell
-
setToolTipText
public void setToolTipText(@CheckForNull java.lang.String text)Sets tooltip text describing the content of the cell
-
-