PortionCollection
Vue de l’ensemble
‘Portium’ est une classe dans Aspose.Slides FOSS pour Java.Déduit de: ‘IPortionCollection’.
Il représente une collection de textes dans un paragraphe.
Cette classe fournit 16 méthodes pour travailler avec des objets de PortionCollection dans les programmes Java. Les méthodologies disponibles comprennent: ‘Portion Collection’, ‘add’ , ‘asIEnumerable’, clear', ‘contains', ’count, ‘get,indexOf’, ‚insert,, 'isReadOnly ‘, iterator et 2 méthode supplémentaires. Tous les membres publics sont accessibles à toute application Java après l’installation du package Java Aspose.Slides FOSS. Propriétés : ‘readOnli’.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
readOnly | boolean | Read | Gets the read only. |
méthodes
| Signature | Description |
|---|---|
PortionCollection() | Creates an empty PortionCollection. |
PortionCollection(portions: List<IPortion>) | Creates a PortionCollection with the given initial portions. |
PortionCollection(pElement: Element, saveCallback: Runnable) | Creates an XML-backed PortionCollection. |
get(index: int) → IPortion | Returns the IPortion at the specified index |
size() → int | |
count() → int | Returns the number of portions (alias of size) |
isReadOnly() → boolean | Returns true if read only is set. |
asIEnumerable() → Iterable<IPortion> | Provides an Iterable over the portions |
add(value: IPortion) | Appends a portion to the end of the collection |
indexOf(item: IPortion) → int | Returns the index of the specified portion or -1 |
insert(index: int, value: IPortion) | Inserts a portion at the given index |
clear() | |
contains(item: IPortion) → boolean | Checks if the collection includes the specified portion |
remove(item: IPortion) → boolean | Deletes the first occurrence of the portion and returns success |
removeAt(index: int) | Deletes the portion at the given index |
iterator() → Iterator<IPortion> | Returns an iterator over the portions |
Voir aussi
- Aspose.Slides - référence API d’entreprise