Examples of asWidget()


Examples of com.orange.links.client.shapes.FunctionShape.asWidget()

        for (Iterator<Map.Entry<Widget, Connection>> it = connectMap.entrySet().iterator(); it.hasNext();) {
            Map.Entry<Widget, Connection> entry = it.next();
            Connection c = entry.getValue();
            if (c.getStartShape() == s) {
                FunctionShape e = (FunctionShape) c.getEndShape();
                current.add((NodeWidget) e.asWidget());
            }
        }

        return current;
    }
View Full Code Here

Examples of com.ponysdk.ui.server.basic.IsPWidget.asWidget()

                if (field.getHeaderCellRenderer().getCaption() != null) {
                    headerCaption = field.getHeaderCellRenderer().getCaption();
                } else {
                    headerCaption = String.valueOf(col);
                }
                renderCell.asWidget().ensureDebugId(debugID + "[" + row + "][" + headerCaption + "]");
            }
            listView.addWidget(renderCell, col++, row);
        }
        listView.addWidget(new PSimplePanel(), col, row);
        listView.addRowStyle(row, PonySDKTheme.SIMPLELIST_ROW);
View Full Code Here

Examples of com.ponysdk.ui.server.basic.PAttachedPopupPanel.asWidget()

    public IsPWidget render(final FormField formField) {
        final PLabel captionLabel = new PLabel(caption);

        fields.add(textbox);
        final PAttachedPopupPanel popup = new PAttachedPopupPanel(true, textbox);
        popup.asWidget().setStyleName(PonySDKTheme.ORACLE_POPUP_PANEL);

        final PButton deploy = new PButton("+");
        final KeyUpHandler keyUphandler = new KeyUpHandler(textbox, popup, deploy);
        textbox.setStyleName(PonySDKTheme.ORACLE_TEXT_BOX);
        textbox.addKeyUpHandler(keyUphandler);
View Full Code Here

Examples of com.ponysdk.ui.server.form2.formfield.IntegerTextBoxFormField.asWidget()

        actions.setWidget(1, 1, removeByKeyButton);
        actions.setWidget(2, 0, removeRowFormField.asWidget());
        actions.setWidget(2, 1, removeButton);

        actions.setWidget(0, 2, keyRowFormField.asWidget());
        actions.setWidget(0, 3, toRowFormField.asWidget());
        actions.setWidget(0, 4, moveButton);
    }

    @Override
    protected void onPonyStock(final PonyStock data) {
View Full Code Here

Examples of com.ponysdk.ui.server.form2.formfield.LongTextBoxFormField.asWidget()

        actions.setWidget(1, 0, removeRowByKeyFormField.asWidget());
        actions.setWidget(1, 1, removeByKeyButton);
        actions.setWidget(2, 0, removeRowFormField.asWidget());
        actions.setWidget(2, 1, removeButton);

        actions.setWidget(0, 2, keyRowFormField.asWidget());
        actions.setWidget(0, 3, toRowFormField.asWidget());
        actions.setWidget(0, 4, moveButton);
    }

    @Override
View Full Code Here

Examples of com.tll.client.view.IHomeView.asWidget()

    ISiteStatisticsServiceAsync.Util.instance().getSiteStatitics(new AsyncCallback<ISiteStatisticsService.SiteStatisticsPayload>() {
     
      @Override
      public void onSuccess(SiteStatisticsPayload result) {
        view.setStats(result.getDto());
        panel.setWidget(view.asWidget());
      }
     
      @Override
      public void onFailure(Throwable caught) {
        GWT.log("Error fetching site stats", caught);
View Full Code Here

Examples of honeycrm.client.pluginviews.HaveABreakGadgetView.asWidget()

      public void execute() {
        view.getLabel().setText(getTimeString());
      }
    }, UPDATE_INTERVAL);

    platform.attachToHeader(view.asWidget());
  }

  private String getTimeString() {
    if (hasBreak) {
      if (breakTime >= MAX_BREAK_TIME) {
View Full Code Here

Examples of honeycrm.client.pluginviews.ProgressPluginView.asWidget()

        view.display(getProgressSymbol(step));
        step = (step + 1) % 8;
      }
    }, 200);
   
    platform.attachToHeader(view.asWidget());
  }

  public String getProgressSymbol(final int step) {
    switch (step) {
    case 0:
View Full Code Here

Examples of it.unipd.netmus.client.ui.LoginView.asWidget()

                    loginView.setError(error);
                    loginView.setLoginType(login_type);
                    loginView.setPassword(password);
                    loginView.setUser(user);
                    loginView.setPresenter(LoginActivity.this);
                    container_widget.setWidget(loginView.asWidget());

                }
            }

            @Override
View Full Code Here

Examples of it.unipd.netmus.client.ui.ProfileView.asWidget()

                                setFriendList();
                                profileView.setUser(user);
                                profileView.setInfo(getSongInfo());
                                editProfileView(user);

                                container_widget.setWidget(profileView
                                        .asWidget());
                                profileView.setLayout();
                               
                                if (tmp.size() == 0) {
                                    // mostra help
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.