public static class ColumnsState.Entry extends Object implements org.apache.wicket.util.io.IClusterable
| Constructor and Description |
|---|
ColumnsState.Entry(String columnId)
Creates new entry instance
|
| Modifier and Type | Method and Description |
|---|---|
String |
getColumnId()
Returns column identifier.
|
int |
getCurrentWidth()
Returns the current width, or -1 if the width is not set.
|
boolean |
isVisible()
Return whether the column is visible.
|
void |
setCurrentWidth(int currentWidth)
Sets the current column width.
|
void |
setVisible(boolean visible)
Sets the visibility of the column.
|
public ColumnsState.Entry(String columnId)
columnId - public int getCurrentWidth()
public void setCurrentWidth(int currentWidth)
currentWidth is -1, the initial column
width will be used.currentWidth - public boolean isVisible()
true if the column is visible, false otherwise.public void setVisible(boolean visible)
visible - public String getColumnId()
Copyright © 2015. All rights reserved.