|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IlpAbstractTableColumnModel
A facade for the Swing or Web Components calls in the table column model.
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
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 removed
void setColumnPreferredWidth(IlpAttribute attribute,
int columnWidth)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||