PageHistory
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.ms.System.Collections.Generic.IGenericList
public class PageHistory implements System.Collections.Generic.IGenericList<Page>
ページ履歴を表します。
コンストラクタ
| コンストラクタ | 説明 |
|---|---|
| PageHistory(Page page) | PageHistory クラスの新しいインスタンスを初期化します。 |
メソッド
| メソッド | 説明 |
|---|---|
| addItem(Page item) | PageHistory の末尾にページバージョンを追加します。 |
| addRange(System.Collections.Generic.IGenericEnumerable<Page> items) | PageHistory の末尾にページバージョンを追加します。 |
| clear() | ページ履歴をクリアします。 |
| containsItem(Page item) | ページ履歴にページバージョンが含まれているかどうかを判断します。 |
| copyToTArray(Page[] array, int arrayIndex) | ページ バージョンを配列にコピーし、特定のインデックスから開始します.. |
| getCurrent() | 現在のページ バージョンを取得します。 |
| get_Item(int index) | 指定されたインデックスの PageHistory のページ バージョンを取得または設定します。 |
| indexOfItem(Page item) | ページ履歴内の特定のページ バージョンのインデックスを決定します。 |
| insertItem(int index, Page item) | ページ履歴にページ バージョンを挿入します。 |
| isReadOnly() | ページ履歴が読み取り専用かどうかを示す値を取得します。 |
| iterator() | PageHistory の子ノードを列挙する列挙子を返します。 |
| removeAt(int index) | PageHistory の指定インデックスにあるページ バージョンを削除します。 |
| removeItem(Page item) | PageHistory からページ バージョンを削除します。 |
| removeRange(int index, int count) | PageHistory からページ バージョンの範囲を削除します。 |
| set_Item(int index, Page value) | 指定されたインデックスの PageHistory のページ バージョンを取得または設定します。 |
| size() | ページ履歴内のページ バージョンの数を取得します。 |
PageHistory(Page page)
public PageHistory(Page page)
PageHistory クラスの新しいインスタンスを初期化します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| page | Page | 現在のページ バージョン。 |
addItem(Page item)
public void addItem(Page item)
PageHistory の末尾にページバージョンを追加します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| item | Page | ページ バージョン。 |
addRange(System.Collections.Generic.IGenericEnumerable<Page> items)
public void addRange(System.Collections.Generic.IGenericEnumerable<Page> items)
PageHistory の末尾にページバージョンを追加します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| 項目 | com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.note.Page> | ページ バージョンの IEnumerable\{Page\} コレクションです。 |
clear()
public void clear()
ページ履歴をクリアします。
containsItem(Page item)
public boolean containsItem(Page item)
ページ履歴にページバージョンが含まれているかどうかを判断します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| item | Page | ページ バージョン。 |
Returns:
boolean - boolです。
copyToTArray(Page[] array, int arrayIndex)
public void copyToTArray(Page[] array, int arrayIndex)
ページ バージョンを配列にコピーし、特定のインデックスから開始します..
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| array | Page[] | 対象の配列です。 |
| arrayIndex | int | 配列インデックスです。 |
getCurrent()
public Page getCurrent()
現在のページ バージョンを取得します。
Returns: Page
get_Item(int index)
public Page get_Item(int index)
指定されたインデックスの PageHistory のページ バージョンを取得または設定します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| index | int | インデックスです。 |
Returns: Page - The page version.
indexOfItem(Page item)
public int indexOfItem(Page item)
ページ履歴内の特定のページ バージョンのインデックスを決定します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| item | Page | ページ バージョン。 |
Returns:
int - intです。
insertItem(int index, Page item)
public void insertItem(int index, Page item)
ページ履歴にページ バージョンを挿入します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| index | int | インデックスです。 |
| item | Page | ページ バージョン。 |
isReadOnly()
public boolean isReadOnly()
ページ履歴が読み取り専用かどうかを示す値を取得します。
Returns: boolean
iterator()
public System.Collections.Generic.IGenericEnumerator<Page> iterator()
PageHistory の子ノードを列挙する列挙子を返します。
Returns:
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.note.Page> - IEnumerator。
removeAt(int index)
public void removeAt(int index)
PageHistory の指定インデックスにあるページ バージョンを削除します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| index | int | インデックスです。 |
removeItem(Page item)
public boolean removeItem(Page item)
PageHistory からページ バージョンを削除します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| item | Page | ページ バージョン。 |
Returns:
boolean - boolです。
removeRange(int index, int count)
public void removeRange(int index, int count)
PageHistory からページ バージョンの範囲を削除します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| index | int | インデックスです。 |
| count | int | カウントです。 |
set_Item(int index, Page value)
public void set_Item(int index, Page value)
指定されたインデックスの PageHistory のページ バージョンを取得または設定します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| index | int | インデックスです。 |
| value | Page |
size()
public int size()
ページ履歴内のページ バージョンの数を取得します。
Returns: int