1 13 16 package com.tonbeller.wcf.table; 17 18 import com.tonbeller.wcf.component.Component; 19 import com.tonbeller.wcf.selection.SelectionModel; 20 21 26 public interface ITableComponent extends Component { 27 28 void setModel(TableModel newModel); 29 30 31 TableModel getModel(); 32 33 34 void setSelectionModel(SelectionModel selectionModel); 35 36 37 SelectionModel getSelectionModel(); 38 39 40 void setSortable(boolean newSortable); 41 42 43 boolean isSortable(); 44 45 46 void setPageable(boolean newPageable); 47 48 49 boolean isPageable(); 50 51 52 void setSortColumnIndex(int index); 53 54 RowComparator getRowComparator(); 55 56 int getPageSize(); 57 58 void setPageSize(int newPageSize); 59 60 int getCurrentPage(); 61 62 void setCurrentPage(int newCurrentPage); 63 64 int getPageCount(); 65 66 69 boolean isClosable(); 70 71 74 void setClosable(boolean b); 75 76 81 String getBorder(); 82 83 88 void setBorder(String border); 89 90 95 void setRenderId(String renderId); 96 97 102 String getRenderId(); 103 104 108 void setError(String message); 109 110 113 public boolean isReadOnly(); 114 115 118 public void setReadOnly(boolean readOnly); 119 120 } | Popular Tags |