// generated by FBuilder
package flexa.ff;
import flexa.fb.*;
import java.util.Map;
import java.util.HashMap;
import javax.script.*;
import java.util.ArrayList;
public class library extends FComponent {
    //
    // CONSTRUCTOR
    //
    public library() {
        super("ff.library");
    }
    
    // 
    // Methods
    //
    
    
    public Object call(FContextInterface contexti, String aname, Object... args)  throws Exception { 
    		ArrayList<FComponent> comps = findDescendantesWithName(aname);
		if( comps.size() > 0 ) {
		    Log.info("LIBRARY " + this.getId() + " calling method " + aname, args);
		    return comps.get(0).call(contexti, aname, args);
		}
		return null;

    }
    


    // 
    // Events
    //
	public void event(String aAction, FContext aContext) throws Exception {
        // Events
        
	    super.event(aAction, aContext);
	}
	
	
}