|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectwisdomx.ui.render.DefaultPageListDecorator
IPageListDecoratorのサンプル実装クラス
| メソッドの概要 | |
int |
changePageIndex(java.lang.String eventName,
int currentPageIndex,
int toPageIndex)
イベント文字列から次ページ、前ページ、ページ指定かを判断し、遷移先のページ番号を取得します。 |
java.lang.String |
drawCounter(int rows,
int totalPage,
int perPageRows,
int currentPageIndex,
boolean hasPrevious,
boolean hasNext)
ページ・カウンタを描画します。 |
java.lang.String |
drawNext(boolean hasNext)
次ページリンクを描画します。 |
java.lang.String |
drawPrevious(boolean hasPrevioues)
前ページリンクを描画します。 |
java.lang.String |
getMoveEventName()
指定ページ遷移のイベント文字列を取得します。 |
java.lang.String |
getNextEventName()
次ページ遷移のイベント文字列を取得します。 |
java.lang.String |
getPrevEventName()
前ページ遷移のイベント文字列を取得します。 |
| クラス java.lang.Object から継承したメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| メソッドの詳細 |
public java.lang.String drawCounter(int rows,
int totalPage,
int perPageRows,
int currentPageIndex,
boolean hasPrevious,
boolean hasNext)
IPageListDecorator の記述:
IPageListDecorator 内の drawCounterrows - 現在の行番号。開始位置は1totalPage - 全ページ数perPageRows - 1ページあたりの表示行数currentPageIndex - 現在のページ位置hasPrevious - 前ページを持つか否かhasNext - 次ページを持つか否か
public java.lang.String drawPrevious(boolean hasPrevioues)
IPageListDecorator の記述:
IPageListDecorator 内の drawPrevioushasPrevioues - 前ページを持つか否か
public java.lang.String drawNext(boolean hasNext)
IPageListDecorator の記述:
IPageListDecorator 内の drawNexthasNext - 次ページを持つか否か
public int changePageIndex(java.lang.String eventName,
int currentPageIndex,
int toPageIndex)
IPageListDecorator の記述:
IPageListDecorator 内の changePageIndexeventName - currentPageIndex - 現在のページ番号toPageIndex - このメソッド実行後に移動するページ番号
public java.lang.String getPrevEventName()
IPageListDecorator の記述:
IPageListDecorator 内の getPrevEventNamepublic java.lang.String getMoveEventName()
IPageListDecorator の記述:
IPageListDecorator 内の getMoveEventNamepublic java.lang.String getNextEventName()
IPageListDecorator の記述:
IPageListDecorator 内の getNextEventName
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||