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_WaitPanelInterface 11 extends 12 GB_InfoSetter 13 { 14 /*** 15 * Set the image to use into the dialog. 16 * 17 * @param a_icon the image 18 * @param a_anchor use BorderLayout.SOUTH, BorderLayout.WEST, ... 19 */ 20 public void setImage( 21 Icon a_icon); 22 23 void setItemInfo( 24 String a_info); 25 26 void setItemCount( 27 int a_maxValue); 28 29 void setItemNumber( 30 int a_value); 31 32 void setVisible( 33 boolean a_visible); 34 35 void setCancelable( 36 GB_Cancelable a_cancelable); 37 38 JComponent getPanel(); 39 }