PropertyCollection
Inheritance: java.lang.Object
All Implemented Interfaces: java.lang.Iterable
public class PropertyCollection implements Iterable<Property>
The collection of properties
Methods
Method | Description |
---|---|
equals(Object arg0) | |
findProperty(String property) | Finds the property. |
get(int idx) | Gets the property by index. |
get(String property) | Gets the value of the property by property name. |
getClass() | |
hashCode() | |
iterator() | Returns an enumerator that iterates through the collection. |
notify() | |
notifyAll() | |
removeProperty(Property property) | Removes a dynamic property. |
removeProperty(String property) | Removes a dynamic property. |
set(String property, Object value) | Sets the value of the property by property name. |
size() | Gets the count of declared properties. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
findProperty(String property)
public Property findProperty(String property)
Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)
Parameters:
Parameter | Type | Description |
---|---|---|
property | java.lang.String | Property name. |
Returns: Property - The property.
get(int idx)
public Property get(int idx)
Gets the property by index.
Parameters:
Parameter | Type | Description |
---|---|---|
idx | int | The 0-based index of the property |
Returns: Property
get(String property)
public Object get(String property)
Gets the value of the property by property name.
Parameters:
Parameter | Type | Description |
---|---|---|
property | java.lang.String | The name of the property |
Returns: java.lang.Object - The property’s value
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
iterator()
public Iterator<Property> iterator()
Returns an enumerator that iterates through the 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)
Removes a dynamic property.
Parameters:
Parameter | Type | Description |
---|---|---|
property | Property | Which property to remove |
Returns: boolean - true if the property is successfully removed
removeProperty(String property)
public boolean removeProperty(String property)
Removes a dynamic property.
Parameters:
Parameter | Type | Description |
---|---|---|
property | java.lang.String | Which property to remove |
Returns: boolean - true if the property is successfully removed
set(String property, Object value)
public void set(String property, Object value)
Sets the value of the property by property name.
Parameters:
Parameter | Type | Description |
---|---|---|
property | java.lang.String | The name of the property |
value | java.lang.Object | New value |
size()
public int size()
Gets the count of declared properties.
Returns: int
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |