com.gwtext.client.widgets.grid.event
Interface ColumnModelListener

All Known Implementing Classes:
ColumnModelListenerAdapter

public interface ColumnModelListener


Method Summary
 void onColumnLockChange(ColumnModel cm, int colIndex, boolean locked)
          Fires when a column's locked state is changed.
 void onColumnMoved(ColumnModel cm, int oldIndex, int newIndex)
          Fires when a column is moved.
 void onHeaderChange(ColumnModel cm, int columnIndex, java.lang.String newText)
          Fires when the text of a header changes.
 void onHiddenChange(ColumnModel cm, int colIndex, boolean hidden)
          Fires when a column is hidden or "unhidden".
 void onWidthChange(ColumnModel cm, int colIndex, int newWidth)
          Fires when the width of a column changes.
 

Method Detail

onColumnLockChange

void onColumnLockChange(ColumnModel cm,
                        int colIndex,
                        boolean locked)
Fires when a column's locked state is changed.

Parameters:
cm - this
colIndex - the column index
locked - true if locked

onColumnMoved

void onColumnMoved(ColumnModel cm,
                   int oldIndex,
                   int newIndex)
Fires when a column is moved.

Parameters:
cm - this
oldIndex - the old column index
newIndex - the new column index

onHeaderChange

void onHeaderChange(ColumnModel cm,
                    int columnIndex,
                    java.lang.String newText)
Fires when the text of a header changes.

Parameters:
cm - this
columnIndex - the column index
newText - the new header text

onHiddenChange

void onHiddenChange(ColumnModel cm,
                    int colIndex,
                    boolean hidden)
Fires when a column is hidden or "unhidden".

Parameters:
cm - this
colIndex - the column index
hidden - true if hidden, false otherwise

onWidthChange

void onWidthChange(ColumnModel cm,
                   int colIndex,
                   int newWidth)
Fires when the width of a column changes.

Parameters:
cm - this
colIndex - the column index
newWidth - the new width