Ejemplo n.º 1
0
 public void moveToActivePanel(Panel panel)
 {
     if (panel == null)
         return;
     this.panel = panel;
     if (panel is IListPanel)
     {
         if (this.targetEntry != ((IListPanel)panel).getCurrentEntry())
         {
             this.targetEntry = ((IListPanel)panel).getCurrentEntry();
             moveToTargetEntry(POP_TIME);
         }
     }
 }
Ejemplo n.º 2
0
 public void updateCursor()
 {
     if (this.panel is IListPanel)
     {
         if (this.targetEntry != ((IListPanel)panel).getCurrentEntry())
         {
             this.targetEntry = ((IListPanel)panel).getCurrentEntry();
             moveToTargetEntry(ARROW_SCROLL_TIME);
         }
     }
 }