Class Table.CellComponentState

  • Enclosing class:
    Table

    protected static class Table.CellComponentState
    extends AbstractCompositeStateComponent.ComponentState
    An encapsulation of a component for a cell along with other metadata, such as whether the component was editable when created.
    Author:
    Garret Wilson
    • Constructor Detail

      • CellComponentState

        public CellComponentState​(Component component,
                                  boolean editable)
        Constructor
        Parameters:
        component - The component for a cell.
        editable - Whether the component is for a cell that was editable when the component was created.
        Throws:
        java.lang.NullPointerException - if the given component is null.
    • Method Detail

      • isEditable

        public boolean isEditable()
        Returns:
        Whether the component is for a cell that was editable when the component was created.