FileDocCategorySizeDatePackage
Link_Info.javaAPI DocExample1182Sat Oct 23 13:35:38 BST 1999com.tornadolabs.j3dtree

Link_Info.java

/*
//*****************************************************************************
/*
*	@(#) Link_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 Link_Info extends Leaf_Info
{
	private static final int[] 		m_kCapabilityArray = { 	
																				Link.ALLOW_SHARED_GROUP_READ
																			};

	public Link_Info()
	{
	}
	
	public int[] getCapabilityBits()
	{
		return createCompoundArray( m_kCapabilityArray, super.getCapabilityBits() );
	}
	
	java.util.Enumeration getChildren( Object obj )
	{
		Link link = (Link) obj;
		return createCompoundEnumeration( super.getChildren( obj ), link.getSharedGroup() );
	}
	
	public String getInfo( Object obj )
	{
		Link link = (Link) obj;
			
		String szText = super.getInfo( obj );
		szText = insertSectionBreak( szText );
		
		szText += "Link\r\n";
		
		return szText;
	}
}