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

Examples of org.pentaho.reporting.libraries.designtime.swing.bulk.SortBulkUpAction


    final ListSelectionModel selectionModel = table.getSelectionModel();

    final Action addGroupAction = new AddEntryAction(tableModel);
    final Action removeGroupAction = new RemoveEntryAction(tableModel, selectionModel);

    final Action sortUpAction = new SortBulkUpAction(tableModel, selectionModel, table);
    final Action sortDownAction = new SortBulkDownAction(tableModel, selectionModel, table);

    final JPanel buttonsPanel = new JPanel();
    buttonsPanel.setLayout(new FlowLayout(FlowLayout.RIGHT));
    buttonsPanel.add(new BorderlessButton(sortUpAction));
View Full Code Here


  {
    final ListSelectionModel selectionModel = dateFormatTable.getSelectionModel();
    final Action addGroupAction = new AddEntryAction(dateFormatModel);
    final Action removeGroupAction = new RemoveEntryAction(dateFormatModel, selectionModel, dateFormatTable);

    final Action sortUpAction = new SortBulkUpAction(dateFormatModel, selectionModel, dateFormatTable);
    final Action sortDownAction = new SortBulkDownAction(dateFormatModel, selectionModel, dateFormatTable);

    final JPanel buttonsPanel = new JPanel();
    buttonsPanel.setLayout(new FlowLayout(FlowLayout.RIGHT));
    buttonsPanel.add(new BorderlessButton(sortUpAction));
View Full Code Here

    final JButton columnsAdd = new BorderlessButton(new AddSelectionAction(availableFields.getSelectionModel()));
    final JLabel columnsLabel = new JLabel(Messages.getString("EditGroupDetailsDialog.SelectedItems"));

    final ListSelectionModel columnsSelectionModel = groupFields.getSelectionModel();
    final JButton columnsSortUp = new BorderlessButton(new SortBulkUpAction(groupFieldsModel, columnsSelectionModel));
    final JButton columnsSortDown = new BorderlessButton(new SortBulkDownAction(groupFieldsModel, columnsSelectionModel));
    final JButton columnsRemove = new BorderlessButton(new RemoveBulkAction(groupFieldsModel, columnsSelectionModel));

    gbc = new GridBagConstraints();
    gbc.anchor = GridBagConstraints.WEST;
View Full Code Here

    final Action addGroupAction = new AddGroupAction(tableModel);
    final Action removeGroupAction = new RemoveGroupAction(tableModel, selectionModel);
    final Action editGroupAction = new EditGroupAction(tableModel, selectionModel);

    final Action sortUpAction = new SortBulkUpAction(tableModel, selectionModel, table);
    final Action sortDownAction = new SortBulkDownAction(tableModel, selectionModel, table);

    final JPanel buttonsPanel = new JPanel();
    buttonsPanel.setLayout(new FlowLayout(FlowLayout.RIGHT));
    buttonsPanel.add(new BorderlessButton(sortUpAction));
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.libraries.designtime.swing.bulk.SortBulkUpAction

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.