Package fr.soleil.comete.swt

Examples of fr.soleil.comete.swt.ComboBox


        // set a background to let user see limits of the component
        componentPanel.setBackground(new Color(Display.getCurrent(), 255, 175, 175));// PINK as in
                                                                                     // awt

        // Combo box
        final ComboBox theComponent = new ComboBox(componentPanel, SWT.NONE);
        theComponent.setLayoutData(new RowData(150, 50));
        theComponent.setValueList(VALUES_1);
        theComponent.setDisplayedList(DISPLAYED_1);

        // ----------
        Group testPanel = getTestPanel(mainComposite, theComponent);

        GridData testPanelGridData = new GridData();
View Full Code Here


        componentPanel.setLayoutData(componentGridData);

        // set a background to let user see limits of the component
        componentPanel.setBackground(new Color(Display.getCurrent(), 255, 175, 175));// PINK as in awt

        final ComboBox theComponent = new ComboBox(componentPanel, SWT.NONE);
        theComponent.setLayoutData(new RowData(275, 150));
        // ----------
        Group testPanel = getTestPanel(mainComposite, theComponent);

        GridData testPanelGridData = new GridData();
        testPanelGridData.grabExcessHorizontalSpace = true;
View Full Code Here

        GridData componentGridData = new GridData();
        componentGridData.verticalAlignment = SWT.BEGINNING;
        componentPanel.setLayoutData(componentGridData);

        //Combo box
        final ComboBox theComponent = new ComboBox(componentPanel, SWT.NONE);
        theComponent.setLayoutData(new RowData(150, 50));
        theComponent.setValueList(IComboBoxTestPanel.VALUES_1);
        // ----------

        Group testPanelIComponent = IComponentTestPanel.getTestPanel(mainComposite, theComponent);
        Group testPanelIComboBox = IComboBoxTestPanel.getTestPanel(mainComposite, theComponent);
        Group testPanelIEditableComponent = IEditableComponentTestPanel.getTestPanel(mainComposite, theComponent);
View Full Code Here

TOP

Related Classes of fr.soleil.comete.swt.ComboBox

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.