/** Turns the loader off and performs special parent methods. */ @Override public void stopAnimation() { this.isLoading = false; if (this.parentImageButton != null) { this.parentImageButton.turnOFF(); } else if (this.parentLegendEntry != null) { Toaster.getToasterInstance().addMessage("turnOFF"); } }
/** Turns the loader on and performs special parent methods. */ @Override public void startAnimation() { this.isLoading = true; setSrc(this.url); if (this.parentImageButton != null) { this.parentImageButton.turnON(); } else if (this.parentLegendEntry != null) { // this.parentLegendEntry.setHeaderLoading(); Toaster.getToasterInstance().addMessage("turnON"); } }