|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object zk.Object zk.Widget zul.Widget zul.mesh.Paging
public class Paging
Paging of long content.
Default Widget.getZclass()
: z-paging.
Field Summary |
---|
Fields inherited from class zk.Widget |
---|
$weave, auDelay, autag, bindLevel, className, desktop, effects_, firstChild, id, insertingBefore_, inServer, lastChild, nChildren, nextSibling, parent, previousSibling, uuid, widgetName |
Fields inherited from class zk.Object |
---|
$class, $oid |
Method Summary | |
---|---|
int |
getActivePage()
Returns the active page (starting from 0). |
int |
getPageCount()
Returns the number of pages. |
int |
getPageIncrement()
Returns the number of page anchors shall appear at the client. |
int |
getPageSize()
Returns the page size, aka., the number rows per page. |
int |
getTotalSize()
Returns the total number of items. |
static void |
go(DOMElement anc,
int pagenumber)
Goes to the active page according to the page number. |
protected String |
infoText_()
Returns the information text of the paging, if isDetailed() is enabled. |
boolean |
isAutohide()
Returns whether to automatically hide this component if there is only one page available. |
boolean |
isBothPaging()
Returns whether the paging is in both mold. i.e. |
boolean |
isDetailed()
Returns whether to show the detailed info, such as getTotalSize() . |
void |
setActivePage(int activePage)
Sets the active page (starting from 0). |
void |
setAutohide(boolean autohide)
Sets whether to automatically hide this component if there is only one page available. |
void |
setDetailed(boolean detailed)
Sets whether to show the detailed info, such as getTotalSize() . |
void |
setPageCount(int pageCount)
Sets the number of pages. |
void |
setPageIncrement(int pageIncrement)
Sets the number of page anchors shall appear at the client. |
void |
setPageSize(int pageSize)
Sets the page size, aka., the number rows per page. |
void |
setTotalSize(int totalSize)
Sets the total number of items. |
Methods inherited from class zul.Widget |
---|
afterKeyDown_, beforeCtrlKeys_, getContext, getCtrlKeys, getOpenTooltip, getPopup, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip |
Methods inherited from class zk.Object |
---|
$init, $instanceof, $super, $super, $supers, $supers, afterInit, isAssignableFrom, isInstance, proxy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setTotalSize(int totalSize)
totalSize
- public int getTotalSize()
public void setPageIncrement(int pageIncrement)
pageIncrement
- public int getPageIncrement()
Default: 10.
public void setDetailed(boolean detailed)
getTotalSize()
.
detailed
- public boolean isDetailed()
getTotalSize()
.
public void setPageCount(int pageCount)
pageCount
- public int getPageCount()
public void setActivePage(int activePage)
activePage
- public int getActivePage()
public void setPageSize(int pageSize)
pageSize
- public int getPageSize()
public void setAutohide(boolean autohide)
autohide
- public boolean isAutohide()
Default: false.
public boolean isBothPaging()
protected String infoText_()
isDetailed()
is enabled.
public static void go(DOMElement anc, int pagenumber)
anc
- the anchor of the page numberpagenumber
- the page number
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |