|
WUI : API |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.westofj.wui.table.WTableServerScrollLayout
Constructor Summary | |
WTableServerScrollLayout()
|
Method Summary | |
int |
getCurrentIndex()
Returns the current scroll index of the table. |
int |
getViewportSize()
Returns the number of rows displayed at one time. |
protected void |
handleParams(WRunner runner,
String[] values)
|
void |
initialize(WTable table)
|
boolean |
isScrollEnabled()
Returns true if the table scroll bar is displayed, false otherwise. |
void |
pageDown()
Scrolls the view down one page. |
void |
pageUp()
Scrolls the view up one page. |
void |
render(WRunner runner,
WRenderContext context,
PrintWriter out)
|
void |
scrollBottom()
Scrolls to the end of the data set. |
void |
scrollDown()
Scrolls the view down one row. |
void |
scrollTop()
Scrolls to the beginning of the data set. |
void |
scrollUp()
Scrolls the view up one row. |
void |
setCurrentIndex(int currentIndex)
Sets the current scroll index of the table. |
void |
setScrollEnabled(boolean scrollEnabled)
Sets if the table scroll bar should be displayed. |
void |
setViewportSize(int viewportSize)
Sets the number of rows displayed at one time. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WTableServerScrollLayout()
Method Detail |
public void initialize(WTable table)
initialize
in interface WTableLayout
public void render(WRunner runner, WRenderContext context, PrintWriter out) throws WRenderException
render
in interface WTableLayout
WRenderException
public int getCurrentIndex()
public void setCurrentIndex(int currentIndex)
currentIndex
- the scrol index of the table.public int getViewportSize()
public void setViewportSize(int viewportSize)
viewportSize
- the number of rows displayed at one time.public boolean isScrollEnabled()
public void setScrollEnabled(boolean scrollEnabled)
scrollEnabled
- true if the table scroll bar is displayed, false otherwise.public void scrollUp()
public void scrollDown()
public void pageUp()
public void pageDown()
public void scrollTop()
public void scrollBottom()
protected void handleParams(WRunner runner, String[] values)
|
Copyright (c) 2003 West of J - All rights reserved. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |