net.sourceforge.groboutils.uicapture.v1.event
Class AllowCapturePassThroughAdapter

java.lang.Object
  extended bynet.sourceforge.groboutils.uicapture.v1.event.CaptureAdapter
      extended bynet.sourceforge.groboutils.uicapture.v1.event.AllowCapturePassThroughAdapter
All Implemented Interfaces:
IAllowCapturePassThroughListener, ICaptureListener

public class AllowCapturePassThroughAdapter
extends CaptureAdapter
implements IAllowCapturePassThroughListener

An adapter for IAllowCapturePassThroughListener. All instances must also be of type ICaptureListener. By default, all these events allow passthrough.

Version:
Jan 4, 2002
Author:
Matt Albrecht groboclown@users.sourceforge.net

Constructor Summary
AllowCapturePassThroughAdapter()
           
 
Method Summary
 boolean allowKeyPressed(KeyPressedCaptureEvent ce)
           
 boolean allowKeyReleased(KeyReleasedCaptureEvent ce)
           
 boolean allowMousePressed(MousePressedCaptureEvent ce)
           
 boolean allowMouseReleased(MouseReleasedCaptureEvent ce)
           
 boolean allowMouseWheelMoved(MouseWheelCaptureEvent ce)
           
 
Methods inherited from class net.sourceforge.groboutils.uicapture.v1.event.CaptureAdapter
keyPressed, keyReleased, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllowCapturePassThroughAdapter

public AllowCapturePassThroughAdapter()
Method Detail

allowMouseWheelMoved

public boolean allowMouseWheelMoved(MouseWheelCaptureEvent ce)
Specified by:
allowMouseWheelMoved in interface IAllowCapturePassThroughListener
Returns:
true to allow the event to passed to the underlying UI, or false to 'swallow' the event.
See Also:
MouseWheelListener

allowMousePressed

public boolean allowMousePressed(MousePressedCaptureEvent ce)
Specified by:
allowMousePressed in interface IAllowCapturePassThroughListener
Returns:
true to allow the event to passed to the underlying UI, or false to 'swallow' the event.
See Also:
MouseListener

allowMouseReleased

public boolean allowMouseReleased(MouseReleasedCaptureEvent ce)
Specified by:
allowMouseReleased in interface IAllowCapturePassThroughListener
Returns:
true to allow the event to passed to the underlying UI, or false to 'swallow' the event.
See Also:
MouseListener

allowKeyPressed

public boolean allowKeyPressed(KeyPressedCaptureEvent ce)
Specified by:
allowKeyPressed in interface IAllowCapturePassThroughListener
Returns:
true to allow the event to passed to the underlying UI, or false to 'swallow' the event.
See Also:
KeyListener

allowKeyReleased

public boolean allowKeyReleased(KeyReleasedCaptureEvent ce)
Specified by:
allowKeyReleased in interface IAllowCapturePassThroughListener
Returns:
true to allow the event to passed to the underlying UI, or false to 'swallow' the event.
See Also:
KeyListener


Copyright © 2001-2003 by The GroboUtils Project