Examples of addActionListener()


Examples of org.compiere.swing.CButton.addActionListener()

    //helpScollPane.getViewport().add(onlineHelp, null);
    confirmPanel.addActionListener(this);
   
    CButton helpBtn = new CButton(Env.getImageIcon2("Help24"));
    helpBtn.setActionCommand("onlineLoginHelp");
    helpBtn.addActionListener(this);
    helpBtn.setToolTipText(res.getString("Help"));
    confirmPanel.addComponent(helpBtn);
   
    statusBar.setStatusDB(null);
  }   //  jbInit
View Full Code Here

Examples of org.compiere.swing.CCheckBox.addActionListener()

      rs = pstmt.executeQuery();
     
      while (rs.next())
      {
        check = new CCheckBox(rs.getString(1));
        check.addActionListener(this);
        priceListChecks.add(check);
        priceListIDs.add(Integer.valueOf(rs.getInt(2)));
       
        line = Box.createHorizontalBox();
        line.add(Box.createHorizontalStrut(5));
View Full Code Here

Examples of org.earth3d.jearth.draw.markers.gui.MarkerEditForm.addActionListener()

      final MarkerEditForm mef = new MarkerEditForm();
      mef.setMarker(marker);
      mef.setLocationRelativeTo(null); // center to screen
      mef.setVisible(true);

      mef.addActionListener(new ActionListener() {
     
        public void actionPerformed(ActionEvent e) {
          markers.add(mef.getMarker());
        }
     
View Full Code Here

Examples of org.eobjects.datacleaner.widgets.DescriptorMenuItem.addActionListener()

        }
        if (descriptor.isExploringAnalyzer()) {
          return null;
        }
        JMenuItem menuItem = new DescriptorMenuItem(descriptor);
        menuItem.addActionListener(new ActionListener() {
          @SuppressWarnings("unchecked")
          @Override
          public void actionPerformed(ActionEvent e) {
            Class<?> analyzerClass = descriptor.getComponentClass();
            if (descriptor.isExploringAnalyzer()) {
View Full Code Here

Examples of org.eobjects.datacleaner.widgets.SourceColumnComboBox.addActionListener()

      final String tablePath = columnPath.substring(0, columnDelim);

      final SourceColumnComboBox comboBox = new SourceColumnComboBox();
      comboBox.setEnabled(false);
      comboBox.setName(columnPath);
      comboBox.addActionListener(new ActionListener() {
        @Override
        public void actionPerformed(ActionEvent e) {
          Column col = comboBox.getSelectedItem();
          if (col != null) {
            // make sure all comboboxes in a group use the same
View Full Code Here

Examples of org.freeplane.core.ui.components.JFreeplaneMenuItem.addActionListener()

  }

  public void layout(final DefaultFormBuilder builder) {
    layout(builder, mButton);
    final JMenuItem item = new JFreeplaneMenuItem(TextUtils.getOptionalText("ColorProperty.ResetColor"));
    item.addActionListener(new ActionListener() {
      public void actionPerformed(final ActionEvent e) {
        setValue(defaultColor);
      }
    });
    menu.add(item);
View Full Code Here

Examples of org.geoforge.guillc.action.GfrActDlg.addActionListener()

        // Create a new ActionListener using the dynamic proxy api.
        ActionListener alr = EventHandler.create(
                ActionListener.class, this._acr_, strMethod);


        dan.addActionListener(alr, strMethod);
    }

   

    @Override
View Full Code Here

Examples of org.gephi.ui.components.JColorButton.addActionListener()

        add(centerOnZeroButton);

        //Reset colors
        final JColorButton resetColorButton = new JColorButton(color, true, false);
        resetColorButton.setToolTipText(NbBundle.getMessage(ActionsToolbar.class, "ActionsToolbar.resetColors"));
        resetColorButton.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent evt) {
                color = resetColorButton.getColor();
                GraphController gc = Lookup.getDefault().lookup(GraphController.class);
                Graph graph = gc.getModel().getGraphVisible();
View Full Code Here

Examples of org.gephi.ui.components.JDropDownButton.addActionListener()

                }
            });
            screenshotPopup.add(configureScreenshotItem);
            final JButton screenshotButton = new JDropDownButton(new javax.swing.ImageIcon(getClass().getResource("/org/gephi/visualization/component/screenshot.png")), screenshotPopup);
            screenshotButton.setToolTipText(NbBundle.getMessage(VizBarController.class, "VizToolbar.Global.screenshot"));
            screenshotButton.addActionListener(new ActionListener() {

                public void actionPerformed(ActionEvent e) {
                    VizController.getInstance().getScreenshotMaker().takeScreenshot();
                }
            });
View Full Code Here

Examples of org.jabusuite.webclient.controls.JbsButton.addActionListener()

        final int labelCount = messageColumn.getComponentCount();
       
        JbsButton btnDetails = null;
        if (exception!=null) {
            btnDetails = new JbsButton("Details...");
            btnDetails.addActionListener(new ActionListener() {

                public void actionPerformed(ActionEvent arg0) {
                    showException(exception);
                }
            });
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.