public virtual void setField(string name, Widget element, DataType type, object value, LWSubsystem subsystem, Point point)
 {
   element.setFieldName(name);
   element.setType(type);
   element.init();
   if (value != null)
     element.setValue(value);
   ((Container) subsystem).add((Component) element);
 }
 public virtual void addSubsystem(LWSubsystem subsystem)
 {
   this.subsystems.add((object) subsystem);
 }
 public virtual bool containsWidgetOfName(LWSubsystem subsystem, string name)
 {
   XMLWidget xmlWidget1 = (XMLWidget) null;
   Iterator iterator1 = this.subsystems.keySet().iterator();
   while (iterator1.hasNext())
   {
     XMLWidget xmlWidget2 = (XMLWidget) iterator1.next();
     if (String.instancehelper_equals(((Widget) xmlWidget2.convertToDisplayElement()).getFieldName(), (object) subsystem.getFieldName()))
       xmlWidget1 = xmlWidget2;
   }
   if (xmlWidget1 != null)
   {
     Iterator iterator2 = ((Map) this.subsystems.get((object) xmlWidget1)).values().iterator();
     while (iterator2.hasNext())
     {
       XMLWidget xmlWidget2 = (XMLWidget) iterator2.next();
       string field = xmlWidget2.getField();
       if (xmlWidget2 == null || field == null)
         return false;
       if (String.instancehelper_equals(field, (object) name))
         return true;
     }
   }
   return false;
 }
 public Mouse([In] LWSubsystem obj0, [In] LWSubsystem obj1)
 {
   base.\u002Ector();
   LWSubsystem.Mouse mouse = this;
   this.yclick = 0;
   this.subsystem = obj1;
 }