Package fr.soleil.comete.swing

Examples of fr.soleil.comete.swing.StringButton


    private static final long serialVersionUID = 4285095735157930844L;

    @Override
    protected StringButton initWidget() {
        return new StringButton();
    }
View Full Code Here


        mybox.connectWidget(attributeTarget, attributeKey);
    }

    @Override
    protected StringButton initWidget() {
        StringButton button = super.initWidget();
        // remove actionlistener for actionPerformed not to be called automatically
        button.removeActionListener(button);
        button.addActionListener(this);
        return button;
    }
View Full Code Here

        super();
    }

    @Override
    protected StringButton initWidget() {
        StringButton button = super.initWidget();
        button.setActionName("Action");
        // remove actionlistener for actionPerformed not to be called automatically
        button.removeActionListener(button);
        // listen to the widget, useful for pressed and released notifications
        button.addMouseListener(this);
        return button;
    }
View Full Code Here

        libDataStorageVersionViewer.setHorizontalAlignment(IComponent.LEFT);

        initDeviceButton = generateStringButton();
        initDeviceButton.setText("Initialize DataRecorder device");
        // delete command initialization
        deleteNexusFilesButton = new StringButton() {
            private static final long serialVersionUID = 111544979689639790L;

            @Override
            public void actionPerformed(ActionEvent event) {
                // encryption hack
View Full Code Here

        // Status
        statusArea = new TextArea();
        statusArea.setBorder(BorderFactory.createTitledBorder("Status"));

        // Start
        startButton = new StringButton();
        // Stop
        stopButton = new StringButton();

        // excitationEnergy
        // Label
        excitationEnergyLabel = new JLabel();
        excitationEnergyLabel.setText("Excitation Energy");
View Full Code Here

        StringScalarBox stringBox = new StringScalarBox();

        TangoKey key = new TangoKey();
        TangoKeyTool.registerCommand(key, "tango/tangotest/titan", "DevVarDoubleArray");

        StringButton commandButton = new StringButton();
        commandButton.setButtonLook(true);

        stringBox.setConfirmation(commandButton, false);
        stringBox.setOutputInPopup(commandButton, true);
        stringBox.setCommandWidget(commandButton, true);
        stringBox.connectWidget(commandButton, key);
View Full Code Here

    }

    @SuppressWarnings("serial")
    @Override
    protected StringButton initWidget() {
        return new StringButton() {
            public String getText() {
                return textButton;
            }
        };
    }
View Full Code Here

    }

    @Override
    protected AbstractButton getOtherActionButton() {
        if (resetFileNameIndexButton == null) {
            resetFileNameIndexButton = new StringButton();
            resetFileNameIndexButton.setButtonLook(true);
            resetFileNameIndexButton.setText("Reset File counter");
            stringBox.setSettable(resetFileNameIndexButton, false);
        }
        return resetFileNameIndexButton;
View Full Code Here

        editPanel.add(setDefaultValueButton, defaultButtonConstraints);

        // buttons
        buttonPanel = new JPanel(new GridBagLayout());
        closeButton.setText("Cancel");
        okButton = new StringButton() {

            private static final long serialVersionUID = 6216360703760072552L;

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

        });
        stringBox.setColorEnabled(acquisitionNameEditor, false);

        // Experiment Index
        experimentIndexPanel = new JPanel(new GridBagLayout());
        resetExperimentIndexButton = new StringButton();
        resetExperimentIndexButton.setButtonLook(true);
        resetExperimentIndexButton.setText("Reset Experiment Index");
        resetExperimentIndexButton.setCometeFont(FontTool.getCometeFont(closeButton.getFont()));
        incrementExperimentIndexButton = new StringButton();
        incrementExperimentIndexButton.setButtonLook(true);
        incrementExperimentIndexButton.setText("Increment Experiment Index");
        incrementExperimentIndexButton.setCometeFont(FontTool.getCometeFont(closeButton.getFont()));
        stringBox.setSettable(resetExperimentIndexButton, false);
        stringBox.setSettable(incrementExperimentIndexButton, false);
View Full Code Here

TOP

Related Classes of fr.soleil.comete.swing.StringButton

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.