FileDocCategorySizeDatePackage
ShowContext.javaAPI DocExample1923Sat Apr 23 22:35:42 BST 2005magicbeans

ShowContext

public class ShowContext extends JTabbedPane implements BeanContextProxy

Fields Summary
BeanContext
context
BeanContextServices
services
JList
servicesList
JList
beansList
private BeanContextChildSupport
beanContextChild
Constructors Summary
public ShowContext()


	  
		addTab( "Beans", new JScrollPane( beansList ) );
		addTab( "Services", new JScrollPane( servicesList ) );
	
Methods Summary
public java.beans.beancontext.BeanContextChildgetBeanContextProxy()

		return beanContextChild;
    
voidupdateBeanList()

		Iterator it = context.iterator();
		Vector<Object> v = new Vector<Object>();
		while( it.hasNext() )
			v.addElement( it.next() );
		beansList.setListData( v );
	
voidupdateServicesList()


	  
		if ( services == null )
			return;
		Iterator it = services.getCurrentServiceClasses();
		Vector<Object> v = new Vector<Object>();
		while( it.hasNext() )
			v.addElement( it.next() );
		servicesList.setListData( v );