View Javadoc

1   package com.loribel.commons.abstraction;
2   
3   /***
4    * Factory to build GB_LabelIcon according to an object.
5    * Example: Factory to build labelIcon for BusinessObject.
6    *
7    * @author Gregory Borelli
8    */
9   public interface GB_LabelIconFactory
10  {
11      public abstract class TYPE
12      {
13          public static final String DEFAULT = "default";
14          public static final String SHORT = "short";
15          public final static String TECHNO = "techno";
16          public final static String DEFAULT_ID = "defaultId";
17          public final static String SHORT_ID = "shortId";
18      }
19  
20      /***
21       * Return a new label icon for an object.
22       *
23       * @param a_object Object - the Object to represent
24       *
25       * @return GB_LabelIcon
26       */
27      GB_LabelIcon newLabelIcon(
28              Object a_object);
29  
30  }