/** * Sets the status of the panel to active or inactive. * * @param active the flag. */ public final void setActive(final boolean active) { if (this.active == active) { return; } this.active = active; if (active) { panelActivated(); } else { panelDeactivated(); } }
/** * Sets the status of the panel to active or inactive. * * @param active the flag. */ public final void setActive(final boolean active) { if (this.active == active) { return; } this.active = active; if (active) { panelActivated(); } else { panelDeactivated(); } }
/** * Sets the status of the panel to active or inactive. * * @param active the flag. */ public final void setActive(final boolean active) { if (this.active == active) { return; } this.active = active; if (active) { panelActivated(); } else { panelDeactivated(); } }