PenProfile 2.x

com.livescribe.event
Interface MenuEventListener


public interface MenuEventListener

MenuEventListener must be implemented by any penlet that has an application menu.

Since:
0.2

Method Summary
 boolean handleMenuEvent(MenuEvent event)
          Called to notify the penlet about a menu event.
 

Method Detail

handleMenuEvent

boolean handleMenuEvent(MenuEvent event)
Called to notify the penlet about a menu event. Returns the status as to whether it has consumed the event or not. The runtime is responsible for providing default behavior for events that are not consumed by the application. For example :- If the app has not consumed the MenuEvent.Left, then the runtime would automatically switch to the Main Menu app.

Parameters:
event - the event generated by the menuing system
Returns:
true to indicate that the app has consumed the event and false if the app has not consumed the event.

PenProfile 2.x

Copyright © 2010 Livescribe Inc. All Rights Reserved.
Confidential and subject to NDA.