Class Index | File Index

Classes


Class PatternsCatalog


Defined in: SweetHome3D.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
PatternsCatalog(patterns)
Creates a patterns catalog.
Method Summary
Method Attributes Method Name and Description
 
getPattern(name)
Returns the pattern with a given name.
 
Returns the patterns list.
 
Returns the count of patterns in this category.
Class Detail
PatternsCatalog(patterns)
Creates a patterns catalog.
Author: Emmanuel Puybaret.
Parameters:
{*[]} patterns
Method Detail
{Object} getPattern(name)
Returns the pattern with a given name.
Parameters:
{string} name
Throws:
IllegalArgumentException if no pattern with the given name exists
Returns:
{Object}

{*[]} getPatterns()
Returns the patterns list.
Returns:
{*[]} a list of furniture.

{number} getPatternsCount()
Returns the count of patterns in this category.
Returns:
{number}

© 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)