|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 |
java.lang.Objectcom.foxconn.ebook.reader.engine.model.BookSearchInfo
public class BookSearchInfo
搜索信息類.
嵌套类摘要 | |
---|---|
static class |
BookSearchInfo.BookSearchResult
The Class BookSearchResult. |
字段摘要 | |
---|---|
static int |
SEARCH_HISTORY
The Constant SEARCH_HISTORY. |
方法摘要 | |
---|---|
void |
addResults(BookSearchInfo.BookSearchResult[] results)
添加搜索結果. |
BookSearchInfo.BookSearchResult |
getNextResult()
獲取下一個搜索結果. |
BookSearchInfo.BookSearchResult |
getPreResult()
獲取上一個搜索結果. |
java.util.List<BookSearchInfo.BookSearchResult> |
getResults()
獲取搜索結果列表. |
java.util.List<java.lang.String> |
getSeachHistory()
獲取搜索歷史列表. |
java.lang.String |
getSearchKeyword()
獲取搜索關鍵字. |
boolean |
hasResults()
檢查是否有搜索結果. |
void |
moveCursorToEnd()
移動當前的搜索結果光標到搜索結果的末尾. |
void |
resetResults()
重置搜索結果. |
void |
setSearchKeyword(java.lang.String key)
設置搜索關鍵字. |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
字段详细信息 |
---|
public static final int SEARCH_HISTORY
方法详细信息 |
---|
public void setSearchKeyword(java.lang.String key)
IBookSearchCursor
复制的描述
IBookSearchCursor
中的 setSearchKeyword
key
- 搜索關鍵字public java.lang.String getSearchKeyword()
IBookSearchCursor
复制的描述
IBookSearchCursor
中的 getSearchKeyword
public java.util.List<java.lang.String> getSeachHistory()
IBookSearchCursor
复制的描述
IBookSearchCursor
中的 getSeachHistory
public void resetResults()
IBookSearchCursor
复制的描述
IBookSearchCursor
中的 resetResults
public void addResults(BookSearchInfo.BookSearchResult[] results)
IBookSearchCursor
复制的描述
IBookSearchCursor
中的 addResults
results
- 搜索結果列表.public java.util.List<BookSearchInfo.BookSearchResult> getResults()
IBookSearchCursor
复制的描述
IBookSearchCursor
中的 getResults
public boolean hasResults()
IBookSearchCursor
复制的描述
IBookSearchCursor
中的 hasResults
public BookSearchInfo.BookSearchResult getNextResult()
IBookSearchCursor
复制的描述
IBookSearchCursor
中的 getNextResult
public BookSearchInfo.BookSearchResult getPreResult()
IBookSearchCursor
复制的描述
IBookSearchCursor
中的 getPreResult
public void moveCursorToEnd()
IBookSearchCursor
复制的描述由于PDF書的搜索模式不是一次性搜索出所有結果,而是采用分段式,因此調用該方法後,
再調用 IAction.searchGoNext
方法會繼續搜索出更多結果.
其他格式書籍暫時無需考慮該方法.
IBookSearchCursor
中的 moveCursorToEnd
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 |