Examples of addActionListener()


Examples of org.apache.airavata.xbaya.ui.actions.registry.browser.BrowserAction.addActionListener()

                    public void actionPerformed(ActionEvent arg0) {
                        triggerNodeAction(ViewAction.ID);
                    }
                });
                BrowserAction actionBrowser = new BrowserAction();
                actionBrowser.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent arg0) {
                        triggerNodeAction(BrowserAction.ID);
                    }
                });
               
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.actions.registry.browser.CopyAction.addActionListener()

                    public void actionPerformed(ActionEvent arg0) {
                        triggerNodeAction(ImportAction.ID);
                    }
                });
                CopyAction actionCopy = new CopyAction();
                actionCopy.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent arg0) {
                        triggerNodeAction(CopyAction.ID);
                    }
                });
                ViewAction actionView = new ViewAction();
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.actions.registry.browser.EditAction.addActionListener()

                        triggerNodeAction(AddAction.ID);
                    }
                });

                EditAction actionEdit = new EditAction();
                actionEdit.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent arg0) {
                        triggerNodeAction(EditAction.ID);
                    }
                });
                ImportAction actionImport = new ImportAction();
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.actions.registry.browser.ImportAction.addActionListener()

                    public void actionPerformed(ActionEvent arg0) {
                        triggerNodeAction(EditAction.ID);
                    }
                });
                ImportAction actionImport = new ImportAction();
                actionImport.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent arg0) {
                        triggerNodeAction(ImportAction.ID);
                    }
                });
                CopyAction actionCopy = new CopyAction();
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.actions.registry.browser.RefreshAction.addActionListener()

                popupMenu.setLabel("");
                addPopup(tree, popupMenu);

                AbstractBrowserActionItem actionRefresh = new RefreshAction();
                actionRefresh.getMenuItem().setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F5, 0));
                actionRefresh.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        triggerNodeAction(RefreshAction.ID);
                    }
                });
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.actions.registry.browser.ViewAction.addActionListener()

                    public void actionPerformed(ActionEvent arg0) {
                        triggerNodeAction(CopyAction.ID);
                    }
                });
                ViewAction actionView = new ViewAction();
                actionView.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent arg0) {
                        triggerNodeAction(ViewAction.ID);
                    }
                });
               
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.widgets.XBayaLinkButton.addActionListener()

            cmbHostName = new JComboBox();
            cmbHostName.addActionListener(this);

            XBayaLabel lblHostName = new XBayaLabel("Application host",cmbHostName);
            XBayaLinkButton lnkNewHost = new XBayaLinkButton("New button");
            lnkNewHost.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    try {
                        HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(getRegistry(), null);
                        hostDescriptionDialog.setLocationRelativeTo(getContentPane());
                        hostDescriptionDialog.open();
View Full Code Here

Examples of org.apache.myfaces.tobago.component.UIButton.addActionListener()

    super.setProperties(uiComponent);
    final UIButton component = (UIButton) uiComponent;
    final FacesContext context = FacesContext.getCurrentInstance();
    final Application application = context.getApplication();
    if (actionListener != null) {
      component.addActionListener(new javax.faces.event.MethodExpressionActionListener(actionListener));
    }
    if (accessKey != null) {
      if (!accessKey.isLiteralText()) {
        component.setValueExpression("accessKey", accessKey);
      } else {
View Full Code Here

Examples of org.apache.myfaces.tobago.component.UICommand.addActionListener()

    super.setProperties(uiComponent);
    final UICommand component = (UICommand) uiComponent;
    final FacesContext context = FacesContext.getCurrentInstance();
    final Application application = context.getApplication();
    if (actionListener != null) {
      component.addActionListener(new javax.faces.event.MethodExpressionActionListener(actionListener));
    }
    if (markup != null) {
      if (!markup.isLiteralText()) {
        component.setValueExpression("markup", markup);
      } else {
View Full Code Here

Examples of org.apache.myfaces.tobago.component.UIDatePicker.addActionListener()

    }

    applyConverterPattern(facesContext, popup, converterPattern);

    if (!ComponentUtils.containsPopupActionListener(picker)) {
      picker.addActionListener(new PopupActionListener(popup.getId()));
    }
    super.encodeBegin(facesContext, component);
  }

  private void applyConverterPattern(FacesContext facesContext, UIPopup popup, String converterPattern) {
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.