Ejemplo n.º 1
0
 private void dodiv_label11__10(Widget div_label11__10) {
   ((ContainerWidget) this).addComponent(div_label11__10, "div_label11_");
   setAttrFor_div_label11__10(div_label11__10);
   LabelWidget label11__20 = new LabelWidget();
   {
     ((ContainerWidget) div_label11__10).addComponent(label11__20, "label11_");
     setAttrFor_label11__20(label11__20);
   }
 }
Ejemplo n.º 2
0
 private void dodiv_cajaarribaGInteres__10(Widget div_cajaarribaGInteres__10) {
   ((ContainerWidget) this).addComponent(div_cajaarribaGInteres__10, "div_cajaarribaGInteres_");
   setAttrFor_div_cajaarribaGInteres__10(div_cajaarribaGInteres__10);
   FieldSetWidget cajaarribaGInteres__20 = new FieldSetWidget();
   {
     ((ContainerWidget) div_cajaarribaGInteres__10)
         .addComponent(cajaarribaGInteres__20, "cajaarribaGInteres_");
     setAttrFor_cajaarribaGInteres__20(cajaarribaGInteres__20);
     DivPanelWidget div_actualempresa__30 = new DivPanelWidget();
     {
       ((ContainerWidget) cajaarribaGInteres__20)
           .addComponent(div_actualempresa__30, "div_actualempresa_");
       setAttrFor_div_actualempresa__30(div_actualempresa__30);
       TextWidget actualempresa__40 = new TextWidget();
       {
         ((ContainerWidget) div_actualempresa__30)
             .addComponent(actualempresa__40, "actualempresa_");
         setAttrFor_actualempresa__40(actualempresa__40);
       }
     }
     DivPanelWidget div_actualusuario__30 = new DivPanelWidget();
     {
       ((ContainerWidget) cajaarribaGInteres__20)
           .addComponent(div_actualusuario__30, "div_actualusuario_");
       setAttrFor_div_actualusuario__30(div_actualusuario__30);
       TextWidget actualusuario__40 = new TextWidget();
       {
         ((ContainerWidget) div_actualusuario__30)
             .addComponent(actualusuario__40, "actualusuario_");
         setAttrFor_actualusuario__40(actualusuario__40);
       }
     }
     DivPanelWidget div_label1__30 = new DivPanelWidget();
     {
       ((ContainerWidget) cajaarribaGInteres__20).addComponent(div_label1__30, "div_label1_");
       setAttrFor_div_label1__30(div_label1__30);
       nxjLayout.ItemsForm.TituloLBL_nxjLayoutAttr label1__40 =
           new nxjLayout.ItemsForm.TituloLBL_nxjLayoutAttr();
       {
         ((ContainerWidget) div_label1__30).addComponent(label1__40, "label1_");
         setAttrFor_label1__40(label1__40);
       }
     }
     DivPanelWidget div_label211__30 = new DivPanelWidget();
     {
       ((ContainerWidget) cajaarribaGInteres__20).addComponent(div_label211__30, "div_label211_");
       setAttrFor_div_label211__30(div_label211__30);
       LabelWidget label211__40 = new LabelWidget();
       {
         ((ContainerWidget) div_label211__30).addComponent(label211__40, "label211_");
         setAttrFor_label211__40(label211__40);
       }
     }
   }
 }
  /**
   * Signal handler
   *
   * @see org.alljoyn.ioe.controlpanelservice.communication.interfaces.Container#MetadataChanged()
   */
  @Override
  public void MetadataChanged() throws BusException {

    String msg =
        "Device: '"
            + containerWidget.device.getDeviceId()
            + "', ContainerWidget: '"
            + containerWidget.objectPath
            + "', received METADATA_CHANGED signal";

    Log.d(TAG, msg);

    final ControlPanelEventsListener eventsListener =
        containerWidget.controlPanel.getEventsListener();
    try {
      containerWidget.refreshProperties();
    } catch (ControlPanelException cpe) {
      msg += ", but failed to refresh the Container properties";
      Log.e(TAG, msg);
      eventsListener.errorOccurred(containerWidget.controlPanel, msg);
      return;
    }

    // Delegate to the listener on a separate thread
    TaskManager.getInstance()
        .execute(
            new Runnable() {
              @Override
              public void run() {
                eventsListener.metadataChanged(containerWidget.controlPanel, containerWidget);
              }
            });
  } // MetadataChanged
