コード例 #1
0
 public void init() {
   for (Iterator iterator = inputsCmpMgrs.iterator(); iterator.hasNext(); ) {
     InputCmpMgr inputCmpMgr = (InputCmpMgr) iterator.next();
     for (Iterator iterator1 = inputCmpMgr.getComponents().iterator(); iterator1.hasNext(); ) {
       BindingComponent bindingComponent = (BindingComponent) iterator1.next();
       bindingComponent.init();
     }
   }
 }
コード例 #2
0
 public void updateDomain(Object bean) {
   for (InputCmpMgr inputCmpMgr : inputsCmpMgrs) {
     inputCmpMgr.setDefaultBean(bean);
     List components = inputCmpMgr.getComponents();
     for (Iterator iterator = components.iterator(); iterator.hasNext(); ) {
       BindingComponent bindingComponent = (BindingComponent) iterator.next();
       bindingComponent.setBeanWrapper(bean);
     }
   }
 }
コード例 #3
0
 public List<BindingComponent> getAllBindings() {
   List<BindingComponent> bindingComponents = new ArrayList();
   List inputsCmpMgrs = getInputsCmpMgrs();
   logger.debug("searching bindings registers ...");
   for (Iterator iterator = inputsCmpMgrs.iterator(); iterator.hasNext(); ) {
     InputCmpMgr inputCmpMgr = (InputCmpMgr) iterator.next();
     for (Iterator iterator1 = inputCmpMgr.getComponents().iterator(); iterator1.hasNext(); ) {
       BindingComponent bindingComponent = (BindingComponent) iterator1.next();
       logger.debug("bindingComponent <" + bindingComponent + ">");
       bindingComponents.add(bindingComponent);
     }
   }
   return bindingComponents;
 }
コード例 #4
0
 public List getAllBindingsName() {
   List bindingComponents = new ArrayList();
   List inputsCmpMgrs = getInputsCmpMgrs();
   logger.debug("searching bindings registers ...");
   for (Iterator iterator = inputsCmpMgrs.iterator(); iterator.hasNext(); ) {
     InputCmpMgr inputCmpMgr = (InputCmpMgr) iterator.next();
     for (Iterator iterator1 = inputCmpMgr.getComponents().iterator(); iterator1.hasNext(); ) {
       BindingComponent bindingComponent = (BindingComponent) iterator1.next();
       logger.debug("bindingComponent <" + bindingComponent + ">");
       bindingComponent.getJComponent().getClientProperty(BindingComponent.ATTR_BND);
       bindingComponents.add(bindingComponent.getFieldName());
     }
   }
   return bindingComponents;
 }