001 package com.croftsoft.core.gui.table; 002 003 import javax.swing.event.*; 004 import javax.swing.table.*; 005 006 /********************************************************************* 007 * An abstract adapter class for interface TableColumnModelListener. 008 * 009 * <p> 010 * The methods in this class are empty. This class exists as a 011 * convenience for creating TableColumnModelListener implementations. 012 * Extend this class to create a TableColumnModelEvent listener and 013 * override the methods for the events of interest. If you implement 014 * the TableColumnModelListener interface, you have to define all of 015 * the methods in it. This abstract class defines null methods for 016 * them all, so you can only have to define methods for events you 017 * care about. 018 * Create a listener object using the extended class and then register 019 * it with a TableColumnModel implementation using the 020 * addTableColumnModelListener method. 021 * </p> 022 * 023 * @see 024 * javax.swing.event.TableColumnModelListener 025 * @see 026 * javax.swing.table.TableColumnModel 027 * 028 * @version 029 * 2001-10-29 030 * @since 031 * 2001-10-29 032 * @author 033 * <a href="https://www.croftsoft.com/">David Wallace Croft</a> 034 *********************************************************************/ 035 036 public class TableColumnModelAdapter 037 implements TableColumnModelListener 038 ////////////////////////////////////////////////////////////////////// 039 ////////////////////////////////////////////////////////////////////// 040 { 041 042 public void columnAdded ( TableColumnModelEvent e ) { } 043 044 public void columnMarginChanged ( ChangeEvent e ) { } 045 046 public void columnMoved ( TableColumnModelEvent e ) { } 047 048 public void columnRemoved ( TableColumnModelEvent e ) { } 049 050 public void columnSelectionChanged ( ListSelectionEvent e ) { } 051 052 ////////////////////////////////////////////////////////////////////// 053 ////////////////////////////////////////////////////////////////////// 054 }