Examples of addWidget()


Examples of org.xith3d.ui.hud.widgets.Panel.addWidget()

        Panel panel = (Panel) this.getContentPane();
       
        params = new Parameters();
       
        loadButton = new Button(600, 40, Messages.getString("ParametersAsker.1")); //$NON-NLS-1$
        panel.addWidget(loadButton, 10, 20);
        loadButton.addButtonListener(this);
       
        saveButton = new Button(600, 40, Messages.getString("ParametersAsker.2")); //$NON-NLS-1$
        panel.addWidget(saveButton, 10, 70);
        saveButton.addButtonListener(this);
View Full Code Here

Examples of org.zanata.webtrans.client.events.RunValidationEvent.addWidget()

        if (sourceContent.isPresent()) {
            RunValidationEvent event =
                    new RunValidationEvent(sourceContent.get(),
                            editor.getText(), false);
            // widget that displays red outline
            event.addWidget(editor);
            // widget that displays warnings
            Optional<TargetContentsDisplay> targetDisplay =
                    Finds.findDisplayById(displayList, transUnitId);
            if (targetDisplay.isPresent()) {
                event.addWidget(targetDisplay.get());
View Full Code Here

Examples of ro.fortsoft.wicket.dashboard.Dashboard.addWidget()

            Dashboard d = getDashboard();
            if (w != null && !b) {
              d.deleteWidget(w.getId());
            }
            if (w == null && b) {
              d.addWidget(dashboardContext.getWidgetFactory().createWidget(wd));
            }
            dashboardContext.getDashboardPersiter().save(d);
          }
        });
      }
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.