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

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


    final Action action = createExtendedEditorAction();

    this.eventListenerList = new EventListenerList();

    ellipsisButton = new EllipsisButton("...");
    ellipsisButton.addActionListener(action);

    comboBox = new JComboBox();
    final ComboBoxEditor boxEditor = comboBox.getEditor();
    if (boxEditor instanceof BasicComboBoxEditor)
View Full Code Here


  {
    setLayout(new BorderLayout());

    this.eventListenerList = new EventListenerList();

    ellipsisButton = new EllipsisButton("...");
    ellipsisButton.setDefaultCapable(false);
    ellipsisButton.addActionListener(new ExtendedEditorAction());

    textField = new JTextField();
    textField.setDocument(new NonFilteringPlainDocument());
View Full Code Here

    gbc.gridx = 2;
    gbc.gridy = 0;
    gbc.anchor = GridBagConstraints.WEST;
    gbc.insets = new Insets(5, 5, 0, 5);
    gbc.fill = GridBagConstraints.VERTICAL;
    add(new EllipsisButton(new SelectCustomColorAction(gridColorSelectorBox)), gbc);

    gbc = new GridBagConstraints();
    gbc.gridx = 0;
    gbc.gridy = 1;
    gbc.anchor = GridBagConstraints.WEST;
    gbc.insets = new Insets(5, 5, 0, 5);
    add(new JLabel(SettingsMessages.getInstance().getString("ColorSettingsPanel.GuideColor")), gbc);

    gbc = new GridBagConstraints();
    gbc.gridx = 1;
    gbc.gridy = 1;
    gbc.anchor = GridBagConstraints.WEST;
    gbc.insets = new Insets(5, 5, 0, 5);
    gbc.weightx = 1;
    gbc.fill = GridBagConstraints.HORIZONTAL;
    add(guideColorSelectorBox, gbc);

    gbc = new GridBagConstraints();
    gbc.gridx = 2;
    gbc.gridy = 1;
    gbc.anchor = GridBagConstraints.WEST;
    gbc.insets = new Insets(5, 5, 0, 5);
    gbc.fill = GridBagConstraints.VERTICAL;
    add(new EllipsisButton(new SelectCustomColorAction(guideColorSelectorBox)), gbc);

    gbc = new GridBagConstraints();
    gbc.gridx = 0;
    gbc.gridy = 2;
    gbc.anchor = GridBagConstraints.WEST;
    gbc.insets = new Insets(5, 5, 0, 5);
    add(new JLabel(SettingsMessages.getInstance().getString("ColorSettingsPanel.AlignmentHintColor")), gbc);

    gbc = new GridBagConstraints();
    gbc.gridx = 1;
    gbc.gridy = 2;
    gbc.anchor = GridBagConstraints.WEST;
    gbc.insets = new Insets(5, 5, 0, 5);
    gbc.weightx = 1;
    gbc.fill = GridBagConstraints.HORIZONTAL;
    add(alignmentHintColorSelectorBox, gbc);

    gbc = new GridBagConstraints();
    gbc.gridx = 2;
    gbc.gridy = 2;
    gbc.anchor = GridBagConstraints.WEST;
    gbc.insets = new Insets(5, 5, 0, 5);
    gbc.fill = GridBagConstraints.VERTICAL;
    add(new EllipsisButton(new SelectCustomColorAction(alignmentHintColorSelectorBox)), gbc);

    gbc = new GridBagConstraints();
    gbc.gridx = 0;
    gbc.gridy = 3;
    gbc.anchor = GridBagConstraints.WEST;
    gbc.insets = new Insets(5, 5, 0, 5);
    add(new JLabel(SettingsMessages.getInstance().getString("ColorSettingsPanel.OverlapHintColor")), gbc);

    gbc = new GridBagConstraints();
    gbc.gridx = 1;
    gbc.gridy = 3;
    gbc.anchor = GridBagConstraints.WEST;
    gbc.insets = new Insets(5, 5, 0, 5);
    gbc.weightx = 1;
    gbc.fill = GridBagConstraints.HORIZONTAL;
    add(overlapHintColorSelectorBox, gbc);

    gbc = new GridBagConstraints();
    gbc.gridx = 2;
    gbc.gridy = 3;
    gbc.anchor = GridBagConstraints.WEST;
    gbc.insets = new Insets(5, 5, 0, 5);
    gbc.fill = GridBagConstraints.VERTICAL;
    add(new EllipsisButton(new SelectCustomColorAction(overlapHintColorSelectorBox)), gbc);

    gbc = new GridBagConstraints();
    gbc.gridx = 2;
    gbc.gridy = 4;
    gbc.anchor = GridBagConstraints.WEST;
View Full Code Here

    this.eventListenerList = new EventListenerList();
    this.dataAttributeContext = new DefaultDataAttributeContext();
    this.extraFields = EMPTY_EXTRA_FIELDS;

    ellipsisButton = new EllipsisButton("...");
    ellipsisButton.addActionListener(action);

    textField = new JTextArea();
    textField.setLineWrap(true);
    textField.setDocument(new NonFilteringPlainDocument());
View Full Code Here

  {
    setLayout(new BorderLayout());

    this.eventListenerList = new EventListenerList();

    ellipsisButton = new EllipsisButton("...");
    ellipsisButton.setDefaultCapable(false);
    ellipsisButton.addActionListener(new ExtendedEditorAction());

    textField = new JTextField();
    textField.setDocument(new NonFilteringPlainDocument());
View Full Code Here

    gbc.gridx = 2;
    gbc.gridy = 1;
    gbc.anchor = GridBagConstraints.WEST;
    gbc.insets = new Insets(5, 5, 0, 5);
    gbc.fill = GridBagConstraints.VERTICAL;
    styleColorPanel.add(new EllipsisButton(new SelectCustomColorAction(colorSelectorBox)), gbc);

    final JPanel linestylePanel = new JPanel();
    linestylePanel.setLayout(new BorderLayout());
    linestylePanel.setBorder(BorderFactory.createTitledBorder(Messages.getString("BorderPropertiesPane.LineStyle")));
    linestylePanel.add(styleListPanel, BorderLayout.CENTER);
View Full Code Here

    gbc.gridx = 2;
    gbc.gridy = 0;
    gbc.anchor = GridBagConstraints.WEST;
    gbc.insets = new Insets(5, 5, 0, 5);
    gbc.fill = GridBagConstraints.VERTICAL;
    add(new EllipsisButton(new SelectCustomColorAction(colorSelectorBox)), gbc);

    gbc = new GridBagConstraints();
    gbc.gridx = 0;
    gbc.gridy = 1;
    gbc.anchor = GridBagConstraints.WEST;
    gbc.insets = new Insets(5, 5, 0, 5);
    add(new JLabel(Messages.getString("ColorPropertiesPane.Background")), gbc);

    gbc = new GridBagConstraints();
    gbc.gridx = 1;
    gbc.gridy = 1;
    gbc.anchor = GridBagConstraints.WEST;
    gbc.insets = new Insets(5, 5, 0, 5);
    add(backgroundSelectorBox, gbc);

    gbc = new GridBagConstraints();
    gbc.gridx = 2;
    gbc.gridy = 1;
    gbc.anchor = GridBagConstraints.WEST;
    gbc.insets = new Insets(5, 5, 0, 5);
    gbc.fill = GridBagConstraints.VERTICAL;
    add(new EllipsisButton(new SelectCustomColorAction(backgroundSelectorBox)), gbc);


    gbc = new GridBagConstraints();
    gbc.gridx = 0;
    gbc.gridy = 5;
View Full Code Here

  public StructureFunctionCellEditor()
  {
    eventListenerList = new EventListenerList();
    this.dataAttributeContext = new DefaultDataAttributeContext();

    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());
View Full Code Here

  public ReportPreProcessorCellEditor()
  {
    eventListenerList = new EventListenerList();

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

    final DefaultComboBoxModel model = new DefaultComboBoxModel();
    final ReportPreProcessorMetaData[] datas = ReportPreProcessorRegistry.getInstance().getAllReportPreProcessorMetaDatas();
    model.addElement(null);
    for (int i = 0; i < datas.length; i++)
View Full Code Here

    setLayout(new BorderLayout());
    dateField = new JFormattedTextField();
    dateField.setColumns(20);
    dateField.setEditable(true);

    pickDateButton = new EllipsisButton(new PickDateListener());

    add(dateField, BorderLayout.CENTER);
    add(pickDateButton, BorderLayout.EAST);
  }
View Full Code Here

TOP

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

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.