Examples of addMouseListener()


Examples of org.jdesktop.swingx.JXList.addMouseListener()

    if (useSingleSelection) {
      listArticles.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
      listArticles.setSelectionModel(new SingleListSelectionAdapter(
          objectSelectionList.getSelectionIndexHolder()));
    }
    listArticles.addMouseListener(getListDoubleClickHandler(window));
    return listArticles;
  }

  /**
   * Henter ok-knapp
View Full Code Here

Examples of org.jdesktop.swingx.JXTaskPane.addMouseListener()

      final FilterJobBuilderPresenter presenter = (FilterJobBuilderPresenter) renderer.render(fjb);
      _presenters.put(fjb, presenter);
    }

    final JXTaskPane taskPane = createTaskPane(fjb);
    taskPane.addMouseListener(new JobBuilderTaskPaneTextMouseListener(_analysisJobBuilder, fjb, taskPane));
    _taskPanes.put(fjb, taskPane);
    _taskPaneContainer.add(taskPane);
  }

  @Override
View Full Code Here

Examples of org.jdesktop.swingx.JXTree.addMouseListener()

    splitPane.add(WidgetUtils.scrolleable(tree));
    splitPane.add(WidgetUtils.scrolleable(centerPanel));
    splitPane.setDividerLocation(180);
    panel.add(splitPane, BorderLayout.CENTER);

    tree.addMouseListener(new MouseAdapter() {
      @Override
      public void mouseClicked(MouseEvent e) {
        TreePath path = tree.getPathForLocation(e.getX(), e.getY());
        if (path == null) {
          return;
View Full Code Here

Examples of org.jitterbit.integration.client.ui.entity.tree.IntegrationEntityTree.addMouseListener()

    @Override
    public void install() {
        IntegrationEntityTree tree = getTree();
        if (TreeAndPageSelectionSynchronization.isEnabled()) {
            tree.addMouseListener(selectionSynchronizer);
        }
        treePreferenceListeners = new TreePreferenceListeners(tree);
    }

    @Override
View Full Code Here

Examples of org.jitterbit.ui.widget.KongaScrollPane.addMouseListener()

        if (useScroll) {
            KongaScrollPane scroll = new KongaScrollPane(p);
            scroll.makeInconspicuous();
            canvas.add(scroll, BorderLayout.CENTER);
            if (addMouseListener) {
                scroll.addMouseListener(new ContextMenuTrigger());
            }
            page.setEditorBorder(Empty.border());
        } else {
            if (addMouseListener) {
                p.addMouseListener(new ContextMenuTrigger());
View Full Code Here

Examples of org.jitterbit.ui.widget.button.KongaButton.addMouseListener()

        button.setContentAreaFilled(false);
        button.setFocusPainted(false);
        final Border inactiveBorder = Empty.border(2, 2, 3, 3);
        final Border activeBorder = new BorderBuilder().etched().empty(0, 0, 1, 1);
        button.setBorder(inactiveBorder);
        button.addMouseListener(new MouseAdapter() {

            @Override
            public void mouseEntered(MouseEvent e) {
                button.setBorder(activeBorder);
            }
View Full Code Here

Examples of org.jooq.debug.console.misc.JTableX.addMouseListener()

                public void valueChanged(ListSelectionEvent e) {
                    int selectedRowCount = table.getSelectedRowCount();
                    label.setText(" " + rowDataList.size() + " rows" + (selectedRowCount == 0? "": " - " + selectedRowCount + " selected rows"));
                }
            });
            table.addMouseListener(new MouseAdapter() {
                @Override
                public void mousePressed(MouseEvent e) {
                    int row = table.rowAtPoint(e.getPoint());
                    int column = table.columnAtPoint(e.getPoint());
                    if(!table.isCellSelected(row, column)) {
View Full Code Here

Examples of org.jwildfire.swing.ImagePanel.addMouseListener()

      imgPanel.setImage(img);
      imgPanel.setLocation(BORDER_SIZE, i * IMG_HEIGHT + (i + 1) * BORDER_SIZE);
      randomBatch.get(i).setImgPanel(imgPanel);
      final int idx = i;
      addRemoveButton(imgPanel, idx);
      imgPanel.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent e) {
          if (e.getClickCount() > 1 || e.getButton() != MouseEvent.BUTTON1) {
            importFromRandomBatch(idx);
          }
        }
View Full Code Here

Examples of org.locationtech.udig.project.ui.render.displayAdapter.ViewportPane.addMouseListener()

            public void mouseEntered( MapMouseEvent event ) {
            }
            public void mouseDoubleClicked( MapMouseEvent event ) {
            }
        };
        viewportPane.addMouseListener(currentMapMouseListener);
    }

    private void removeRegionListener() {
        if (currentBlackboardListener != null) {
            ILayer processingRegionLayer = OmsBoxPlugin.getDefault().getProcessingRegionMapGraphic();
View Full Code Here

Examples of org.mcarthur.sandy.gwt.table.client.TableRow.addMouseListener()

        public void onAttach(final Object obj, final TableBodyGroup rowGroup) {
            rowGroup.addMouseListener(rgml);
            final Iterator iter = rowGroup.getRows().iterator();
            while (iter.hasNext()) {
                final TableRow tr = (TableRow)iter.next();
                tr.addMouseListener(rml);
            }
        }

        public void onAttach(final TableHeaderGroup rowGroup) {
        }
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.