Examples of StringButton


Examples of fr.soleil.comete.widget.StringButton

    protected void initAndAddOtherComponentsInMainPanel() {

        hiddenValueLabel = new Label();
        valueListener = generateValueListener();

        applyButton = new StringButton() {
            @Override
            public void actionPerformed(EventObject event) {
                super.actionPerformed(event);
                updateCombo(false);
            }
        };
        applyButton.setAllowOutputPopup(false);
        applyButton.setText("Apply");
        applyButton.getComponent().setButtonLook(true);

        memoryComboTitleLabel = new JLabel();

        memoryComboActionListener = generateMemoryComboActionListener();
        memoryCombo = generateMemoryCombo();
        if (memoryComboActionListener != null) {
            memoryCombo.addActionListener(memoryComboActionListener);
        }
        memoryComboTextChangeListener = generateMemoryComboTextListener();
        addTextListener();

        setDefaultValueButton = new StringButton() {
            @Override
            public void actionPerformed(EventObject event) {
                super.actionPerformed(event);
                canSetData = true;
            }
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.