Sweet Home 3D 3.4

com.eteks.sweethome3d.j3d
Class Object3DBranchFactory

java.lang.Object
  extended by com.eteks.sweethome3d.j3d.Object3DBranchFactory
All Implemented Interfaces:
Object3DFactory

public class Object3DBranchFactory
extends java.lang.Object
implements Object3DFactory

A factory able to create instances of Object3DBranch class.

Author:
Emmanuel Puybaret

Constructor Summary
Object3DBranchFactory()
           
 
Method Summary
 java.lang.Object createObject3D(Home home, Selectable item, boolean waitForLoading)
          Returns the 3D object matching a given item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Object3DBranchFactory

public Object3DBranchFactory()
Method Detail

createObject3D

public java.lang.Object createObject3D(Home home,
                                       Selectable item,
                                       boolean waitForLoading)
Returns the 3D object matching a given item.

Specified by:
createObject3D in interface Object3DFactory
Parameters:
home - the home of an item
item - a selectable item of a home
waitForLoading - if true all resources used by the returned object should be available

Sweet Home 3D 3.4

? Copyrights 2006-2011 eTeks - All rights reserved
Distributed under GNU General Public License