Examples of SmartComboBox


Examples of org.pentaho.reporting.libraries.designtime.swing.SmartComboBox

      {
        continue;
      }
      model.addElement(metaData);
    }
    expressionEditor = new SmartComboBox(model);
    expressionEditor.addActionListener(new SelectionAction());
    expressionEditor.setEditor(new ValuePassThroughCellEditor(expressionEditor, new ReportPreProcessorListCellRenderer()));
    expressionEditor.setRenderer(new ReportPreProcessorListCellRenderer());
    expressionEditor.getInputMap().put(UtilMessages.getInstance().getKeyStroke
        ("PropertyCellEditorWithEllipsis.PopupEditor.Accelerator"), POPUP_EDITOR);
View Full Code Here

Examples of org.pentaho.reporting.libraries.designtime.swing.SmartComboBox

    this.context = context;

    this.queriesTableModel = new QueriesTableModel();
    queriesTable = new JTable(queriesTableModel);
    baseUrl = new JTextField();
    baseUrlField = new SmartComboBox();
    baseUrlField.setEditable(true);
    final DefaultComboBoxModel comboBoxModel = new DefaultComboBoxModel(context.getDataSchemaModel().getColumnNames());
    comboBoxModel.insertElementAt(null, 0);
    comboBoxModel.setSelectedItem(null);
    baseUrlField.setModel(comboBoxModel);
View Full Code Here

Examples of org.pentaho.reporting.libraries.designtime.swing.SmartComboBox

    this.dataAttributeContext = new DefaultDataAttributeContext();

    final EllipsisButton ellipsisButton = new EllipsisButton("...");
    ellipsisButton.addActionListener(new ExtendedEditorAction());

    expressionEditor = new SmartComboBox();
    expressionEditor.setEditable(false);
    expressionEditor.setEditor(new ValuePassThroughCellEditor(expressionEditor, new ExpressionListCellRenderer()));
    expressionEditor.setRenderer(new ExpressionListCellRenderer());
    expressionEditor.getInputMap().put(UtilMessages.getInstance().getKeyStroke
        ("PropertyCellEditorWithEllipsis.PopupEditor.Accelerator"), POPUP_EDITOR);
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.