java.lang.Object
com.nomagic.magicdraw.dependencymatrix.datamodel.cell.MatrixCellView

@OpenApiAll public class MatrixCellView extends Object
Represents one cell element in the matrix
  • Field Details

  • Constructor Details

    • MatrixCellView

      public MatrixCellView(@CheckForNull AbstractMatrixCell cell)
      Creates new cell view
      Parameters:
      cell - matrix cell
  • Method Details

    • getCell

      @CheckForNull public AbstractMatrixCell getCell()
      Returns:
      matrix cell.
    • isEditable

      public boolean isEditable()
      Returns:
      is cell editable
    • getIcon

      @CheckForNull public Icon getIcon()
      Returns representation icon for this cell
      Returns:
      cell representation icon
    • getToolTipText

      @CheckForNull public String getToolTipText()
      Returns:
      tooltip text describing the content of the cell
    • setToolTipText

      public void setToolTipText(@CheckForNull String text)
      Sets tooltip text describing the content of the cell