View Javadoc

1   package com.loribel.commons.abstraction;
2   
3   import javax.swing.*;
4   
5   /***
6    * Interface to reprensent label with icons (with setters).
7    *
8    * @author Grégory Borelli
9    */
10  public interface GB_LabelIconSet
11          extends
12              GB_LabelIcon
13  {
14  
15      /***
16       * Set the default icon.
17       *
18       * @param a_icon Icon - the default icon to add
19       */
20      void setIcon(
21              Icon a_icon);
22  
23      /***
24       * Set an icon for type a_type.
25       */
26      void putIcon(
27              String a_type,
28              Icon a_icon);
29  
30      /***
31       * Set the label of this labelIcon..
32       *
33       * @param a_label String - the label
34       */
35      void setLabel(
36              String a_label);
37  
38      /***
39       * Set the description of this labelIcon.
40       *
41       * @param a_description String - the toolTipText
42       */
43      void setDescription(
44              String a_description);
45  
46  }