Examples of ComboBox


Examples of echopointng.ComboBox

    protected void createComponents() {
        String[] salutations = new String[3];
        salutations[0] = "Herr";
        salutations[1] = "Frau";
        salutations[2] = "Firma";
        cbbSalutation = new ComboBox(salutations);
       
        txFName = new JbsTextField();
        txName1 = new JbsTextField();
        txName2 = new JbsTextField();
        txName3 = new JbsTextField();
View Full Code Here

Examples of fr.soleil.comete.swing.ComboBox

        chartBox = new ChartViewerBox();
        chartViewer = new Chart();
        // chartViewer.setAnnotation(IChartViewer.TIME_ANNO, IChartViewer.X);
        chartViewer.setAutoHighlightOnLegend(true);

        sourceProducerList = new ComboBox();
        sourceProducerList.addComboBoxListener(this);

        dataTypeList = new ComboBox();
        dataTypeList.setValueList(0, 1, 2, 3);
        dataTypeList.setDisplayedList("Number Scalar", "Boolean Scalar", "Number Spectrum", "Boolean Spectrum");
        dataTypeList.addComboBoxListener(this);

        periodLabel = new JLabel("Refreshing Period (ms)");
View Full Code Here

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

Examples of fr.soleil.comete.swt.both.ComboBox

        GridData textareaData = new GridData(150, 150);
        textareaData.verticalAlignment = GridData.BEGINNING;
        textareaString.setLayoutData(textareaData);

        // ComboBox
        comboString = new ComboBox(parent, SWT.NONE);
        comboString.setValueList(new String[] { "Un", "Deux", "Trois", "Quatre", "Cinq", "Six",
                "Sept", "Huit", "Neuf", "Dix" });
        GridData comboData = new GridData(150, 25);
        comboData.verticalAlignment = GridData.BEGINNING;
        comboString.setLayoutData(comboData);
View Full Code Here

Examples of javafx.scene.control.ComboBox

    @Override
    public void start(Stage primaryStage) {
        Label movieNameLabel = new Label("Movie Name:");
        Label languageLabel = new Label("Language:");
        movieNameField = new TextField();
        languageCombo = new ComboBox();
        searchButton = new Button("Search");
       
        initComboBox();

        languageCombo.setMaxWidth(Double.MAX_VALUE);
View Full Code Here

Examples of jfix.zk.Combobox

    select.setHflex("3");
    return select;
  }

  private Combobox newNameInput() {
    Combobox input = new Combobox();
    input.setSelection(Arrays.asList(Properties.getPropertyNames()), null);
    input.setHflex("8");
    return input;
  }
View Full Code Here

Examples of net.laubenberger.bogatyr.view.swing.ComboBox

    tfInput.setEditable(false);
    tfOutput = new TextField(null == scrambler.getModuleData().getFile(KEY_UNSCRAMBLE_OUTPUT) ? null : scrambler
        .getModuleData().getFile(KEY_UNSCRAMBLE_OUTPUT).getAbsolutePath(),
        localizer.getTooltip(HelperResource.RES_LABEL_UNSCRAMBLE_OUTPUT));
    tfOutput.setEditable(false);
    cbCodecs = new ComboBox(CryptoSymmetricAlgo.values(),
        localizer.getTooltip(HelperResource.RES_LABEL_UNSCRAMBLE_CODEC));
    password = new PasswordField(localizer.getTooltip(HelperResource.RES_LABEL_UNSCRAMBLE_PASSWORD));

    actionGo = new ActionGo();
    final ActionAbstract actionAbort = new ActionAbort();
View Full Code Here

Examples of org.apache.struts2.components.ComboBox

    public void setListValue(String listValue) {
        this.listValue = listValue;
    }

    public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
        return new ComboBox(stack, req, res);
    }
View Full Code Here

Examples of org.beryl.gui.widgets.ComboBox

  public ComboBoxEditor(ListDataModel dataModel) {
    this.dataModel = dataModel;
  }

  public Widget getEditor(Table table, Object value, TableRow row, String key) throws GUIException {
    ComboBox comboBox = new ComboBox(null, null);
    MapDataModel mapDataModel = new MapDataModel();
    mapDataModel.setValue("value", value);
    comboBox.setProperty("valuekey", "value");
    comboBox.setDataModel(mapDataModel);
    comboBox.setListDataModel(dataModel);
    return comboBox;
  }
View Full Code Here

Examples of org.beryl.gui.widgets.ComboBox

  private class LayoutEditor implements TableEditor {
    public Widget getEditor(Table table, Object value, TableRow row, String key) throws GUIException {
      Panel panel = new Panel(null, null);

      ComboBox comboBox = new ComboBox(panel, null);
      final Button button = new Button(panel, null);
      final MapDataModel dataModel = new MapDataModel();
      dataModel.setValue("userobject", ((PropertyTableRow) row).getUserObject());
      dataModel.setValue("frame", table.getParentWidgetByClass(Frame.class));
      dataModel.setValue("node", ((PropertyTableRow) row).getPropertyNode());

      button.setProperty("text", "...");
      button.addListener("clicked", "modify", LayoutAdapter.this);
      panel.addChild(comboBox, "Center");
      panel.addChild(button, "East");
      comboBox.setProperty("valuekey", "value");
      comboBox.setListDataModel(layoutModel);
      panel.recursiveSetDataModel(dataModel);
      dataModel.addModelChangeListener(new ModelChangeListener() {
        public void modelChanged(ModelChangeEvent e) throws GUIException {
          button.setEnabled("hig".equals(dataModel.getValue("value")));
        }
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.