Group
Inheritance: java.lang.Object, com.aspose.threed.A3DObject
public class Group extends A3DObject
A Group represents the logical relationships of Node.
Constructors
| Constructor | Description |
|---|---|
| Group(String name) | Construct a new instance of Group |
| Group() | Construct a new instance of Group |
Methods
| Method | Description |
|---|---|
| equals(Object arg0) | |
| findProperty(String propertyName) | Finds the property. |
| getClass() | |
| getGroups() | Sub-groups |
| getName() | Gets the name. |
| getNodes() | The nodes in this group |
| getParent() | Parent group of current group |
| getProperties() | Gets the collection of all properties. |
| getProperty(String property) | Get the value of specified property |
| hashCode() | |
| notify() | |
| notifyAll() | |
| removeProperty(Property property) | Removes a dynamic property. |
| removeProperty(String property) | Remove the specified property identified by name |
| setName(String value) | Sets the name. |
| setProperty(String property, Object value) | Sets the value of specified property |
| toString() | Gets the string representation of Group |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
Group(String name)
public Group(String name)
Construct a new instance of Group
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String | Group’s name |
Group()
public Group()
Construct a new instance of Group
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
findProperty(String propertyName)
public Property findProperty(String propertyName)
Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| propertyName | java.lang.String | Property name. |
Returns: Property - The property.
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getGroups()
public List<Group> getGroups()
Sub-groups
Returns: java.util.List<com.aspose.threed.Group> - Sub-groups
getName()
public String getName()
Gets the name.
Returns: java.lang.String - the name.
getNodes()
public List<Node> getNodes()
The nodes in this group
Returns: java.util.List<com.aspose.threed.Node> - The nodes in this group
getParent()
public Group getParent()
Parent group of current group
Returns: Group - Parent group of current group
getProperties()
public PropertyCollection getProperties()
Gets the collection of all properties.
Returns: PropertyCollection - the collection of all properties.
getProperty(String property)
public Object getProperty(String property)
Get the value of specified property
Parameters:
| Parameter | Type | Description |
|---|---|---|
| property | java.lang.String | Property name |
Returns: java.lang.Object - The value of the found property
hashCode()
public native int hashCode()
Returns: int
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)
Remove the specified property identified by name
Parameters:
| Parameter | Type | Description |
|---|---|---|
| property | java.lang.String | Which property to remove |
Returns: boolean - true if the property is successfully removed
setName(String value)
public void setName(String value)
Sets the name.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | New value |
setProperty(String property, Object value)
public void setProperty(String property, Object value)
Sets the value of specified property
Parameters:
| Parameter | Type | Description |
|---|---|---|
| property | java.lang.String | Property name |
| value | java.lang.Object | The value of the property |
toString()
public String toString()
Gets the string representation of Group
Returns: java.lang.String - The string representation of current instance
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 |