PropertyCollection
Inheritance: java.lang.Object
All Implemented Interfaces: java.lang.Iterable
public class PropertyCollection implements Iterable<Property>
La collezione di proprietà
Metodi
| Metodo | Descrizione |
|---|---|
| equals(Object arg0) | |
| findProperty(String property) | Trova la proprietà. |
| get(int idx) | Restituisce la proprietà per indice. |
| get(String property) | Restituisce il valore della proprietà per nome della proprietà. |
| getClass() | |
| hashCode() | |
| iterator() | Restituisce un enumeratore che itera attraverso la collezione. |
| notify() | |
| notifyAll() | |
| removeProperty(Property property) | Rimuove una proprietà dinamica. |
| removeProperty(String property) | Rimuove una proprietà dinamica. |
| set(String property, Object value) | Imposta il valore della proprietà per nome della proprietà. |
| size() | Restituisce il conteggio delle proprietà dichiarate. |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
findProperty(String property)
public Property findProperty(String property)
Trova la proprietà. Può essere una proprietà dinamica (creata con CreateDynamicProperty/SetProperty) o una proprietà nativa (identificata per nome).
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| proprietà | java.lang.String | Nome della proprietà. |
Returns: Property - The property.
get(int idx)
public Property get(int idx)
Restituisce la proprietà per indice.
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| idx | int | L’indice basato su zero della proprietà |
Returns: Property - the property by index.
get(String property)
public Object get(String property)
Restituisce il valore della proprietà per nome della proprietà.
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| proprietà | java.lang.String | Il nome della proprietà |
Returns: java.lang.Object - Il valore della proprietà
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
iterator()
public Iterator<Property> iterator()
Restituisce un enumeratore che itera attraverso la collezione.
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)
Rimuove una proprietà dinamica.
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| property | Property | Quale proprietà rimuovere |
Returns: boolean - true se la proprietà è stata rimossa con successo
removeProperty(String property)
public boolean removeProperty(String property)
Rimuove una proprietà dinamica.
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| proprietà | java.lang.String | Quale proprietà rimuovere |
Returns: boolean - true se la proprietà è stata rimossa con successo
set(String property, Object value)
public void set(String property, Object value)
Imposta il valore della proprietà per nome della proprietà.
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| proprietà | java.lang.String | Il nome della proprietà |
| valore | java.lang.Object | Nuovo valore |
size()
public int size()
Restituisce il conteggio delle proprietà dichiarate.
Returns: int - il conteggio delle proprietà dichiarate.
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | long | |
| arg1 | int |