Class MatrixCellView


  • @OpenApiAll
    public class MatrixCellView
    extends java.lang.Object
    Represents one cell element in the matrix
    • 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
    • Constructor Detail

      • MatrixCellView

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

      • 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