Examples of Dialog


Examples of android.app.Dialog

    return handled;
  }

  @Override
  public Dialog onCreateDialog(int id) {
    Dialog dialog = null;

    switch (id) {
      case DIALOG_RESET_PASSWORD: {
        DialogInterface.OnClickListener listener =
            new DialogInterface.OnClickListener() {
View Full Code Here

Examples of com.citytechinc.cq.component.dialog.Dialog

          }
        }
      }
      if (hasDialogFieldOrCQIncludeTab) {
        ComponentMojoUtil.getLog().debug("Processing Component Class " + curClass);
        Dialog builtDialog = DialogFactory.make(curClass, widgetRegistry, classLoader, classPool);
        dialogList.add(builtDialog);
        File dialogFile = writeDialogToFile(transformer, builtDialog, curClass, buildDirectory,
          componentPathBase, defaultComponentPathSuffix);
        writeDialogToArchiveFile(transformer, dialogFile, curClass, zipOutputStream, reservedNames,
          componentPathBase, defaultComponentPathSuffix);
View Full Code Here

Examples of com.codename1.ui.Dialog

    addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent evt) {
                PointLayer p = (PointLayer) evt.getSource();
                System.out.println("pressed " + p);
                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();
          }
                };
                d.addCommand(backCommand);
                d.setBackCommand(backCommand);
                d.show(1, 1, 1, 1);
            }
        });       
  }
View Full Code Here

Examples of com.codename1.ui.Dialog

    addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent evt) {
                PointLayer p = (PointLayer) evt.getSource();
                System.out.println("pressed " + p);
                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();
          }
                };
                d.addCommand(backCommand);
                d.setBackCommand(backCommand);
                d.show(1, 1, 1, 1);
            }
        });       
  }
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.Dialog

          return;
        MessageBox.confirm("Confirm","Do you want to quit this room when you close the window?", new Listener<WindowEvent>()
        {
          public void handleEvent(WindowEvent be)
          {
            Dialog dialog = (Dialog) be.component;
            Button btn = dialog.getButtonPressed();
            if(btn.getItemId().equals(Dialog.YES))
            {
              room.logout();
              setCloseAction(CloseAction.CLOSE);
              unRegisterChatWindow(jid);
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.Dialog

        String msg = JabberApp.getConstants().DeleteConfirm() +" "+jid+"?";
        MessageBox.confirm("Confirm",msg, new Listener<WindowEvent>()
        {
          public void handleEvent(WindowEvent be)
          {
            Dialog dialog = (Dialog) be.component;
            Button btn = dialog.getButtonPressed();
            if(btn.getItemId().equals(Dialog.YES))
              JabberApp.instance().removeUser(XmppID.parseId(jid));
             
          }
View Full Code Here

Examples of com.googlecode.jumpnevolve.graphics.gui.container.Dialog

    selectList.addButton(new InterfaceButton(
        InterfaceFunctions.FIGURE_JUMPING_CROSS, Input.KEY_2,
        "object-pictures/figure-cross.png"));

    // Finish-Dialog erstellen
    this.finishDialog = new Dialog();
    this.finishDialog.addTextButton(InterfaceFunctions.LEVEL_EXIT,
        "Level beenden");

    // GridContainer für das Interface erstellen und setzen
    GridContainer grid = new GridContainer(3, 3);
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.Dialog

              win.refreshId(value.getJobId(),value.getId());
            }else if("取消任务".equals(ae.getInnerText())){
              ConfirmMessageBox box=new ConfirmMessageBox("取消任务", "你确认取消该任务吗?");
              box.addHideHandler(new HideHandler() {
                public void onHide(HideEvent event) {
                  Dialog btn = (Dialog) event.getSource();
                  if(btn.getHideButton().getText().equalsIgnoreCase("yes")){
                    grid.mask("取消任务中");
                    RPCS.getJobService().cancel(value.getId(),new AbstractAsyncCallback<Void>(){
                      public void onSuccess(Void result) {
                        refresh(presenter.getGroupModel());
                        grid.unmask();
View Full Code Here

Examples of com.smartgwt.client.widgets.Dialog

  public RefreshConfigurationAction() {
    super("[ISOMORPHIC]/geomajas/osgeo/reload.png", I18nProvider.getToolbar().refreshConfiguration());
  }

  public void onClick(ClickEvent event) {
    Dialog d = new Dialog();
    d.setWidth(400);
    SC.askforValue("Provide the context name", "Context file name ?", "applicationContext.xml",
        new ValueCallback() {

          public void execute(String value) {
            if (value != null) {
View Full Code Here

Examples of com.sun.dtv.lwuit.Dialog

                if(!(getSource() instanceof Dialog && getDestination() instanceof Dialog &&
                        cmp == getDestination())) {
                    Painter p = cmp.getStyle().getBgPainter();
                    cmp.getStyle().setBgPainter(null);
                    g.translate(x, y);
                    Dialog dlg = (Dialog)cmp;
                    g.setClip(0, 0, cmp.getWidth(), cmp.getHeight());
                    dlg.getTitleComponent().paintComponent(g, false);
                    g.setClip(0, 0, cmp.getWidth(), cmp.getHeight());
                    dlg.getContentPane().paintComponent(g, false);
                    g.translate(-x, -y);
                    if(drawDialogMenu && dlg.getCommandCount() > 0) {
                        Component menuBar = dlg.getSoftButton(0).getParent();
                        g.setClip(0, 0, cmp.getWidth(), cmp.getHeight());
                        menuBar.paintComponent(g, false);
                    }

                    g.setClip(cx, cy, cw, ch);
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.