FileDocCategorySizeDatePackage
SceneGraphObject_Info.javaAPI DocExample980Sat Oct 23 13:25:02 BST 1999com.tornadolabs.j3dtree

SceneGraphObject_Info.java

/*
//*****************************************************************************
/*
*	@(#) SceneGraphObject_Info.java
*
*	Project:		Java3dTree
*	Client:		Java 3D Community
*
*	Project Information:
*		dselman@tornadolabs.com
*		http://www.tornadolabs.com
*	
*	@author Daniel Selman: dselman@tornadolabs.com
*/
//*****************************************************************************

package com.tornadolabs.j3dtree;
import javax.media.j3d.*;

public class SceneGraphObject_Info extends ObjectInfo
{
	public SceneGraphObject_Info()
	{
	}
	
	public String getInfo( Object obj )
	{
		SceneGraphObject sgo = (SceneGraphObject) obj;
			
		String szText = super.getInfo( obj );
		szText = insertSectionBreak( szText );
		
		szText += "SceneGraphObject\r\n";
		szText += "User Data: " + sgo.getUserData() + "\r\n";
		szText += "Compiled: " + sgo.isCompiled() + "\r\n";
		szText += "Live: " + sgo.isLive() + "\r\n";
		
		return szText;
	}
}