Interface TableColumnModel<V>

    • Field Detail

      • STYLE_ID_PROPERTY

        static final java.lang.String STYLE_ID_PROPERTY
        The bound property of the column style ID.
      • VALIDATOR_PROPERTY

        static final java.lang.String VALIDATOR_PROPERTY
        The validator bound property.
      • VISIBLE_PROPERTY

        static final java.lang.String VISIBLE_PROPERTY
        The bound property of whether the column is visible.
    • Method Detail

      • getValueClass

        java.lang.Class<V> getValueClass()
        Returns:
        The class representing the type of values this model can hold.
      • isEditable

        boolean isEditable()
        Returns:
        Whether the cells in this table column model are editable and will allow the the user to change their values.
      • setEditable

        void setEditable​(boolean newEditable)
        Sets whether the cells in this table column model are editable and will allow the the user to change their values. This is a bound property of type Boolean.
        Parameters:
        newEditable - true if the table column cells should allow the user to change their values.
        See Also:
        EditComponent.EDITABLE_PROPERTY
      • getStyleID

        java.lang.String getStyleID()
        Returns:
        The style identifier, or null if there is no style ID.
      • setStyleID

        void setStyleID​(java.lang.String newStyleID)
        Identifies the style for the column. This is a bound property.
        Parameters:
        newStyleID - The style identifier, or null if there is no style ID.
        See Also:
        STYLE_ID_PROPERTY
      • getValidator

        Validator<V> getValidator()
        Returns:
        The validator for cells in this column, or null if no validator is installed.
      • setValidator

        void setValidator​(Validator<V> newValidator)
        Sets the validator. This is a bound property
        Parameters:
        newValidator - The validator for cells in this column, or null if no validator should be used.
        See Also:
        VALIDATOR_PROPERTY
      • isVisible

        boolean isVisible()
        Returns:
        Whether the column is visible.
      • setVisible

        void setVisible​(boolean newVisible)
        Sets whether the column is visible. This is a bound property of type Boolean.
        Parameters:
        newVisible - true if the column should be visible, else false.
        See Also:
        VISIBLE_PROPERTY