/** * <p>Sets whether this <code>JXBusyLabel</code> instance should consider * itself busy. A busy component may indicate that it is busy via animation, * or some other means.</p> * * @param busy whether this <code>JXBusyLabel</code> instance should * consider itself busy */ public void setBusy(boolean busy) { boolean old = isBusy(); if (!old && busy) { startAnimation(); firePropertyChange("busy", old, isBusy()); } else if (old && !busy) { stopAnimation(); firePropertyChange("busy", old, isBusy()); } }
/** * <p>Sets whether this <code>JXBusyLabel</code> instance should consider * itself busy. A busy component may indicate that it is busy via animation, * or some other means.</p> * * @param busy whether this <code>JXBusyLabel</code> instance should * consider itself busy */ public void setBusy(boolean busy) { boolean old = isBusy(); if (!old && busy) { startAnimation(); firePropertyChange("busy", old, isBusy()); } else if (old && !busy) { stopAnimation(); firePropertyChange("busy", old, isBusy()); } }
/** * <p>Sets whether this <code>JXBusyLabel</code> instance should consider * itself busy. A busy component may indicate that it is busy via animation, * or some other means.</p> * * @param busy whether this <code>JXBusyLabel</code> instance should * consider itself busy */ public void setBusy(boolean busy) { boolean old = isBusy(); if (!old && busy) { startAnimation(); firePropertyChange("busy", old, isBusy()); } else if (old && !busy) { stopAnimation(); firePropertyChange("busy", old, isBusy()); } }
/** * <p>Sets whether this <code>JXBusyLabel</code> instance should consider * itself busy. A busy component may indicate that it is busy via animation, * or some other means.</p> * * @param busy whether this <code>JXBusyLabel</code> instance should * consider itself busy */ public void setBusy(boolean busy) { boolean old = isBusy(); if (!old && busy) { startAnimation(); firePropertyChange("busy", old, isBusy()); } else if (old && !busy) { stopAnimation(); firePropertyChange("busy", old, isBusy()); } }
/** * <p>Sets whether this <code>JXBusyLabel</code> instance should consider * itself busy. A busy component may indicate that it is busy via animation, * or some other means.</p> * * @param busy whether this <code>JXBusyLabel</code> instance should * consider itself busy */ public void setBusy(boolean busy) { boolean old = isBusy(); if (!old && busy) { startAnimation(); firePropertyChange("busy", old, isBusy()); } else if (old && !busy) { stopAnimation(); firePropertyChange("busy", old, isBusy()); } }
/** * @param delay the delay to set */ public void setDelay(int delay) { int old = getDelay(); this.delay = delay; if (old != getDelay()) { if (busy != null && busy.isRunning()) { busy.setDelay(getDelay()); } firePropertyChange("delay", old, getDelay()); } } //------------------------------------------------------------- UI Logic
/** * @param delay the delay to set */ public void setDelay(int delay) { int old = getDelay(); this.delay = delay; if (old != getDelay()) { if (busy != null && busy.isRunning()) { busy.setDelay(getDelay()); } firePropertyChange("delay", old, getDelay()); } } //------------------------------------------------------------- UI Logic
/** * @param delay the delay to set */ public void setDelay(int delay) { int old = getDelay(); this.delay = delay; if (old != getDelay()) { if (busy != null && busy.isRunning()) { busy.setDelay(getDelay()); } firePropertyChange("delay", old, getDelay()); } } //------------------------------------------------------------- UI Logic
/** * @param delay the delay to set */ public void setDelay(int delay) { int old = getDelay(); this.delay = delay; if (old != getDelay()) { if (busy != null && busy.isRunning()) { busy.setDelay(getDelay()); } firePropertyChange("delay", old, getDelay()); } } //------------------------------------------------------------- UI Logic
/** * @param delay the delay to set */ public void setDelay(int delay) { int old = getDelay(); this.delay = delay; if (old != getDelay()) { if (busy != null && busy.isRunning()) { busy.setDelay(getDelay()); } firePropertyChange("delay", old, getDelay()); } } //------------------------------------------------------------- UI Logic