Group
Overview
Group is a class in Aspose.3D FOSS for Java.
Inherits from: A3DObject.
A Group represents the logical relationships of Node.
This class provides 16 methods for working with Group objects in Java programs.
Available methods include: A3DObject, Group, findProperty, getGroups, getName, getNodes, getParent, getProperties, getProperty, removeProperty, setName, setProperty, and 1 additional methods.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: groups, name, nodes, parent, properties.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
parent | Group | Read | Parent group of current group |
| @return Parent group of current group | |||
| / | |||
groups | List<Group> | Read | Sub-groups |
| @return Sub-groups | |||
| / | |||
nodes | List<Node> | Read | The nodes in this group |
| @return The nodes in this group | |||
| / | |||
name | String | Read | Gets the name. |
properties | PropertyCollection | Read | Gets the properties. |
Methods
| Signature | Description |
|---|---|
Group(name: String) | Construct a new instance of Group |
| @param name Group’s name | |
| / | |
Group() | Construct a new instance of Group |
| / | |
getParent() → Group | Parent group of current group |
| @return Parent group of current group | |
| / | |
getGroups() → List<Group> | Sub-groups |
| @return Sub-groups | |
| / | |
getNodes() → List<Node> | The nodes in this group |
| @return The nodes in this group | |
| / | |
toString() → String | Gets the string representation of Group |
| @return The string representation of current instance | |
| / | |
A3DObject() | Calls A3DObject on this Group instance. |
A3DObject(name: String) | Calls A3DObject(name) on this Group instance. |
getName() → String | Returns the name. |
setName(name: String) | Sets the name value. |
getProperties() → PropertyCollection | Returns the properties. |
findProperty(name: String) → Property | Calls findProperty(name) on this Group instance. |
getProperty(name: String) → Object | Calls getProperty(name) on this Group instance. |
setProperty(name: String, value: Object) | Sets the property value. |
removeProperty(name: String) → boolean | Calls removeProperty(name) on this Group instance. |
removeProperty(property: Property) → boolean | The nodes in this group |