|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Common behaviour of EditableTableComponent and TableComponent
Method Summary | |
java.lang.String |
getBorder()
gets the border attribute of the generated table. |
int |
getCurrentPage()
|
TableModel |
getModel()
the underlying data model w/o sort/paging decorators |
int |
getPageCount()
|
int |
getPageSize()
|
java.lang.String |
getRenderId()
gets the renderId attribute of the generated table. |
com.tonbeller.wcf.table.RowComparator |
getRowComparator()
|
SelectionModel |
getSelectionModel()
the current selection |
boolean |
isClosable()
shall this table have a close button? |
boolean |
isPageable()
allows to enable/disable paging of rows |
boolean |
isReadOnly()
user may view data but not change the selection |
boolean |
isSortable()
allows to enable/disable sorting of columns |
void |
setBorder(java.lang.String border)
sets the border attribute of the generated table. |
void |
setClosable(boolean b)
shall this table have a close button? |
void |
setCurrentPage(int newCurrentPage)
|
void |
setError(java.lang.String message)
sets the error message to display |
void |
setModel(TableModel newModel)
set the data model and initializes everything |
void |
setPageable(boolean newPageable)
allows to enable/disable paging of rows |
void |
setPageSize(int newPageSize)
|
void |
setReadOnly(boolean readOnly)
user may view data but not change the selection |
void |
setRenderId(java.lang.String renderId)
sets the renderId attribute of the generated table. |
void |
setSelectionModel(SelectionModel selectionModel)
the current selection |
void |
setSortable(boolean newSortable)
allows to enable/disable sorting of columns |
void |
setSortColumnIndex(int index)
set the current sort column |
Methods inherited from interface com.tonbeller.wcf.component.Component |
getParent, isListeningTo, setNextView |
Methods inherited from interface com.tonbeller.wcf.controller.RequestListener |
request |
Methods inherited from interface com.tonbeller.wcf.component.Renderable |
render |
Methods inherited from interface com.tonbeller.wcf.component.FormListener |
revert, validate |
Methods inherited from interface com.tonbeller.wcf.component.Visible |
isVisible, setVisible |
Methods inherited from interface com.tonbeller.wcf.component.LifeCycle |
destroy, initialize |
Method Detail |
public void setModel(TableModel newModel)
public TableModel getModel()
public void setSelectionModel(SelectionModel selectionModel)
public SelectionModel getSelectionModel()
public void setSortable(boolean newSortable)
public boolean isSortable()
public void setPageable(boolean newPageable)
public boolean isPageable()
public void setSortColumnIndex(int index)
public com.tonbeller.wcf.table.RowComparator getRowComparator()
public int getPageSize()
public void setPageSize(int newPageSize)
public int getCurrentPage()
public void setCurrentPage(int newCurrentPage)
public int getPageCount()
public boolean isClosable()
public void setClosable(boolean b)
public java.lang.String getBorder()
public void setBorder(java.lang.String border)
border
- the border attribute or null to use the stylesheet parameterpublic void setRenderId(java.lang.String renderId)
renderId
- the renderId attribute or null to use the stylesheet parameterpublic java.lang.String getRenderId()
public void setError(java.lang.String message)
message
- the message to display or null to remove a previous error messagepublic boolean isReadOnly()
public void setReadOnly(boolean readOnly)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |