Examples of addComponent()


Examples of cn.com.elements.component.ContextComponent.addComponent()

            ContextComponent context = new ContextComponent(contentDiv, parser, permission, new TabIndex());

            if (parser.getCurrentComponents() == null) {
                //条件标签
                context.addComponent(getGroupTemplateType().getComponent(_CONDITION));
                // 表格标签
                context.addComponent(getGroupTemplateType().getComponent(_TABLE));
                // 事件标注
                context.addComponent(getGroupTemplateType().getComponent(_ACTION));
            } else {
View Full Code Here

Examples of com.aelitis.azureus.core.vuzefile.VuzeFile.addComponent()

      }
     
      try{
        VuzeFile  vf = VuzeFileHandler.getSingleton().create();
       
        vf.addComponent( VuzeFileComponent.COMP_TYPE_SUBSCRIPTION, map );
       
        vf.write( file );
     
        hash      = new_hash;
        sig        = (byte[])map.get( "sig" );
View Full Code Here

Examples of com.artemis.Entity.addComponent()

import com.tankz.components.Velocity;

public class EntityFactory {
  public static Entity createExplosion(World world, float x, float y) {
    Entity e = world.createEntity();
    e.addComponent(new Transform(x, y));
    e.addComponent(new SpatialForm("explosion"));
    e.addComponent(new Expiration(200));
    e.addToWorld();
    return e;
  }
View Full Code Here

Examples of com.caucho.java.gen.GenClass.addComponent()

      componentGenerator.setRelatedType((EntityType) type);
      componentGenerator.setBaseClassName(type.getBeanClass().getName());
      componentGenerator.setExtClassName(type.getInstanceClassName());

      genClass.addComponent(componentGenerator);

      DependencyComponent depend = genClass.addDependencyComponent();
      depend.addDependencyList(componentGenerator.getDependencies());
    }
    else if (type instanceof EmbeddableType) {
View Full Code Here

Examples of com.codename1.ui.Dialog.addComponent()

                String name = p.getName();
                final Dialog d = new Dialog(name);
                d.setLayout(new BorderLayout());
                WebBrowser wb = new WebBrowser();
                wb.setPage(getDescription(name), "http://localhost");
                d.addComponent(BorderLayout.CENTER, wb);
                d.setDisposeWhenPointerOutOfBounds(true);
                Command backCommand = new Command("Back") {
          public void actionPerformed(ActionEvent evt) {
            d.dispose();
          }
View Full Code Here

Examples of com.codename1.ui.Form.addComponent()

      };
      form.addCommand(cancel);
      form.setBackCommand(cancel);
    }
    form.setLayout(new BorderLayout());
    form.addComponent(BorderLayout.CENTER, webBrowser);
    form.show();
  }

  /**
   * Handle disposal of the web browser after auth complete
View Full Code Here

Examples of com.eviware.soapui.support.components.SimpleForm.addComponent()

                label.setForeground(Color.LIGHT_GRAY);
                descText.setForeground(Color.LIGHT_GRAY);
                disabledInfo.setForeground(Color.LIGHT_GRAY);
            }
            SimpleForm form = new SimpleForm();
            form.addComponent(label);
            if (!isHideDescriptionSelected()) {
                form.addComponent(descText);
                //        if( disable )
                //        {
                //          form.addComponent( disabledInfo );
View Full Code Here

Examples of com.eviware.x.form.XForm.addComponent()

    advForm.addCheckBox( UNPACK, "(Unpacks the databinding classes)" );

    advForm.addTextField( SERVICE_NAME, "the service name to be code generated", XForm.FieldType.TEXT );
    advForm.addTextField( PORT_NAME, "the port name to be code generated", XForm.FieldType.TEXT );

    advForm.addComponent( NAMESPACE_MAPPING, new NamespaceTable( ( WsdlInterface )modelItem ) );

    XFormField adbWrapCB = advForm.addCheckBox( ADB_WRAP,
        "(Sets the packing flag. if true the classes will be packed.)" );
    XFormField adbWriteCB = advForm.addCheckBox( ADB_WRITE,
        "(Sets the write flag. If set to true the classes will be written by ADB)" );
View Full Code Here

Examples of com.google.gwt.visualization.client.visualizations.Toolbar.addComponent()

   
    Component component = Component.create();
    component.setType(Type.HTMLCODE);
    component.setDataSource(DATA_SOURCE);
    component.setGadget(GADGET);
    toolbar.addComponent(component);

    component = Component.create();
    component.setType(Type.CSV);
    component.setDataSource(DATA_SOURCE);
    component.setGadget(GADGET);
View Full Code Here

Examples of com.google.walkaround.proto.ProtocolDocumentOperation.addComponent()

      @Override
      public void retain(int itemCount) {
        Component component = MessageFactoryHelper.createDocumentOperationComponent();
        component.setRetainItemCount(itemCount);
        mutation.addComponent(component);
      }

      @Override
      public void characters(String characters) {
        Component component = MessageFactoryHelper.createDocumentOperationComponent();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.