View Javadoc
1   package fr.ifremer.dali.ui.swing.content.manage.filter.taxongroup.element;
2   
3   import fr.ifremer.dali.dto.referential.TaxonGroupDTO;
4   import fr.ifremer.dali.ui.swing.content.manage.filter.element.FilterElementUI;
5   import fr.ifremer.quadrige3.ui.swing.ApplicationUI;
6   import java.awt.LayoutManager;
7   import jaxx.runtime.JAXXContext;
8   import jaxx.runtime.JAXXObjectDescriptor;
9   import jaxx.runtime.JAXXUtil;
10  import org.apache.commons.logging.Log;
11  import org.apache.commons.logging.LogFactory;
12  
13  public class FilterElementTaxonGroupUI extends FilterElementUI<TaxonGroupDTO> {
14  
15      /*-----------------------------------------------------------------------*/
16      /*------------------------- Other static fields -------------------------*/
17      /*-----------------------------------------------------------------------*/
18  
19      private static final String $jaxxObjectDescriptor = "H4sIAAAAAAAAAI1Ry0rDQBS9DVZBEUFBCiL42E8+oCupVipBQS0UshqTaZySTMY7N5puxE/wE3Tv0p3f4c5fEPEHxEljXyro7OaeOWfOPefhFaoGYbPH85xhpkgmgh3sdDpHZz0R0K4wAUpNKUJ5Kg44PiyEo7kh2Pa9gu5+0d1GmuhUCTXBrnswb6gfC3MuBBGsTzMCY9yTEVzPdYZD1ZGp31Tv3t+c2/Dm3gHIdeHOrrLxF2u8yYwHjgwJlu1Pl9yNuYqsDZQqsn4Xi1kj5sYc8kRcwDXMeTCrOVoxgq3/rzzQGPBzTbDUlTEJ3ItFYp+3WwR+F5nsor0jC3ksWSaZubImWJAqso9YwhWPBCuZjHieqgjTTDNRqrDmpOZpge8XeLultU1kbSoRmzUbZz0Oo+JDFTM7Jqj5P+s5tlBZTO1bMYXgAP1YXXl+enlsDtuAT092h/JdAgAA";
20      private static final Log log = LogFactory.getLog(FilterElementTaxonGroupUI.class);
21      private static final long serialVersionUID = 1L;
22  
23      /*-----------------------------------------------------------------------*/
24      /*--------------------------- Internal states ---------------------------*/
25      /*-----------------------------------------------------------------------*/
26  
27      private boolean allComponentsCreated;
28  
29      /*-----------------------------------------------------------------------*/
30      /*------------------------ Protected components  ------------------------*/
31      /*-----------------------------------------------------------------------*/
32  
33      protected FilterElementTaxonGroupUI filterElementUI = this;
34      protected final FilterElementTaxonGroupUIHandler handler = createHandler();
35  
36      /*-----------------------------------------------------------------------*/
37      /*---------------------------- Constructors  ----------------------------*/
38      /*-----------------------------------------------------------------------*/
39  
40      public FilterElementTaxonGroupUI(ApplicationUI param0) {
41          super(param0);
42          $initialize();
43      }
44  
45      public FilterElementTaxonGroupUI() {
46          $initialize();
47      }
48  
49      public FilterElementTaxonGroupUI(JAXXContext param0) {
50          super(param0);
51          $initialize();
52      }
53  
54      public FilterElementTaxonGroupUI(boolean param0) {
55          super(param0);
56          $initialize();
57      }
58  
59      public FilterElementTaxonGroupUI(JAXXContext param0, boolean param1) {
60          super(param0 ,param1);
61          $initialize();
62      }
63  
64      public FilterElementTaxonGroupUI(LayoutManager param0) {
65          super(param0);
66          $initialize();
67      }
68  
69      public FilterElementTaxonGroupUI(JAXXContext param0, LayoutManager param1) {
70          super(param0 ,param1);
71          $initialize();
72      }
73  
74      public FilterElementTaxonGroupUI(LayoutManager param0, boolean param1) {
75          super(param0 ,param1);
76          $initialize();
77      }
78  
79      public FilterElementTaxonGroupUI(JAXXContext param0, LayoutManager param1, boolean param2) {
80          super(param0 ,param1 ,param2);
81          $initialize();
82      }
83  
84      /*-----------------------------------------------------------------------*/
85      /*--------------------------- Statics methods ---------------------------*/
86      /*-----------------------------------------------------------------------*/
87  
88      public static JAXXObjectDescriptor $getJAXXObjectDescriptor() {
89          return JAXXUtil.decodeCompressedJAXXObjectDescriptor($jaxxObjectDescriptor);
90      }
91  
92      /*-----------------------------------------------------------------------*/
93      /*----------------------- Public acessor methods  -----------------------*/
94      /*-----------------------------------------------------------------------*/
95  
96      public FilterElementTaxonGroupUIHandler getHandler() {
97          return handler;
98      }
99  
100     /*-----------------------------------------------------------------------*/
101     /*--------------------- Components creation methods ---------------------*/
102     /*-----------------------------------------------------------------------*/
103 
104     protected FilterElementTaxonGroupUIHandler createHandler() {
105         return new FilterElementTaxonGroupUIHandler();
106     }
107 
108     /*-----------------------------------------------------------------------*/
109     /*------------------------ Internal jaxx methods ------------------------*/
110     /*-----------------------------------------------------------------------*/
111 
112     private void $completeSetup() {
113         allComponentsCreated = true;
114         if (log.isDebugEnabled()) {
115             log.debug(this);
116         }
117     }
118 
119     private void $initialize() {
120         if (allComponentsCreated) {
121             return;
122         }
123         if (log.isDebugEnabled()) {
124             log.debug(this);
125         }
126         handler.beforeInit(this);
127         $objectMap.put("filterElementUI", filterElementUI);
128         // inline creation of filterElementUI
129         setName("filterElementUI");
130         
131         $completeSetup();
132         handler.afterInit(this);
133     }
134 
135 }