List of usage examples for java.awt.event MouseAdapter subclass-usage
From source file com.github.fritaly.dualcommander.event.ColumnEventHelper.java
public final class ColumnEventHelper extends MouseAdapter implements TableColumnModelListener { private final ColumnEventListener listener; private boolean resizing = false;
From source file org.kepler.gui.AnnotatedPTreePopupListener.java
public class AnnotatedPTreePopupListener extends MouseAdapter { private static final Log log = LogFactory.getLog(LibraryPopupListener.class.getName()); private static final boolean isDebugging = log.isDebugEnabled(); // on the Mac, popups are triggered on mouse pressed, while
From source file com.haulmont.cuba.desktop.sys.DesktopToolTipManager.java
/** * Class that encapsulates displaying of tooltips for all components. */ public class DesktopToolTipManager extends MouseAdapter { protected static final int CLOSE_TIME = 500;
From source file Main.java
class MyMouseAdapter extends MouseAdapter { private Point initLabelLocation = null; private Point initMouseLocationOnScreen = null; @Override public void mousePressed(MouseEvent e) {
From source file PopupSample.java
class JPopupMenuShower extends MouseAdapter { private JPopupMenu popup; public JPopupMenuShower(JPopupMenu popup) { this.popup = popup;
From source file net.sf.mzmine.chartbasics.gui.swing.ChartGestureMouseAdapter.java
/**
* Handles all MouseEvents (like a MouseAdapter) and transforms them into {@link ChartGestureEvent}s
* which are then handled by a list of {@link ChartGestureHandler}s.
* <p>
* Add this adapter to a ChartPanel as a mouse and mousewheel listener.
*
From source file edu.ku.brc.specify.tasks.subpane.security.NavigationTreeContextMenuMgr.java
/**
* An instance of this class manages the creation of the context (pop-up or right-click) menu that
* that lets the user perform operations on the contents of the security admin panel navigation
* tree. It lets users add or delete items to the tree.
*
* @author Ricardo
From source file MediumPopupMenuSample.java
class JPopupMenuShower extends MouseAdapter { private JPopupMenu popup; public JPopupMenuShower(JPopupMenu popup) { this.popup = popup;
From source file Main.java
class HyperlinkMouseListener extends MouseAdapter { JTree tree; public HyperlinkMouseListener(JTree tree) { this.tree = tree; }
From source file net.sf.mzmine.desktop.impl.projecttree.ProjectTreeMouseHandler.java
/** * This class handles pop-up menus and double click events in the project tree */ public class ProjectTreeMouseHandler extends MouseAdapter implements ActionListener { private ProjectTree tree;