|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.DefaultTableColumnModel org.xulux.guilayer.swing.models.NyxTableColumnModel
public class NyxTableColumnModel
Field Summary | |
---|---|
protected boolean |
initializing
is the model initializing? |
protected int |
lockedColumnWidth
the lockedwidth |
protected NyxTableColumnModel |
lockedModel
the model |
protected Table |
table
the table |
Fields inherited from class javax.swing.table.DefaultTableColumnModel |
---|
changeEvent, columnMargin, columnSelectionAllowed, listenerList, selectionModel, tableColumns, totalColumnWidth |
Constructor Summary | |
---|---|
NyxTableColumnModel()
|
|
NyxTableColumnModel(Table table)
Initializes the columnModel and sets the table for later reference |
Method Summary | |
---|---|
void |
destroy()
destroy the instance variables Just in case.. |
javax.swing.table.TableColumn |
getColumn(int columnIndex)
|
NyxTableColumnModel |
getLockedColumnModel()
|
java.awt.Dimension |
getLockedColumnWidth()
|
boolean |
hasLockedColumns()
|
boolean |
isInitializing()
|
void |
refresh()
Refresh the columns especially when widgets have been refreshed. |
protected void |
removeAllColumns()
Removes all columns from the column list. |
void |
removeLockedColumns()
Removes locked columns from the current list of columns. |
void |
removeUnlockedColumns()
Removes the unlocked columns from the main table. |
void |
setLockedColumnWidth(int width)
Set the columnwidth to the new value. |
void |
setTable(Table table)
|
Methods inherited from class javax.swing.table.DefaultTableColumnModel |
---|
addColumn, addColumnModelListener, createSelectionModel, fireColumnAdded, fireColumnMarginChanged, fireColumnMoved, fireColumnRemoved, fireColumnSelectionChanged, getColumnCount, getColumnIndex, getColumnIndexAtX, getColumnMargin, getColumnModelListeners, getColumns, getColumnSelectionAllowed, getListeners, getSelectedColumnCount, getSelectedColumns, getSelectionModel, getTotalColumnWidth, moveColumn, propertyChange, recalcWidthCache, removeColumn, removeColumnModelListener, setColumnMargin, setColumnSelectionAllowed, setSelectionModel, valueChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Table table
protected NyxTableColumnModel lockedModel
protected int lockedColumnWidth
protected boolean initializing
Constructor Detail |
---|
public NyxTableColumnModel()
public NyxTableColumnModel(Table table)
table
- - the table that is using the columnModel.Method Detail |
---|
public void setTable(Table table)
table
- the tablepublic boolean hasLockedColumns()
public void refresh()
protected void removeAllColumns()
public void removeUnlockedColumns()
public void removeLockedColumns()
public java.awt.Dimension getLockedColumnWidth()
public void setLockedColumnWidth(int width)
width
- - the widthpublic NyxTableColumnModel getLockedColumnModel()
public void destroy()
public javax.swing.table.TableColumn getColumn(int columnIndex)
getColumn
in interface javax.swing.table.TableColumnModel
getColumn
in class javax.swing.table.DefaultTableColumnModel
TableColumnModel.getColumn(int)
public boolean isInitializing()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |