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