PortionCollection
סקירה כללית
PortionCollection הוא שיעור ב Aspose.Slides FOSS עבור Java. מורשת מ : IPortionCollection.
מייצג אוסף של חלקים טקסט בתוך פרק אחד.
שיעור זה מספק 16 שיטות לעבוד עם אובייקטים PortionCollection בתוכניות Java. שיטות זמינות כוללות: PortionCollection, add, asIEnumerable, clear, contains, count, get, indexOf, insert, isReadOnly, iterator, remove,2 שיטות נוספות. כל החברים הציבוריים זמינים לכל יישום Java לאחר התקנת Aspose.Slides FOSS עבור חבילת Java. רכוש : readOnly.
נכסים
| שם | סוג | גישה | תיאור |
|---|---|---|---|
readOnly | boolean | קראו | רק מקבל את הקריאה. |
שיטות
| חתימה | תיאור |
|---|---|
PortionCollection() | יצירת שקיעה ריקה. |
PortionCollection(portions: List<IPortion>) | יצירת PortionCollection עם המיקוד הראשוני. |
PortionCollection(pElement: Element, saveCallback: Runnable) | יצירת XML תומך PortionCollection. |
get(index: int) → IPortion | החזיר את IPortion ל- index שנקבע |
size() → int | |
count() → int | החזיר את מספר המנות (אחרים בגודל) |
isReadOnly() → boolean | זה חוזר אם רק קריאה מוגדרת. |
asIEnumerable() → Iterable<IPortion> | להציע תוספת על המיקוד |
add(value: IPortion) | הוסף חלק עד סוף הקולקציה. |
indexOf(item: IPortion) → int | החזיר את האינדקס של המירוץ או -1 |
insert(index: int, value: IPortion) | להוסיף חלק מהאינדקס הניתן |
clear() | |
contains(item: IPortion) → boolean | בדוק אם הקולקציה כוללת את המינון המפורט. |
remove(item: IPortion) → boolean | הסרת ההתרחשות הראשונה של החלק ומחזירה את ההצלחה |
removeAt(index: int) | הסרת החלק ב- אינדיקטור נתון |
iterator() → Iterator<IPortion> | החזיר איטראטור מעל המיקוד |