PropertyCollection
Inheritance: java.lang.Object
All Implemented Interfaces: java.lang.Iterable
public class PropertyCollection implements Iterable<Property>
La collection de propriétés
Méthodes
| Méthode | Description |
|---|---|
| equals(Object arg0) | |
| findProperty(String property) | Trouve la propriété. |
| get(int idx) | Obtient la propriété par index. |
| get(String property) | Obtient la valeur de la propriété par son nom. |
| getClass() | |
| hashCode() | |
| iterator() | Renvoie un énumérateur qui parcourt la collection. |
| notify() | |
| notifyAll() | |
| removeProperty(Property property) | Supprime une propriété dynamique. |
| removeProperty(String property) | Supprime une propriété dynamique. |
| set(String property, Object value) | Définit la valeur de la propriété par son nom. |
| size() | Obtient le nombre de propriétés déclarées. |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
findProperty(String property)
public Property findProperty(String property)
Trouve la propriété. Elle peut être une propriété dynamique (Créée par CreateDynamicProperty/SetProperty) ou une propriété native (Identifiée par son nom)
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| propriété | java.lang.String | Nom de la propriété. |
Returns: Property - The property.
get(int idx)
public Property get(int idx)
Obtient la propriété par index.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| idx | int | L’index basé sur 0 de la propriété |
Returns: Property - the property by index.
get(String property)
public Object get(String property)
Obtient la valeur de la propriété par son nom.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| propriété | java.lang.String | Le nom de la propriété |
Returns: java.lang.Object - La valeur de la propriété
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
iterator()
public Iterator<Property> iterator()
Renvoie un énumérateur qui parcourt la collection.
Returns: java.util.Iterator<com.aspose.threed.Property>
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
removeProperty(Property property)
public boolean removeProperty(Property property)
Supprime une propriété dynamique.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| property | Property | Quelle propriété supprimer |
Returns: boolean - vrai si la propriété est supprimée avec succès
removeProperty(String property)
public boolean removeProperty(String property)
Supprime une propriété dynamique.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| propriété | java.lang.String | Quelle propriété supprimer |
Returns: boolean - vrai si la propriété est supprimée avec succès
set(String property, Object value)
public void set(String property, Object value)
Définit la valeur de la propriété par son nom.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| propriété | java.lang.String | Le nom de la propriété |
| valeur | java.lang.Object | Nouvelle valeur |
size()
public int size()
Obtient le nombre de propriétés déclarées.
Returns: int - le nombre de propriétés déclarées.
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |