Examples of addActionListener()


Examples of com.nexirius.framework.swing.CFJRadioButton.addActionListener()

                if (!mustHide(i)) {
                    box.add(button);
                }

                buttons[i] = button;
                button.addActionListener(myActionListener);
            }

            setJComponent(box);
        } else if (getModel() instanceof BooleanModel) {
            ArrayLayout al = new ArrayLayout(true, ArrayLayout.FULL_SIZE);
View Full Code Here

Examples of com.sun.bookstore6.components.MapComponent.addActionListener()

                    styleClass.getExpressionString());
            }
        }

        if (actionListener != null) {
            map.addActionListener(
                    new MethodExpressionActionListener(actionListener));
        }

        if (action != null) {
            map.setActionExpression(action);
View Full Code Here

Examples of com.sun.dtv.lwuit.Button.addActionListener()

        };

        // Adicionando actionListeners
        btnLoadXlet.addActionListener(listener);
        btnVideo.addActionListener(listener);
        btnSair.addActionListener(listener);
        mainForm.addComponent(btnLoadXlet);
        mainForm.addComponent(btnVideo);
        mainForm.addComponent(btnSair);
        mainForm.addComponent(lblIP);
        mainForm.setCommandListener(listener);
View Full Code Here

Examples of com.sun.java.swing.action.DelegateAction.addActionListener()

    }

    private void registerAction(String actionName) {
        ActionManager manager = ActionManager.getInstance();
        DelegateAction action = manager.getDelegateAction(actionName);
        action.addActionListener(this);
    }

    public interface Listener {
        public void showObjectsOfType(Klass type);
    }
View Full Code Here

Examples of com.sun.lwuit.Button.addActionListener()

            b.getStyle().setBgTransparency(0);
            b.getStyle().setBorder(Border.createLineBorder(1));
            b.setAlignment(Label.CENTER);
            b.setTextPosition(Label.BOTTOM);
            mainContainer.addComponent(b);
            b.addActionListener(action);
          //  buttonpool.put(b, Contents.offlineChoices[i]);
            elementWidth = Math.max(b.getPreferredW(), elementWidth);
        }
           
        //Calculate the number of columns for the GridLayout according to the
View Full Code Here

Examples of com.sun.star.awt.XButton.addActionListener()

        // Add to yes button
        Object objectButton = xControlCont.getControl( _runButtonName );
        XButton xButton = ( XButton )UnoRuntime.queryInterface(
            XButton.class, objectButton );
        xButton.addActionListener( new ActionListenerImpl( xControlCont, _runButtonName ) );

        // add to no button
        objectButton = xControlCont.getControl( _doNotRunButtonName );
        xButton = ( XButton )UnoRuntime.queryInterface(
            XButton.class, objectButton );
View Full Code Here

Examples of com.sun.star.awt.XComboBox.addActionListener()

            case Component.XTYPE_XCOMBOBOX :
               XComboBox xComboBox = (XComboBox) UnoRuntime.queryInterface(XComboBox.class, compObject);

               if (listener instanceof ActionListener)
               {
                  xComboBox.addActionListener((XActionListener) listener);
               }
               else if (listener instanceof ItemListener)
               {
                  xComboBox.addItemListener((XItemListener) listener);
               }
View Full Code Here

Examples of com.sun.star.awt.XListBox.addActionListener()

            case Component.XTYPE_XLISTBOX :
               XListBox xListBox = (XListBox) UnoRuntime.queryInterface(XListBox.class, compObject);
               if (listener instanceof XActionListener)
               {
                  xListBox.addActionListener((XActionListener) listener);
               }

               break;
         }
      }
View Full Code Here

Examples of cz.cuni.mff.inetpaint.swing.ToolBarToggleButton.addActionListener()

            button.setFocusable(false);
            button.setRolloverEnabled(true);
            bg.add(button);

            button.addActionListener(new ActionListener() {
                @Override
                public void actionPerformed(ActionEvent e) {
                    fireToolChangedEvent(t);
                }
            });
View Full Code Here

Examples of de.iritgo.aktario.core.gui.IMenuItem.addActionListener()

          Address address = (Address) params[0];
          IMenuItem menuItem = new IMenuItem("<html><span style=\"width:8em\"><b>"
                  + (StringTools.isTrimEmpty(address.getEmail()) ? "-" : address.getEmail())
                  + "</b></span> (" + emailLabel.get() + ")</html>", (Icon) emailIcon);

          menuItem.addActionListener(new EMailAction(address.getEmail()));

          return menuItem;
        }
      });
      addAddressTableActionMenuItemProvider(new IMenuItemProvider()
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.