com.swfm.mica.events
Class MiIMouseWheelScroller

java.lang.Object
  extended bycom.swfm.mica.events.MiEventHandler
      extended bycom.swfm.mica.events.MiIMouseWheelScroller
All Implemented Interfaces:
MiiCommandNames, MiiEventHandler, MiiEventTypes, MiiTypes

public class MiIMouseWheelScroller
extends MiEventHandler
implements MiiTypes

Version:
%I% %G%
Author:
Michael L. Davis

Field Summary
       
Constructor Summary
MiIMouseWheelScroller()
           
 
Method Summary
 int processEvent(MiEvent event)
          Processes the command generated from the current event.
 void setScrollable(MiiScrollableData scrollable)
           
 
Methods inherited from class com.swfm.mica.events.MiEventHandler
addEventToCommandTranslation, addEventToCommandTranslation, addEventToCommandTranslation, copy, getAlwaysConsumeTriggerEvents, getCommand, getEvent, getEventToCommandTranslation, getName, getNameForType, getObject, getRequestedCommands, getRequestedEvents, getTarget, getType, isCommand, isEnabled, isPositionDependent, isSingleton, isType, processCommand, processCommand, removeAllEventToCommandTranslations, removeEventToCommandTranslation, removeEventToCommandTranslation, removeEventToCommandTranslation, removeEventToCommandTranslation, setAlwaysConsumeTriggerEvents, setCommand, setEnabled, setEventToCommandTranslation, setEventToCommandTranslation, setEventToCommandTranslation, setIsSingleton, setName, setObject, setPositionDependent, setPropertyValue, setTarget, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MiIMouseWheelScroller

public MiIMouseWheelScroller()
Method Detail

setScrollable

public void setScrollable(MiiScrollableData scrollable)

processEvent

public int processEvent(MiEvent event)
Processes the command generated from the current event. Both are stored in the MiEventHandler super class.

Specified by:
processEvent in interface MiiEventHandler
Overrides:
processEvent in class MiEventHandler
Parameters:
event - The event to process
Returns:
Mi_CONSUME_EVENT if no other event handlers should see the event that generated the command Mi_PROPOGATE_EVENT if other event handlers can also see the event that generated the command
See Also:
MiEventHandler.isCommand(java.lang.String)