|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.TableColumn org.xulux.guilayer.swing.models.NyxTableColumn
public class NyxTableColumn
Override the standard TableColumn, so we can use instances of widgets to set columns , instead of dynamically creating them all the time.
Field Summary |
---|
Fields inherited from class javax.swing.table.TableColumn |
---|
CELL_RENDERER_PROPERTY, cellEditor, cellRenderer, COLUMN_WIDTH_PROPERTY, HEADER_RENDERER_PROPERTY, HEADER_VALUE_PROPERTY, headerRenderer, headerValue, identifier, isResizable, maxWidth, minWidth, modelIndex, resizedPostingDisableCount, width |
Constructor Summary | |
---|---|
NyxTableColumn()
|
|
NyxTableColumn(int modelIndex)
|
|
NyxTableColumn(int modelIndex,
int width)
|
|
NyxTableColumn(int modelIndex,
int width,
javax.swing.table.TableCellRenderer cellRenderer,
javax.swing.table.TableCellEditor cellEditor)
|
|
NyxTableColumn(org.xulux.api.gui.IWidget widget)
|
Method Summary | |
---|---|
NyxTableColumnModel |
getModel()
|
boolean |
isLocked()
|
void |
setModel(NyxTableColumnModel model)
Set the model for easy access to the model. |
Methods inherited from class javax.swing.table.TableColumn |
---|
addPropertyChangeListener, createDefaultHeaderRenderer, disableResizedPosting, enableResizedPosting, getCellEditor, getCellRenderer, getHeaderRenderer, getHeaderValue, getIdentifier, getMaxWidth, getMinWidth, getModelIndex, getPreferredWidth, getPropertyChangeListeners, getResizable, getWidth, removePropertyChangeListener, setCellEditor, setCellRenderer, setHeaderRenderer, setHeaderValue, setIdentifier, setMaxWidth, setMinWidth, setModelIndex, setPreferredWidth, setResizable, setWidth, sizeWidthToFit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NyxTableColumn()
public NyxTableColumn(org.xulux.api.gui.IWidget widget)
widget
- - the widget the create the column for.public NyxTableColumn(int modelIndex)
modelIndex
- the modelIndexpublic NyxTableColumn(int modelIndex, int width)
modelIndex
- modelIndexwidth
- widthpublic NyxTableColumn(int modelIndex, int width, javax.swing.table.TableCellRenderer cellRenderer, javax.swing.table.TableCellEditor cellEditor)
modelIndex
- modelIndexwidth
- widthcellRenderer
- cellRenderercellEditor
- cellEditorMethod Detail |
---|
public boolean isLocked()
public void setModel(NyxTableColumnModel model)
model
- - the nyx columnmodel.public NyxTableColumnModel getModel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |