FileDocCategorySizeDatePackage
ShowContext.javaAPI DocExample2160Mon May 01 14:42:08 BST 2000magicbeans

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 v = new Vector(  );
    while( it.hasNext(  ) )
      v.addElement( it.next(  ) );
    beansList.setListData( v );
  
voidupdateServicesList()


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