|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.DefaultTableColumnModel
leon.view.win.swing.table.LyJTableColumnModel
public class LyJTableColumnModel
This class is used in the management of the columns. It prevents from moving the filled space column (last column) and the status column (invisible) if table has one.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LyJTableColumnModel(LySwingTable swingTable)
Creates a column model for the specified table. |
Method Summary | |
---|---|
LySwingTable |
getSwingTable()
Returns the associated table manager. |
void |
moveColumn(int columnIndex,
int newIndex)
Swaps the two specified columns. |
Methods inherited from class javax.swing.table.DefaultTableColumnModel |
---|
addColumn, addColumnModelListener, getColumn, getColumnCount, getColumnIndex, getColumnIndexAtX, getColumnMargin, getColumnModelListeners, getColumns, getColumnSelectionAllowed, getListeners, getSelectedColumnCount, getSelectedColumns, getSelectionModel, getTotalColumnWidth, propertyChange, removeColumn, removeColumnModelListener, setColumnMargin, setColumnSelectionAllowed, setSelectionModel, valueChanged |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyJTableColumnModel(LySwingTable swingTable)
swingTable
- the table to assign a column modelMethod Detail |
---|
public LySwingTable getSwingTable()
public void moveColumn(int columnIndex, int newIndex)
moveColumn
in interface javax.swing.table.TableColumnModel
moveColumn
in class javax.swing.table.DefaultTableColumnModel
TableColumnModel.moveColumn(int, int)
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |