Package fr.soleil.comete.definition.listener

Examples of fr.soleil.comete.definition.listener.IButtonListener


        removeButton.setText("-");

        addButton.setEnabled(this.comboBoxes.size() < this.possibleValues.size());
        removeButton.setEnabled(this.comboBoxes.size() > 1);

        addButton.addButtonListener(new IButtonListener() {

            @Override
            public void actionPerformed(EventObject arg0) {
                int rank = comboBoxes.size() + 1;
                addComboBox(rank, null);

                refreshCombos(null);

                removeButton.setEnabled(MultivaluedListComponent.this.comboBoxes.size() > 1);

                fireEditionStateChanged(true);

                MultivaluedListComponent.this.validate();
                MultivaluedListComponent.this.updateUI();

            }
        });
        removeButton.addButtonListener(new IButtonListener() {

            @Override
            public void actionPerformed(EventObject arg0) {

                int lastIndex = MultivaluedListComponent.this.comboBoxes.size();
View Full Code Here

TOP

Related Classes of fr.soleil.comete.definition.listener.IButtonListener

Copyright © 2018 www.massapicom. 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.