Examples of addActionListener()


Examples of com.bitmovers.maui.components.foundation.MButton.addActionListener()

            theAuth.getAuthorizationValue (theAuth.AUTHORIZATION_SESSIONS).
              toString () + " sessions");
    frame.add (theLabel);
    MButton theButton = new MButton ("OK");
    theButton.setLink ("http://maui.bitmovers.com");
    theButton.addActionListener (new MActionListener ()
      {
        public void actionPerformed (MActionEvent aEvent)
        {
          exitAll ();
        }
View Full Code Here

Examples of com.bitmovers.maui.components.foundation.MCheckBox.addActionListener()

      ! (container.getComponent (theIndex - 1) instanceof MCheckBox))
    {
      renderable = theCheckBox;
      representativeRenderable = theCheckBox;
      firstIndex = theIndex;
      theCheckBox.addActionListener (this);
    }
    else
    {
      theCheckBox.removeActionListener (this);
    }
View Full Code Here

Examples of com.ca.commons.cbutil.CBButton.addActionListener()

    display.add(tabbedPane);
    display.makeLight();
    display.add(getButtonPanel());

    CBButton btnAttrs = new CBButton(CBIntText.get("Return Attrs"), CBIntText.get("Select Returning Attributes."));
    btnAttrs.addActionListener(new ActionListener(){
        public void actionPerformed(ActionEvent e){
          ArrayList list = CBListSelector.getSelectedValues(jx, build.getAttributes(), CBIntText.get("Select Returning Attributes"), HelpIDs.SEARCH);
          if(list!=null)
            returnAttrs = (String[])list.toArray(new String[list.size()]);
    }});   
View Full Code Here

Examples of com.commander4j.gui.JButton4j.addActionListener()

        }

        {
          final JButton4j exportXlsButton = new JButton4j(Common.icon_XLS);
          exportXlsButton.setToolTipText("Export all rows below to spreadsheet.");
          exportXlsButton.addActionListener(new ActionListener()
          {
            public void actionPerformed(final ActionEvent e)
            {
              exportExcel("multi");
            }
View Full Code Here

Examples of com.commander4j.gui.JMenuItem4j.addActionListener()

        addPopup(jTable1, popupMenu);

        {
          final JMenuItem4j menuItemAdd = new JMenuItem4j(Common.icon_add);
          menuItemAdd.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_PALLET_ADD"));
          menuItemAdd.addActionListener(new ActionListener()
          {
            public void actionPerformed(final ActionEvent e)
            {
              addRecord();
            }
View Full Code Here

Examples of com.dci.intellij.dbn.common.ui.list.CheckBoxList.addActionListener()

            abstractButton.addActionListener(actionListener);
        }
        else if (component instanceof CheckBoxList) {
            CheckBoxList checkBoxList = (CheckBoxList) component;
            if (actionListener == null) actionListener = createActionListener();
            checkBoxList.addActionListener(actionListener);
        } else if (component instanceof JTextField) {
            JTextField textField = (JTextField) component;
            if (documentListener == null) documentListener = createDocumentListener();
            textField.getDocument().addDocumentListener(documentListener);
        } else if (component instanceof JComboBox) {
View Full Code Here

Examples of com.eclipsesource.tabris.ui.UIConfiguration.addActionListener()

    verify( listener ).executed( ui, action );
  }

  private void mockUI( ActionListener listener ) {
    UIConfiguration configuration = new UIConfiguration();
    configuration.addActionListener( listener );
    when( ui.getConfiguration() ).thenReturn( configuration );
  }

  private ActionDescriptor mockDescriptor() {
    ActionDescriptor descriptor = mock( ActionDescriptor.class );
View Full Code Here

Examples of com.explodingpixels.swingx.EPButton.addActionListener()

     */
    public static JComponent createGradientButton(
            Icon icon, ActionListener actionListener) {

        EPButton button = new EPButton(icon);
        button.addActionListener(actionListener);

        button.setBackgroundPainter(GRADIENT_BUTTON_PAINTER);
        initGradientButton(button);
        button.setPressedIcon(icon);

View Full Code Here

Examples of com.intellij.openapi.ui.ComboBox.addActionListener()

        @Override
        public void customize(JList list, TestTypeListItem value, int index, boolean selected, boolean hasFocus) {
          setText(value.getDisplayName());
        }
      });
      comboBox.addActionListener(new ActionListener() {
        @Override
        public void actionPerformed(ActionEvent e) {
          selectTestType(getSelectedTestType());
        }
      });
View Full Code Here

Examples of com.intellij.openapi.ui.FixedSizeButton.addActionListener()

    JPanel result = new JPanel(new GridBagLayout());
    result.add(aComponent, new GridBagConstraints(0, 0, 1, 1, 1, 0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0,0));
    FixedSizeButton browseButton = new FixedSizeButton(aComponent.getPreferredSize().height - delta);//ignore border in case of browse button
    TextFieldWithBrowseButton.MyDoClickAction.addTo(browseButton, aComponent);
    result.add(browseButton, new GridBagConstraints(1, 0, 1, 1, 0, 1, GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0,0,0,0), 0,0));
    browseButton.addActionListener(aActionListener);

    return result;
  }

  public static JPanel constructDirectoryBrowserField(final JTextField aTextField, final String aSearchedObjectName) {
View Full Code Here
TOP
Copyright © 2015 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.