// Show the body before animating
getAppearance().getBodyWrap(getElement()).show();
addStyleDependentName("animated");
Fx fx = new Fx(getAnimationDuration());
fx.addAfterAnimateHandler(new AfterAnimateHandler() {
@Override
public void onAfterAnimate(AfterAnimateEvent event) {
afterExpand();
}
});
fx.run(new SlideIn(getAppearance().getBodyWrap(getElement()), Direction.DOWN));
// Disable toggle tool during animated expand
if (collapseBtn != null) {
collapseBtn.disable();
}