"selectSpells", new Object[] { spell1Model.getSelectedItem().id, spell2Model.getSelectedItem().id });
} else if (e.getSource().equals(view.lockInButton)) {
StartupClass.Client.invoke("gameService",
"championSelectCompleted", new Object[] { });
} else if (e.getSource().equals(view.runePageList)) {
StartupClass.Client.invokeWithCallback("spellBookService", "selectDefaultSpellBookPage", new Object[] { runePageModel.getSelectedItem().getiTO() }, new RTMPCallback() {
public void callback(TypedObject result) {
System.out.println(result);
}
});
} else if (e.getSource().equals(view.masteryPageList)) {
for (MasteryPage page : masteryPageModel) {
page.setCurrent(false);
}
masteryPageModel.getSelectedItem().setCurrent(true);
StartupClass.Client.invokeWithCallback("masteryBookService", "saveMasteryBook", new Object[] { LoggedInSummoner.summonerData.getMasteryBook().getiTO() }, new RTMPCallback() {
public void callback(TypedObject result) {
System.out.println(result);
}
});