Package org.pentaho.reporting.libraries.designtime.swing

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


  {
    setTitle(Messages.getString("RowBandingDialog.RowBanding"));

    visibleColorBox = new ColorComboBox();
    visibleColorBox.setEditable(true);
    visibleColorBox.setEditor(new ValuePassThroughCellEditor(visibleColorBox, new ColorCellRenderer()));

    invisibleColorBox = new ColorComboBox();
    invisibleColorBox.setEditable(true);
    invisibleColorBox.setEditor(new ValuePassThroughCellEditor(invisibleColorBox, new ColorCellRenderer()));

    elementNameField = new JTextField();
    elementNameField.setColumns(40);

    initialStateModel = createInitialStateModel();
View Full Code Here


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

    expressionEditor = new SmartComboBox<ExpressionMetaData>();
    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);
    expressionEditor.getActionMap().put(POPUP_EDITOR, new ExtendedEditorAction());
    expressionEditor.setBorder(BorderFactory.createEmptyBorder());
View Full Code Here

      }
      model.addElement(metaData);
    }
    expressionEditor = new SmartComboBox<ReportPreProcessorMetaData>(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);
    expressionEditor.getActionMap().put(POPUP_EDITOR, new ExtendedEditorAction());
    expressionEditor.setBorder(BorderFactory.createEmptyBorder());
View Full Code Here

      }
      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);
    expressionEditor.getActionMap().put(POPUP_EDITOR, new ExtendedEditorAction());
    expressionEditor.setBorder(BorderFactory.createEmptyBorder());
View Full Code Here

  public static JComboBox createColorBox()
  {
    final JComboBox box = new ColorComboBox();
    box.setFocusable(false);
    box.setEditable(true);
    box.setEditor(new ValuePassThroughCellEditor(box, new ColorCellRenderer()));
    return box;
  }
View Full Code Here

    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);
    expressionEditor.getActionMap().put(POPUP_EDITOR, new ExtendedEditorAction());
    expressionEditor.setBorder(BorderFactory.createEmptyBorder());
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.libraries.designtime.swing.ValuePassThroughCellEditor

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.