Examples of addActionListener()


Examples of de.sciss.gui.ModificationButton.addActionListener()

   
    b      = Box.createHorizontalBox();
    ggPlus    = new ModificationButton( ModificationButton.SHAPE_PLUS );
    ggMinus    = new ModificationButton( ModificationButton.SHAPE_MINUS );
    ggMinus.setEnabled( false );
    ggPlus.addActionListener( new ActionListener() {
      public void actionPerformed( ActionEvent e )
      {
        final int modelIndex = collAudioBoxConfigs.size();
        final int viewIndex;
        final AudioBoxConfig cfg = createUniqueAudioBox();
View Full Code Here

Examples of de.sciss.gui.MultiStateButton.addActionListener()

    ggLimiter.setNumColumns( 8 );
    ggLimiter.addItem( "Limiter" );
// NOTE: BUG WITH CUSTOM COMPOSITE ON WIN-XP!!!
//    ggLimiter.addItem( "Limiter", null, new Color( 0xFF, 0xFA, 0x9D ), new Color( 0xFA, 0xE7, 0x9D ));
ggLimiter.addItem( "Limiter", null, new Color( 0xFF, 0xFA, 0x9D ));
    ggLimiter.addActionListener( new ActionListener() {
      public void actionPerformed( ActionEvent e ) {
        superCollider.setLimiter( ggLimiter.getSelectedIndex() == 1 );
      }
    });
    if( superCollider.getLimiter() ) ggLimiter.setSelectedIndex( 1 );
View Full Code Here

Examples of de.sciss.gui.PrefCheckBox.addActionListener()

    key2  = "prefsLAFDecoration";
    title  = getResourceString( key2 );
    ggCheckBox  = new PrefCheckBox( title );
    ggCheckBox.setPreferences( prefs, key );
    tab.gridAdd( ggCheckBox, 1, row, -1, 1 );
    ggCheckBox.addActionListener( new WarnPrefsChange( ggCheckBox, ggCheckBox, haveWarned, txtWarnLookAndFeel, title ));

    row++;
         key    = BasicWindowHandler.KEY_INTERNALFRAMES;
    key2  = "prefsInternalFrames";
    title  = getResourceString( key2 );
View Full Code Here

Examples of de.sciss.gui.PrefComboBox.addActionListener()

    lafInfos = UIManager.getInstalledLookAndFeels();
        for( int i = 0; i < lafInfos.length; i++ ) {
            ggChoice.addItem( new StringItem( lafInfos[i].getClassName(), lafInfos[i].getName() ));
        }
    ggChoice.setPreferences( prefs, key );
    ggChoice.addActionListener( new WarnPrefsChange( ggChoice, ggChoice, haveWarned, txtWarnLookAndFeel, title ));
   
    tab.gridAdd( ggChoice, 1, row, -1, 1 );

    row++;
         key    = BasicWindowHandler.KEY_LAFDECORATION;
View Full Code Here

Examples of de.sciss.gui.TreeExpanderButton.addActionListener()

    lbStatus2    = new JLabel();

    ggStatusExp  = new TreeExpanderButton();
    ggStatusExp.setExpandedToolTip( getResourceString( "buttonExpStatsTT" ));
    ggStatusExp.setCollapsedToolTip( getResourceString( "buttonCollStatsTT" ));
    ggStatusExp.addActionListener( new ActionListener() {
      public void actionPerformed( ActionEvent e )
      {
        final Dimension  d  = getSize();

        if( ggStatusExp.isExpanded() ) {
View Full Code Here

Examples of easysm.boundaries.components.utils.BooleanTableCellRender.addActionListener()

              TableColumn col = colModel.getColumn(1);
              col.setMinWidth(50);
              col.setMaxWidth(60);
              BooleanTableCellRender booleanTableCellRender = new BooleanTableCellRender();

              booleanTableCellRender.addActionListener(new ActionListener()
              {

                @Override
                public void actionPerformed(ActionEvent e)
                {
View Full Code Here

Examples of echopointng.KeyStrokeListener.addActionListener()

    protected KeyStrokeListener createKeyStrokeListener() {
        KeyStrokeListener ks = new KeyStrokeListener();

        ks.addKeyCombination(KeyStrokeListener.ALT_MASK + KeyStrokeListener.VK_O, "OK");
        ks.addKeyCombination(KeyStrokeListener.VK_F10,"OK");
        ks.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

            public void actionPerformed(ActionEvent arg0) {
                if (arg0.getActionCommand().equals("OK")) {
View Full Code Here

Examples of edu.mit.blocks.codeblockutil.CBorderlessButton.addActionListener()

                        FactoryManager.this.viewDynamicDrawers();
                    }
                }
            };
            factoryButton.addActionListener(listener);
            myblocksButton.addActionListener(listener);
            this.factorySwicther.add(factoryButton, BorderLayout.WEST);
            this.factorySwicther.add(myblocksButton, BorderLayout.EAST);
            this.viewStaticDrawers();
        }
        this.factorySwicther.revalidate();
View Full Code Here

Examples of es.juanrak.svn.gui.menu.SVNMenu.addActionListener()

            }
            else {
                SVNMenu menu = new SVNMenu(this, configuracion);
                menu.setEnabled( menu.isMenuPara(elemento) );
                //menu.addActionListener(this.actionListenerMenuUsuario);
                menu.addActionListener( new ActionListener() {

                    public void actionPerformed(ActionEvent arg0) {
                       ejecutarComandoMenu((SVNMenuItem)arg0.getSource(), elemento );
                    }});
                menuUsuarioRecibo.add(menu);
View Full Code Here

Examples of es.juanrak.svn.gui.menu.SVNMenuItem.addActionListener()

        for (SVNMenuConfiguracion configuracion : menuConfiguracion) {
            if( !configuracion.tieneSubMenus()) {
                SVNMenuItem menuItem = new SVNMenuItem(this, configuracion);
                menuItem.setEnabled( menuItem.isMenuPara(elemento) );
                //menuItem.addActionListener(this.actionListenerMenuUsuario);
                menuItem.addActionListener( new ActionListener() {

                    public void actionPerformed(ActionEvent arg0) {
                       System.out.println(arg0);
                       ejecutarComandoMenu( (SVNMenuItem)arg0.getSource(), elemento );
                    }});
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.