本文整理了Java中java.awt.event.MouseListener.mouseExited()
方法的一些代码示例,展示了MouseListener.mouseExited()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MouseListener.mouseExited()
方法的具体详情如下:
包路径:java.awt.event.MouseListener
类名称:MouseListener
方法名:mouseExited
[英]Invoked when the mouse exits a component.
[中]当鼠标退出组件时调用。
代码示例来源:origin: com.jidesoft/jide-oss
public void mouseExited(MouseEvent e) {
if (_listener != null) {
_listener.mouseExited(e);
}
}
}
代码示例来源:origin: org.japura/japura-gui
@Override
public void mouseExited(MouseEvent e) {
mouseIn = false;
originalMouseListener.mouseExited(e);
}
代码示例来源:origin: Multibit-Legacy/multibit-hd
@Override
public void mouseExited(MouseEvent e) {
mouseDelegate.mouseExited(e);
}
};
代码示例来源:origin: khuxtable/seaglass
/**
* @see java.awt.event.MouseAdapter#mouseExited(java.awt.event.MouseEvent)
*/
public void mouseExited(MouseEvent e) {
delegate.mouseExited(e);
}
代码示例来源:origin: bcdev/beam
public void mouseExited(MouseEvent e) {
if (_listener != null) {
_listener.mouseExited(e);
}
}
代码示例来源:origin: net.sf.squirrel-sql.plugins/graph
@Override
public void mouseExited(MouseEvent e)
{
MouseEvent te = transformMouseEvent(e);
MouseListener[] mouseListenersBuf = _mouseListeners.toArray(new MouseListener[_mouseListeners.size()]);
for (MouseListener mouseListener : mouseListenersBuf)
{
mouseListener.mouseExited(te);
}
}
代码示例来源:origin: org.activecomponents.jadex/jadex-kernel-extension-envsupport
public void mouseExited(MouseEvent e)
{
e.setSource(AbstractInteractionPlugin.this);
if (listeners != null)
for (Iterator it = listeners.iterator(); it.hasNext(); )
((MouseListener) it.next()).mouseExited(e);
}
代码示例来源:origin: com.anrisoftware.prefdialog/prefdialog-misc-swing
@Override
public void mouseExited(MouseEvent e) {
if (!isLock()) {
l.mouseExited(e);
}
}
代码示例来源:origin: jzy3d/jzy3d-api
@Override
public void mouseExited(com.jogamp.newt.event.MouseEvent me) {
if (mouseListener != null) {
mouseListener.mouseExited(convertEvent(me, MouseEvent.MOUSE_EXITED));
}
}
代码示例来源:origin: sdedit/sdedit
public void mouseExited(MouseEvent e) {
for (MouseListener ml : mouseListeners) {
ml.mouseExited(translate(e));
}
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@Override
public void mouseExited(MouseEvent e) {
if (e.getSource() instanceof Component) {
e = SwingUtilities.convertMouseEvent((Component) e.getSource(), e, ModelGrid.this);
for (MouseListener l : ModelGrid.this.getMouseListeners()) {
l.mouseExited(e);
}
}
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@Override
public void mouseExited(MouseEvent e) {
MouseListener[] mls = getMouseListeners();
if (mls != null && e.getSource() instanceof Component) {
e = SwingUtilities.convertMouseEvent((Component) e.getSource(), e, ModelComponentDecorator.this);
for (MouseListener ml : mls) {
ml.mouseExited(e);
}
}
}
});
代码示例来源:origin: gurkenlabs/litiengine
@Override
public void mouseExited(final MouseEvent e) {
this.setLocation(e);
final MouseEvent wrappedEvent = this.createEvent(e);
this.mouseListeners.forEach(listener -> listener.mouseExited(wrappedEvent));
}
代码示例来源:origin: com.googlecode.vfsjfilechooser2/vfsjfilechooser2
public void mouseExited(MouseEvent evt)
{
if (evt.getSource() instanceof JList)
{
// Forward event to Basic
if (getDoubleClickListener() != null)
{
getDoubleClickListener().mouseExited(evt);
}
}
}
代码示例来源:origin: net.sf.jung/jung-visualization
public void mouseExited(MouseEvent e) {
checkMouseListeners();
for(int i=0; i<mouseListeners.length; i++) {
mouseListeners[i].mouseExited(e);
if(e.isConsumed()) break;
}
}
代码示例来源:origin: jrtom/jung
public void mouseExited(MouseEvent e) {
checkMouseListeners();
for (int i = 0; i < mouseListeners.length; i++) {
mouseListeners[i].mouseExited(e);
if (e.isConsumed()) {
break;
}
}
}
代码示例来源:origin: sc.fiji/fiji-lib
@Override
public final void mouseExited(MouseEvent e) {
if (maybeUnregister())
return;
if (isThisTool())
listener.mouseExited(e);
}
}
代码示例来源:origin: ujmp/universal-java-matrix-package
public void mouseExited(MouseEvent e) {
if (panel.getMouseListeners() != null && panel.getMouseListeners().length != 0) {
MouseEvent e2 = new MouseEvent(panel, e.getID(), e.getWhen(), e.getModifiers(), e.getX(), e.getY(),
e.getXOnScreen(), e.getYOnScreen(), e.getClickCount(), e.isPopupTrigger(), e.getButton());
for (MouseListener m : panel.getMouseListeners()) {
m.mouseExited(e2);
}
}
}
}
代码示例来源:origin: org.japura/japura-gui
@Override
public void mouseExited(MouseEvent e) {
if (isEnabled()) {
e.setSource(component);
component.dispatchEvent(e);
if (mouseHandler != null) {
mouseHandler.mouseExited(e);
}
}
}
代码示例来源:origin: com.googlecode.blaisemath/blaise-graphics
private void mouseExit(Graphic mouseGraphic, GMouseEvent event) {
if (mouseGraphic != null) {
event.setGraphicSource(mouseGraphic);
for (MouseListener l : mouseGraphic.getMouseListeners()) {
l.mouseExited(event);
if (event.isConsumed()) {
return;
}
}
}
}
内容来源于网络,如有侵权,请联系作者删除!