Esempio n. 1
0
 public virtual void onKeyEvent(cave.KeyEvent @event)
 {
     if (@event.isKeyPress(cave.KeyEvent.KEY_BACK))
     {
         if (widgetStack != null && widgetStack.getSize() > 1)
         {
             if (popWidget() != null)
             {
                 @event.consume();
             }
         }
     }
 }