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); } } }
public void updateCursor() { if (this.panel is IListPanel) { if (this.targetEntry != ((IListPanel)panel).getCurrentEntry()) { this.targetEntry = ((IListPanel)panel).getCurrentEntry(); moveToTargetEntry(ARROW_SCROLL_TIME); } } }