1 package com.loribel.commons.abstraction;
2
3 import javax.swing.*;
4
5 /***
6 * Interface for WaitDialog.
7 *
8 * @author Grégory Borelli
9 */
10 public interface GB_WaitDialogInterface
11 extends
12 GB_InfoSetter
13 {
14 /***
15 * Set the image to use into the dialog.
16 *
17 * @param a_icon the image
18 */
19 public void setImage(
20 Icon a_icon);
21
22 void setItemInfo(
23 String a_info);
24
25 void setItemCount(
26 int a_maxValue);
27
28 void setItemNumber(
29 int a_value);
30
31 void setVisible(
32 boolean a_visible);
33
34 void dispose();
35
36 void setCancelable(
37 GB_Cancelable a_cancelable);
38 }