View Javadoc
1   package fr.ifremer.dali.ui.swing.content.manage.filter.user;
2   
3   import fr.ifremer.dali.dto.enums.FilterTypeValues;
4   import fr.ifremer.dali.ui.swing.content.manage.filter.FilterUI;
5   import fr.ifremer.dali.ui.swing.content.manage.filter.user.element.FilterElementUserUI;
6   import fr.ifremer.quadrige3.ui.swing.ApplicationUI;
7   import java.awt.LayoutManager;
8   import jaxx.runtime.JAXXContext;
9   import jaxx.runtime.JAXXObjectDescriptor;
10  import jaxx.runtime.JAXXUtil;
11  import org.apache.commons.logging.Log;
12  import org.apache.commons.logging.LogFactory;
13  
14  public class FilterUserUI extends FilterUI {
15  
16      /*-----------------------------------------------------------------------*/
17      /*------------------------- Other static fields -------------------------*/
18      /*-----------------------------------------------------------------------*/
19  
20      private static final String $jaxxObjectDescriptor = "H4sIAAAAAAAAAJ2SzUrDQBDHp9FW8QNRQQoi+HHfPEAvSrVQCRb8gEJOa7KNW/Kx7k40vYiP4CPo3aM3n8ObryDiC4ibpGmsCop72MPM/H/zH2buX6CqJGz0aZIQGYfIA0b2d7rdzmmfObjLlCO5wEhC/ioGGDbMuqO4QtiyrVRuDuVmMwpEFLLwk7phwYzCgc/UGWOIsDaucJQyj0bpRiJiWVBHpn6i3r69Gjfu9Z0BkAjtbkKPsv6bqpxk0gKDuwhLutMFNX0aetqG5KGn/c6nsaZPlTqgATuHK5iyoCao1DCEzb+PnDEyfSIQpnvcRyZP2gjbPUl4T7KASeJSn5OYE3WpuxMnClHDSEBD6jGSS0is9NfK5SpFCJFxawhzecnxQLC2Hmgx9U7SeUhbkzwmy9KFvHTP131DTH10/uOD5fqhn4JW2JKwOrYGvWBSLrjcQMWGqox1GKFuf7+JQ53Kr6H+5RpSYJZ9X1l+enx+aBUnAB/2KJ8W0gIAAA==";
21      private static final Log log = LogFactory.getLog(FilterUserUI.class);
22      private static final long serialVersionUID = 1L;
23  
24      /*-----------------------------------------------------------------------*/
25      /*--------------------------- Internal states ---------------------------*/
26      /*-----------------------------------------------------------------------*/
27  
28      private boolean allComponentsCreated;
29  
30      /*-----------------------------------------------------------------------*/
31      /*------------------------ Protected components  ------------------------*/
32      /*-----------------------------------------------------------------------*/
33  
34      protected FilterUserUI filterUI = this;
35  
36      /*-----------------------------------------------------------------------*/
37      /*---------------------------- Constructors  ----------------------------*/
38      /*-----------------------------------------------------------------------*/
39  
40      public FilterUserUI(ApplicationUI param0) {
41          super(param0);
42          $initialize();
43      }
44  
45      public FilterUserUI() {
46          $initialize();
47      }
48  
49      public FilterUserUI(JAXXContext param0) {
50          super(param0);
51          $initialize();
52      }
53  
54      public FilterUserUI(boolean param0) {
55          super(param0);
56          $initialize();
57      }
58  
59      public FilterUserUI(JAXXContext param0, boolean param1) {
60          super(param0 ,param1);
61          $initialize();
62      }
63  
64      public FilterUserUI(LayoutManager param0) {
65          super(param0);
66          $initialize();
67      }
68  
69      public FilterUserUI(JAXXContext param0, LayoutManager param1) {
70          super(param0 ,param1);
71          $initialize();
72      }
73  
74      public FilterUserUI(LayoutManager param0, boolean param1) {
75          super(param0 ,param1);
76          $initialize();
77      }
78  
79      public FilterUserUI(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      @Override
97      public FilterElementUserUI getFilterElementUI() {
98          return (FilterElementUserUI) super.getFilterElementUI();
99      }
100 
101     /*-----------------------------------------------------------------------*/
102     /*--------------------- Components creation methods ---------------------*/
103     /*-----------------------------------------------------------------------*/
104 
105     @Override
106     protected void createFilterElementUI() {
107         $objectMap.put("filterElementUI", filterElementUI = new FilterElementUserUI(this));
108         
109         filterElementUI.setName("filterElementUI");
110     }
111 
112     @Override
113     protected void createFilterTypeId() {
114         $objectMap.put("filterTypeId", filterTypeId = FilterTypeValues.USER.getFilterTypeId());
115     }
116 
117     /*-----------------------------------------------------------------------*/
118     /*------------------------ Internal jaxx methods ------------------------*/
119     /*-----------------------------------------------------------------------*/
120 
121     private void $completeSetup() {
122         allComponentsCreated = true;
123         if (log.isDebugEnabled()) {
124             log.debug(this);
125         }
126     }
127 
128     private void $initialize() {
129         if (allComponentsCreated) {
130             return;
131         }
132         if (log.isDebugEnabled()) {
133             log.debug(this);
134         }
135         $objectMap.put("filterUI", filterUI);
136         // inline creation of filterUI
137         setName("filterUI");
138         
139         $completeSetup();
140     }
141 
142 }