Class Index | File Index

Classes


Class HomeObject


Defined in: SweetHome3D.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
An object with data where users can stored their own properties.
Method Summary
Method Attributes Method Name and Description
 
Returns a clone of this object.
 
Returns the value of the property name associated with this object.
 
Returns the property names.
 
setProperty(name, value)
Sets a property associated with this object.
Class Detail
HomeObject()
An object with data where users can stored their own properties.
Author: Emmanuel Puybaret.
Method Detail
{HomeObject} clone()
Returns a clone of this object.
Returns:
{HomeObject}

{string} getProperty(name)
Returns the value of the property name associated with this object.
Parameters:
{string} name
Returns:
{string} the value of the property or null if it doesn't exist.

{string[]} getPropertyNames()
Returns the property names.
Returns:
{string[]} a collection of all the names of the properties set with {@link #setProperty(String, String) setProperty}

setProperty(name, value)
Sets a property associated with this object.
Parameters:
{string} name
the name of the property to set
{string} value
the new value of the property

© Copyrights 2017 Emmanuel PUYBARET / eTeks
Distributed under GNU General Public License
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Oct 25 2017 16:36:09 GMT+0200 (CEST)