Examples of addActionListener()


Examples of org.jitterbit.ui.widget.combobox.KongaComboBox.addActionListener()

        }
        items.add(new PrototypeItem(Prototype.SimpleTextDef));
        JComboBox combo = new KongaComboBox(items);
        combo.setRenderer(new DefaultListDecorRenderer());
        combo.setSelectedIndex(0);
        combo.addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent e) {
                delimiterField.setEnabled(getPrototype() != Prototype.SimpleTextDef);
                notifyValidationListener();
View Full Code Here

Examples of org.jitterbit.ui.widget.text.KongaTextField.addActionListener()

        installAutoCompletion();
    }
   
    private KongaTextField createPackageField() {
        KongaTextField field = new KongaTextField();
        field.addActionListener(new InsertPackageFromFieldAction());
        field.setLabel("Import &package (ENTER to insert):");
        field.setSelectAllWhenFocused(true);
        return field;
    }
   
View Full Code Here

Examples of org.jvnet.flamingo.common.JCommandButton.addActionListener()

        if(btnSVGIcon != null) {
          JCommandButton btn = new JCommandButton(name, btnSVGIcon);
          activityTypeNameMap.put(activityCls, name);
          btn.setToolTipText(clsName);
          btn.addActionListener(new ActionListener(){
            public void actionPerformed(ActionEvent ae){
              ProcessDesigner.this.insertActivity(activityCls);
              ProcessDesigner.this.setDocumentChanged(true);
            }         
          });
View Full Code Here

Examples of org.jvnet.flamingo.common.JCommandToggleButton.addActionListener()

        JCommandToggleButton cbtnStatusBar = new JCommandToggleButton(
                I18n.COMMON.getString("Action.StatusBar"),
                ViewHelpers.createResizableIcon(new ImageIcon(getClass().getResource(
                                        ViewHelpers.ICONS22 + "statusbar.png"))));
        cbtnStatusBar.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                onToogleStatusBar();
            }
        });
View Full Code Here

Examples of org.metaworks.inputter.Inputter.addActionListener()

        dynamicPanel.add(cards, BorderLayout.CENTER);
        //pl2.add(valueInput.getComponent(), BorderLayout.WEST);
        pl.add(dynamicPanel);
       
       
    dtInput.addActionListener(new ActionListener(){
      public void actionPerformed(ActionEvent e) {
        try{
          Class type = (Class)dtInput.getValue();
          if(type!=null){
            if(valueInput==null)
View Full Code Here

Examples of org.metaworks.inputter.InputterAdapter.addActionListener()

        }
       
        RoleResolutionContext rrc = (RoleResolutionContext)Class.forName(className).newInstance();
        String roleResolutionContextName = rrc.getName();

        drrcInput.addActionListener(this);
     
        tabPanel.add(
          "Center",
          drrcInput.getNewComponent()
        );    
View Full Code Here

Examples of org.mt4j.components.visibleComponents.widgets.buttons.MTImageButton.addActionListener()

    fotoButton.setName("fotoButton");
    fotoButton.setNoStroke(true);
    fotoButton.setDepthBufferDisabled(true); //Draw on top of everything
//    fotoButton.translate(new Vector3D(MT4jSettings.getInstance().getScreenWidth() - fotoButton.getWidthXY(TransformSpace.RELATIVE_TO_PARENT) -5, MT4jSettings.getInstance().getScreenHeight()- fotoButton.getHeightXY(TransformSpace.RELATIVE_TO_PARENT) -5, 0));
    fotoButton.translate(new Vector3D(0, MT4jSettings.getInstance().getWindowHeight()- fotoButton.getHeightXY(TransformSpace.RELATIVE_TO_PARENT) , 0));
    fotoButton.addActionListener(new ActionListener(){
      public void actionPerformed(ActionEvent ae) {
        switch (ae.getID()) {
        case TapEvent.BUTTON_CLICKED:
          Point[] p = getScreenPoints();
          for (int i = 0; i < p.length; i++) {
View Full Code Here

Examples of org.mt4j.components.visibleComponents.widgets.buttons.MTSvgButton.addActionListener()

              flickrButton.scale(0.4f, 0.4f, 1, new Vector3D(0,0,0), TransformSpace.LOCAL);
              flickrButton.translate(new Vector3D(0, 15,0));
              flickrButton.setBoundsPickingBehaviour(AbstractShape.BOUNDS_ONLY_CHECK);
             
              //Add actionlistener to flickr button
              flickrButton.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent arg0) {
              if (arg0.getSource() instanceof MTComponent){
                //MTBaseComponent clickedComp = (MTBaseComponent)arg0.getSource();
                switch (arg0.getID()) {
                case TapEvent.BUTTON_CLICKED:
View Full Code Here

Examples of org.nasutekds.guitools.controlpanel.ui.components.ActionButton.addActionListener()

      gbc2.fill = GridBagConstraints.HORIZONTAL;
      for (Action action : category.getActions())
      {
        final ActionButton b = new ActionButton(action);
        actions.add(b);
        b.addActionListener(new ActionListener()
        {
          /**
           * {@inheritDoc}
           */
          public void actionPerformed(ActionEvent ev)
View Full Code Here

Examples of org.nasutekds.quicksetup.ui.CustomHTMLEditorKit.addActionListener()

      e.printStackTrace();
    }
    */

    CustomHTMLEditorKit ek = new CustomHTMLEditorKit();
    ek.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent ev) {
        Component dlg = SwingUtilities.getAncestorOfClass(Window.class,
                BuildListDownloadErrorPanel.this);
        specifyProxy(dlg);

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.