CustomObject
Overview
CustomObject is a class in Aspose.3D FOSS for Java.
Inherits from: A3DObject.
CustomObject provides a lightweight container for user‑defined data, exposing a name and a PropertyCollection for arbitrary key/value pairs.
This class provides 12 methods for working with CustomObject objects in Java programs.
Available methods include: A3DObject, CustomObject, findProperty, getName, getProperties, getProperty, removeProperty, setName, setProperty.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: name, properties.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | String | Read | Gets the name. |
properties | PropertyCollection | Read | Gets the properties. |
Methods
| Signature | Description |
|---|---|
CustomObject() | Creates a new CustomObject with the specified name |
CustomObject(name: String) | Calls CustomObject(name) on this CustomObject instance. |
A3DObject() | Calls A3DObject on this CustomObject instance. |
A3DObject(name: String) | Calls A3DObject(name) on this CustomObject 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 CustomObject instance. |
getProperty(name: String) → Object | Calls getProperty(name) on this CustomObject instance. |
setProperty(name: String, value: Object) | Sets the property value. |
removeProperty(name: String) → boolean | Calls removeProperty(name) on this CustomObject instance. |
removeProperty(property: Property) → boolean | Calls removeProperty(property) on this CustomObject instance. |