View Javadoc

1   package com.loribel.commons.abstraction;
2   
3   /***
4    * Factory to build ViewManager.
5    *
6    * @author Grégory Borelli
7    */
8   public interface GB_VMFactory
9   {
10      boolean isEnabled();
11  
12      void setEnabled(
13              boolean a_enabled);
14  
15      boolean acceptModel(
16              Object a_model);
17  
18      /***
19       * Returns a View Manager to represent and manage a model.
20       *
21       * @param a_model Object - object model to the viewManager
22       *
23       * @return GB_ViewManager
24       */
25      GB_ViewManager newViewManager(
26              Object a_model,
27              boolean useTitle);
28  
29  }