PropertyCollection

Inheritance: java.lang.Object

All Implemented Interfaces: java.lang.Iterable

public class PropertyCollection implements Iterable<Property>

The collection of properties

Methods

MethodDescription
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:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
propertyjava.lang.StringProperty name.

Returns: Property - The property.

get(int idx)

public Property get(int idx)

Gets the property by index.

Parameters:

ParameterTypeDescription
idxintThe 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:

ParameterTypeDescription
propertyjava.lang.StringThe 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:

ParameterTypeDescription
propertyPropertyWhich 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:

ParameterTypeDescription
propertyjava.lang.StringWhich 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:

ParameterTypeDescription
propertyjava.lang.StringThe name of the property
valuejava.lang.ObjectNew 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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int