public interface IlpAbstractTableColumnModel
Modifier and Type | Method and Description |
---|---|
void |
addNewColumn(int modelIndex,
Object headerValue)
Adds a new column in the column model with the following index
and header value.
|
int |
getColumnIndex(IlpAttribute attribute)
Returns the column index of the specified attribute.
|
void |
removeAllColumns()
Removes the columns from the column model.
|
void |
removeColumn(int modelIndex)
Removes a column of index
modelIndex |
void |
setColumnIndex(IlpAttribute attribute,
int index)
Moves the column of the specified attribute to the specified index.
|
void |
setColumnPreferredWidth(IlpAttribute attribute,
int columnWidth)
Sets the preferred width for the column defined by this attribute
|
void setColumnIndex(IlpAttribute attribute, int index)
attribute
- The attribute corresponding to the column which has to
be moved.index
- The new index for the column.IllegalArgumentException
- if the given attribute does not
correspond to a visible column in the table.IndexOutOfBoundsException
- if the given position is greater
than the index of the last column or less than 0.int getColumnIndex(IlpAttribute attribute)
attribute
- The attribute whose column index is to be returned.-1
if the given attribute does not correspond to a
visible column in the table view.void removeAllColumns()
void addNewColumn(int modelIndex, Object headerValue)
void removeColumn(int modelIndex)
modelIndex
modelIndex
- index of the column to be removedvoid setColumnPreferredWidth(IlpAttribute attribute, int columnWidth)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.