Class BeanListColumnConfiguration

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PROTOTYPE_SUFFIX  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getIndex​(javax.swing.table.TableColumn column)
      Get the saved index for the table column.
      java.lang.Object getPrototypeValue​(javax.swing.table.TableColumn column)
      Get the prototype value to use for calculating the column width.
      java.lang.Integer getWidth​(javax.swing.table.TableColumn column)
      Get the saved width for the table column.
      void setIndex​(javax.swing.table.TableColumn column, int index)
      Set the saved index for a table column setting.
      void setWidth​(javax.swing.table.TableColumn column, int width)
      Set the saved width for a table column setting.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PROTOTYPE_SUFFIX

        public static final java.lang.String PROTOTYPE_SUFFIX
        See Also:
        Constant Field Values
    • Constructor Detail

      • BeanListColumnConfiguration

        public BeanListColumnConfiguration​(DecoratedTable<?,​?> table)
    • Method Detail

      • getWidth

        public java.lang.Integer getWidth​(javax.swing.table.TableColumn column)
        Description copied from interface: ColumnConfiguration
        Get the saved width for the table column.
        Specified by:
        getWidth in interface ColumnConfiguration
        Parameters:
        column - the table column
        Returns:
        the saved width or null if no width has been saved
      • setWidth

        public void setWidth​(javax.swing.table.TableColumn column,
                             int width)
        Description copied from interface: ColumnConfiguration
        Set the saved width for a table column setting.
        Specified by:
        setWidth in interface ColumnConfiguration
        Parameters:
        column - the table column
        width - the width to save
      • getIndex

        public int getIndex​(javax.swing.table.TableColumn column)
        Description copied from interface: ColumnConfiguration
        Get the saved index for the table column.
        Specified by:
        getIndex in interface ColumnConfiguration
        Parameters:
        column - the table column
        Returns:
        the saved index or -1 if no index has been saved
      • setIndex

        public void setIndex​(javax.swing.table.TableColumn column,
                             int index)
        Description copied from interface: ColumnConfiguration
        Set the saved index for a table column setting.
        Specified by:
        setIndex in interface ColumnConfiguration
        Parameters:
        column - the table column
        index - the index to save
      • getPrototypeValue

        public java.lang.Object getPrototypeValue​(javax.swing.table.TableColumn column)
        Description copied from interface: ColumnConfiguration
        Get the prototype value to use for calculating the column width.
        Specified by:
        getPrototypeValue in interface ColumnConfiguration