Show
Ignore:
Timestamp:
06/09/08 07:23:42 (6 months ago)
Author:
magi@…
Message:

Merged [4771] from trunk to 5.2 branch: Fixed multiple bugs in ProgressIndicator?: polled even if disabled or invisible (#1581), had no isIndeterminate(), did not call requestRepaint() when changing polling interval or indeterminate mode.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/5.2/src/com/itmill/toolkit/ui/ProgressIndicator.java

    r3162 r4798  
    215215 
    216216    /** 
    217      * Sets the ProgressIndicator to indeterminate mode. 
     217     * Sets wheter or not the ProgressIndicator is indeterminate. 
    218218     *  
    219219     * @param newValue 
     
    222222    public void setIndeterminate(boolean newValue) { 
    223223        indeterminate = newValue; 
     224        requestRepaint(); 
     225    } 
     226 
     227    /** 
     228     * Gets whether or not the ProgressIndicator is indeterminate. 
     229     *  
     230     * @return true to set to indeterminate mode. 
     231     */ 
     232    public boolean isIndeterminate() { 
     233        return indeterminate; 
    224234    } 
    225235 
     
    232242    public void setPollingInterval(int newValue) { 
    233243        pollingInterval = newValue; 
     244        requestRepaint(); 
    234245    } 
    235246