Documentation of 'smile.swing.table.TableColumnSettings' Java class
TableColumnSettings
smile.swing.table

Class TableColumnSettings

  • All Implemented Interfaces:
    java.util.EventListener, javax.swing.event.TableColumnModelListener


    public class TableColumnSettings
    extends java.lang.Object
    implements javax.swing.event.TableColumnModelListener
    • Constructor Summary

      Constructors 
      Constructor and Description
      TableColumnSettings(java.lang.String id)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void apply(javax.swing.JTable table)
      Apply this column settings to given table.
      void columnAdded(javax.swing.event.TableColumnModelEvent tcme) 
      void columnMarginChanged(javax.swing.event.ChangeEvent e) 
      void columnMoved(javax.swing.event.TableColumnModelEvent tcme) 
      void columnRemoved(javax.swing.event.TableColumnModelEvent tcme) 
      void columnSelectionChanged(javax.swing.event.ListSelectionEvent lse) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TableColumnSettings

        public TableColumnSettings(java.lang.String id)
        Constructor.
        Parameters:
        id - The id of table to save and restore column settings (width, order, visible).
    • Method Detail

      • apply

        public void apply(javax.swing.JTable table)
        Apply this column settings to given table. This object will also listen to table column model events.
        Parameters:
        table - A JTable to apply column settings.
      • columnMarginChanged

        public void columnMarginChanged(javax.swing.event.ChangeEvent e)
        Specified by:
        columnMarginChanged in interface javax.swing.event.TableColumnModelListener
      • columnAdded

        public void columnAdded(javax.swing.event.TableColumnModelEvent tcme)
        Specified by:
        columnAdded in interface javax.swing.event.TableColumnModelListener
      • columnRemoved

        public void columnRemoved(javax.swing.event.TableColumnModelEvent tcme)
        Specified by:
        columnRemoved in interface javax.swing.event.TableColumnModelListener
      • columnMoved

        public void columnMoved(javax.swing.event.TableColumnModelEvent tcme)
        Specified by:
        columnMoved in interface javax.swing.event.TableColumnModelListener
      • columnSelectionChanged

        public void columnSelectionChanged(javax.swing.event.ListSelectionEvent lse)
        Specified by:
        columnSelectionChanged in interface javax.swing.event.TableColumnModelListener

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.