369370371372373374375376377378379
{ rootPanel.createTransition() .push(new SLKeyframe(startCfg, transitionDuration) .setEndSideForOldCmps(BOTTOM) .setStartSideForNewCmps(TOP)).play() ; }
378379380381382383384385386387
} } public void showStatistics() { rootPanel.createTransition() .push(new SLKeyframe(chartsCfg, transitionDuration) .setEndSideForOldCmps(TOP) .setStartSideForNewCmps(BOTTOM)) .play(); }
387388389390391392393394395396
} public void showGallery() { rootPanel.createTransition() .push(new SLKeyframe(galleryCfg, transitionDuration) .setEndSideForOldCmps(BOTTOM) .setStartSideForNewCmps(TOP)) .play(); }
403404405406407408409410411412413
{ rootPanel.createTransition() .push(new SLKeyframe(startCfg, transitionDuration) .setStartSideForNewCmps(RIGHT) .setEndSideForOldCmps(LEFT)).play() ; }
418419420421422423424425426427428
public void showInitView() { rootPanel.createTransition() .push(new SLKeyframe(initCfg, transitionDuration) .setStartSideForNewCmps(LEFT) .setEndSideForOldCmps(RIGHT) ) .play(); }
429430431432433434435436437438
public void showAllMatchesPanel() { rootPanel.createTransition() .push(new SLKeyframe(allMatchesCfg, transitionDuration) .setEndSideForOldCmps(TOP) .setStartSideForNewCmps(BOTTOM)) .play(); }
436437438439440441442443444445
.setStartSideForNewCmps(BOTTOM)) .play(); } public void showmail() { rootPanel.createTransition() .push(new SLKeyframe(mailCfg, transitionDuration) .setEndSideForOldCmps(TOP) .setStartSideForNewCmps(BOTTOM)) .play(); }