dLife Home Page

dlife.vision.filter
Interface FilterMouseHandler

All Superinterfaces:
Observer
All Known Implementing Classes:
BlobFilter, MatchFilter

public interface FilterMouseHandler
extends Observer

Interface implemented by filters that handle click and/or drag events on the images. The Filter will implement the acceptRawVideoEvents and acceptFilteredVideoEvents methods to indicate which video window should notify it of click and drag events. The Filter must also implement the rawVideoToolTip and filteredVideoToolTip methods to indicate the tool tip to be displayed on each window. Finally the Filter must implement the update method defined by the Observer interface to accept notifications of the click and drag events.

Version:
Jun 16, 2009
Author:
Grant Braught, Dickinson College

Method Summary
 boolean acceptFilteredVideoEvents()
          Indicate if this filter wants to receive notification of click/drag events on the filtered video window.
 boolean acceptRawVideoEvents()
          Indicate if this filter wants to receive notification of click/drag events on the raw video window.
 String filteredVideoToolTip()
          Get the tool tip text to display over the filtered video window when this filter is the target of mouse events on that window.
 String rawVideoToolTip()
          Get the tool tip text to display over the raw video window when this filter is the target of mouse events on that window.
 
Methods inherited from interface java.util.Observer
update
 

Method Detail

rawVideoToolTip

String rawVideoToolTip()
Get the tool tip text to display over the raw video window when this filter is the target of mouse events on that window.

Returns:
the tool tip text for this filter or null to display no tool tip for this filter.

filteredVideoToolTip

String filteredVideoToolTip()
Get the tool tip text to display over the filtered video window when this filter is the target of mouse events on that window.

Returns:
the tool tip text for this filter or null to display no tool tip for this filter.

acceptRawVideoEvents

boolean acceptRawVideoEvents()
Indicate if this filter wants to receive notification of click/drag events on the raw video window.

Returns:
true to receive click/drag events from the raw video window, false to not receive those events.

acceptFilteredVideoEvents

boolean acceptFilteredVideoEvents()
Indicate if this filter wants to receive notification of click/drag events on the filtered video window.

Returns:
true to receive click/drag events from the filtered video window, false to not receive those events.

dLife Home Page