DeferredCommand.addCommand(new Command() {
public void execute() {
height = effectElements.get(0).getOffsetHeight();
width = effectElements.get(0).getOffsetWidth();
command.execute();
setNewStartStyle(new Rule(newEnd));
}
});
// This change listener will allow the panel to be visible outside of bounding box (for example
// we would like this on the elastic transition physics so that once the effect is greater than 1.0
// we display, and below 1.0 we hide overshots.