Class JTableState

  • All Implemented Interfaces:
    State
    Direct Known Subclasses:
    JXTableSwingSessionState

    public class JTableState
    extends Object
    implements State
    State for JTable. TODO add support for column order change
    Since:
    2.5.16
    Author:
    poussin, Kevin Morin - morin@codelutin.com
    • Field Detail

      • columnWidths

        protected int[] columnWidths
    • Constructor Detail

      • JTableState

        public JTableState()
      • JTableState

        public JTableState​(int[] columnWidths,
                           Map<Integer,​String> sortKeys)
    • Method Detail

      • getColumnWidths

        public int[] getColumnWidths()
      • setColumnWidths

        public void setColumnWidths​(int[] columnWidths)
      • checkComponent

        protected JTable checkComponent​(Object o)