|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cafesip.gwtcomp.client.ui.SuperTableProperty
public class SuperTableProperty
The class is used in conjunction with the SuperTable
class to define the table property. The table properties are set by calling the setter method.
| Constructor Summary | |
|---|---|
SuperTableProperty()
A constructor for this class. |
|
| Method Summary | |
|---|---|
protected SuperTable |
getParent()
|
int |
getRecordsPerPage()
Returns the records per page. |
boolean |
isCellSelectionEnabled()
Returns true if cell selection is enabled. |
boolean |
isColumnSelectorEnabled()
Returns true if the colum selector is enabled. |
boolean |
isCommandBarEnabled()
Returns true if the command tool bar is enabled. |
boolean |
isPagingEnabled()
Returns true if paging is enabled. |
boolean |
isRowSelectionEnabled()
Returns true if row selection is enabled. |
boolean |
isToolbarEnabled()
Returns true if the tool bar is enabled. |
void |
setCellSelectionEnabled(boolean cellSelectionEnabled)
Enables/disables cell selection By default, it is disabled. |
void |
setColumnSelectorEnabled(boolean columnSelectorEnabled)
Enable/disable column selector. |
void |
setCommandBarEnabled(boolean commandBarEnabled)
Enable/disable the command bar. |
void |
setPagingEnabled(boolean pagingEnabled)
Enables/disables paging. |
protected void |
setParent(SuperTable parent)
|
void |
setRecordsPerPage(int recordsPerPage)
Sets the number of records per page. |
void |
setRowSelectionEnabled(boolean rowSelectionEnabled)
Enable/disable row selection. |
void |
setToolbarEnabled(boolean toolbarEnabled)
Enable/disable the tool bar. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SuperTableProperty()
| Method Detail |
|---|
public boolean isPagingEnabled()
public void setPagingEnabled(boolean pagingEnabled)
pagingEnabled - The pagingEnabled to set.public int getRecordsPerPage()
public void setRecordsPerPage(int recordsPerPage)
recordsPerPage - The recordsPerPage to set.public boolean isRowSelectionEnabled()
public void setRowSelectionEnabled(boolean rowSelectionEnabled)
rowSelectionEnabled - The rowSelectionEnabled to set.public boolean isCommandBarEnabled()
public void setCommandBarEnabled(boolean commandBarEnabled)
commandBarEnabled - The commandBarEnabled to set.public boolean isCellSelectionEnabled()
public void setCellSelectionEnabled(boolean cellSelectionEnabled)
cellSelectionEnabled - The cellSelectionEnabled to set.protected SuperTable getParent()
protected void setParent(SuperTable parent)
parent - The parent to set.public boolean isColumnSelectorEnabled()
public void setColumnSelectorEnabled(boolean columnSelectorEnabled)
columnSelectorEnabled - The columnSelectorEnabled to set.public boolean isToolbarEnabled()
public void setToolbarEnabled(boolean toolbarEnabled)
toolbarEnabled - The toolbarEnabled to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||