Ejemplo n.º 4
0
 private void dodiv_box11__10(Widget div_box11__10) {
   ((ContainerWidget) this).addComponent(div_box11__10, "div_box11_");
   setAttrFor_div_box11__10(div_box11__10);
   FieldSetWidget box11__20 = new FieldSetWidget();
   {
     ((ContainerWidget) div_box11__10).addComponent(box11__20, "box11_");
     setAttrFor_box11__20(box11__20);
     DivPanelWidget div_image1__30 = new DivPanelWidget();
     {
       ((ContainerWidget) box11__20).addComponent(div_image1__30, "div_image1_");
       setAttrFor_div_image1__30(div_image1__30);
       nxjLayout.ItemsForm.Logo_nxjLayoutAttr image1__40 =
           new nxjLayout.ItemsForm.Logo_nxjLayoutAttr();
       {
         ((ContainerWidget) div_image1__30).addComponent(image1__40, "image1_");
         setAttrFor_image1__40(image1__40);
       }
     }
   }
 }
Ejemplo n.º 5
0
 private void dodiv_RepeatingArea1__10(Widget div_RepeatingArea1__10) {
   ((ContainerWidget) this).addComponent(div_RepeatingArea1__10, "div_RepeatingArea1_");
   setAttrFor_div_RepeatingArea1__10(div_RepeatingArea1__10);
   RepeatingAreaWidget RepeatingArea1__20 = new RepeatingAreaWidget();
   {
     ((ContainerWidget) div_RepeatingArea1__10)
         .addComponent(RepeatingArea1__20, "RepeatingArea1_");
     setAttrFor_RepeatingArea1__20(RepeatingArea1__20);
     RepeatingGridWidget div_FXGRID_30 = new RepeatingGridWidget();
     {
       ((ContainerWidget) RepeatingArea1__20).addComponent(div_FXGRID_30, "div_FXGRID");
       DivPanelWidget div_xpc_codigo__30 = new DivPanelWidget();
       {
         ((ContainerWidget) RepeatingArea1__20)
             .addComponent(div_xpc_codigo__30, "div_xpc_codigo_");
         setAttrFor_div_xpc_codigo__30(div_xpc_codigo__30);
         TextWidget xpc_codigo__40 = new TextWidget();
         {
           ((ContainerWidget) div_xpc_codigo__30).addComponent(xpc_codigo__40, "xpc_codigo_");
           setAttrFor_xpc_codigo__40(xpc_codigo__40);
         }
       }
       DivPanelWidget div_xpc_clase__30 = new DivPanelWidget();
       {
         ((ContainerWidget) RepeatingArea1__20).addComponent(div_xpc_clase__30, "div_xpc_clase_");
         setAttrFor_div_xpc_clase__30(div_xpc_clase__30);
         ListWidget xpc_clase__40 = new ListWidget();
         {
           ((ContainerWidget) div_xpc_clase__30).addComponent(xpc_clase__40, "xpc_clase_");
           setAttrFor_xpc_clase__40(xpc_clase__40);
         }
       }
       DivPanelWidget div_xpc_nombre__30 = new DivPanelWidget();
       {
         ((ContainerWidget) RepeatingArea1__20)
             .addComponent(div_xpc_nombre__30, "div_xpc_nombre_");
         setAttrFor_div_xpc_nombre__30(div_xpc_nombre__30);
         TextWidget xpc_nombre__40 = new TextWidget();
         {
           ((ContainerWidget) div_xpc_nombre__30).addComponent(xpc_nombre__40, "xpc_nombre_");
           setAttrFor_xpc_nombre__40(xpc_nombre__40);
         }
       }
       DivPanelWidget div_xpc_califica__30 = new DivPanelWidget();
       {
         ((ContainerWidget) RepeatingArea1__20)
             .addComponent(div_xpc_califica__30, "div_xpc_califica_");
         setAttrFor_div_xpc_califica__30(div_xpc_califica__30);
         ListWidget xpc_califica__40 = new ListWidget();
         {
           ((ContainerWidget) div_xpc_califica__30)
               .addComponent(xpc_califica__40, "xpc_califica_");
           setAttrFor_xpc_califica__40(xpc_califica__40);
         }
       }
       DivPanelWidget div_xpc_dias_pac__30 = new DivPanelWidget();
       {
         ((ContainerWidget) RepeatingArea1__20)
             .addComponent(div_xpc_dias_pac__30, "div_xpc_dias_pac_");
         setAttrFor_div_xpc_dias_pac__30(div_xpc_dias_pac__30);
         TextWidget xpc_dias_pac__40 = new TextWidget();
         {
           ((ContainerWidget) div_xpc_dias_pac__30)
               .addComponent(xpc_dias_pac__40, "xpc_dias_pac_");
           setAttrFor_xpc_dias_pac__40(xpc_dias_pac__40);
         }
       }
       DivPanelWidget div_xpc_dias_pvt__30 = new DivPanelWidget();
       {
         ((ContainerWidget) RepeatingArea1__20)
             .addComponent(div_xpc_dias_pvt__30, "div_xpc_dias_pvt_");
         setAttrFor_div_xpc_dias_pvt__30(div_xpc_dias_pvt__30);
         TextWidget xpc_dias_pvt__40 = new TextWidget();
         {
           ((ContainerWidget) div_xpc_dias_pvt__30)
               .addComponent(xpc_dias_pvt__40, "xpc_dias_pvt_");
           setAttrFor_xpc_dias_pvt__40(xpc_dias_pvt__40);
         }
       }
       div_FXGRID_30.addAttribute("id", "GradoInteresDVW_FXGRID");
       div_FXGRID_30.addStyle("top", "0");
       div_FXGRID_30.addStyle("left", "0");
       div_FXGRID_30.addStyle("width", "823");
       div_FXGRID_30.addStyle("height", "285");
       div_FXGRID_30.addStyle("overflow-x", "hidden");
       div_FXGRID_30.addStyle("overflow-y", "hidden");
       div_FXGRID_30.addAttribute("jsinclude", "NXJGrid.js");
       div_FXGRID_30.addAttribute("jslinks", "NXJGrid.css");
       div_FXGRID_30.addAttribute(
           "jsinit",
           "var combo1 = ['Primer Contacto', 'Seguimiento']; var combo3 = ['Interesado', 'Medianamente Interesado', 'Poco Interesado'];    var _top_RepeatingArea1__FXColumns = [new NXJGridColumn( 	'Codigo', 	'1', 	'1', 	'55', 	' text-align: Left', 	new Array(), 	null, 	'textfield', 	true, 	true, 	'xpc_codigo', '.top:xpc_codigo.', '', ''), new NXJGridColumn( 	'Clase', 	'3', 	'1', 	'129', 	'', 	combo1, 	'Primer Contacto', 	'textfield', 	true, 	true, 	'xpc_clase', '.top:xpc_clase.', '', ''), new NXJGridColumn( 	'Nombre', 	'1', 	'1', 	'260', 	' text-align: Left', 	new Array(), 	null, 	'textfield', 	true, 	true, 	'xpc_nombre', '.top:xpc_nombre.', '', ''), new NXJGridColumn( 	'Calificacion', 	'3', 	'1', 	'154', 	'', 	combo3, 	'Interesado', 	'textfield', 	true, 	true, 	'xpc_califica', '.top:xpc_califica.', '', ''), new NXJGridColumn( 	'DiasAltoCosto', 	'1', 	'0', 	'103', 	' text-align: Left', 	new Array(), 	null, 	'textfield', 	true, 	true, 	'xpc_dias_pac', '.top:xpc_dias_pac.', '', ''), new NXJGridColumn( 	'DiasVTradicional', 	'1', 	'0', 	'103', 	' text-align: Left', 	new Array(), 	null, 	'textfield', 	true, 	true, 	'xpc_dias_pvt', '.top:xpc_dias_pvt.', '', '') ]; ; if (!window.namesToComponents['GradoInteresDVW_FXGRID'])     {     window.namesToComponents['GradoInteresDVW_FXGRID'] = new NXJGrid('GradoInteresDVW_FXGRID', _top_RepeatingArea1__FXColumns, 22, null, null, '__NXJ_CONTEXT_PATH__/unify', 'D,L,M,M,J,V,S', 'Enero,Febrero,Marzo,Abril,Mayo,Junio,Julio,Agosto,Septiembre,Octubre,Noviembre,Diciembre', 'file:///C:/Unify/NXJ/web-app/unify', 'file:/C:/Users/TI3-Provivienda/Desktop/VENTAS-NEGOCIOS/MODULO NEGOCIOS/Prospectoss/sources/Static_Content/');     } ");
     }
   }
 }