1 /* 2 * ProgressImages.java 3 * 4 * Copyright (C) 2021 by RStudio, PBC 5 * 6 * Unless you have received this program directly from RStudio pursuant 7 * to the terms of a commercial license agreement with RStudio, then 8 * this program is licensed to you under the terms of version 3 of the 9 * GNU Affero General Public License. This program is distributed WITHOUT 10 * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, 11 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the 12 * AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details. 13 * 14 */ 15 package org.rstudio.core.client.widget.images; 16 17 import com.google.gwt.user.client.ui.Image; 18 import org.rstudio.core.client.resources.CoreResources; 19 20 public class ProgressImages 21 { createSmall()22 public static Image createSmall() 23 { 24 return new Image(CoreResources.INSTANCE.progress()); 25 } 26 createSmallGray()27 public static Image createSmallGray() 28 { 29 return new Image(CoreResources.INSTANCE.progress_gray()); 30 } 31 createLarge()32 public static Image createLarge() 33 { 34 return new Image(CoreResources.INSTANCE.progress_large()); 35 } 36 createLargeGray()37 public static Image createLargeGray() 38 { 39 return new Image(CoreResources.INSTANCE.progress_large_gray()); 40 } 41 } 42