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éthodeDescription
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ètreTypeDescription
arg0java.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ètreTypeDescription
propriétéjava.lang.StringNom de la propriété.

Returns: Property - The property.

get(int idx)

public Property get(int idx)

Obtient la propriété par index.

Parameters:

ParamètreTypeDescription
idxintL’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ètreTypeDescription
propriétéjava.lang.StringLe 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ètreTypeDescription
propertyPropertyQuelle 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ètreTypeDescription
propriétéjava.lang.StringQuelle 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ètreTypeDescription
propriétéjava.lang.StringLe nom de la propriété
valeurjava.lang.ObjectNouvelle 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ètreTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParamètreTypeDescription
arg0long
arg1int