@@ -0,0 +1,1294 @@
+package com.sometrik.framework;%0A%0Aimport android.content.Context;%0Aimport android.view.View;%0Aimport android.widget.Switch;%0A%0Apublic class FWSwitch extends Switch implements NativeCommandHandler %7B%0A%0A  FrameWork frame;%0A  %0A  public FWSwitch(FrameWork frame) %7B%0A    super(frame);%0A    this.frame = frame;%0A  %7D%0A%0A  @Override%0A  public void addChild(View view) %7B%0A    System.out.println(%22FWSwitch coulnd't handle Command%22);%0A  %7D%0A%0A  @Override%0A  public void removeChild(int id) %7B%0A    System.out.println(%22FWSwitch coulnd't handle Command%22);%0A  %7D%0A%0A  @Override%0A  public void addOption(int optionId, String text) %7B%0A    System.out.println(%22FWSwitch coulnd't handle Command%22);%0A  %7D%0A%0A  @Override%0A  public void setValue(String v) %7B%0A    setText(v);%0A  %7D%0A%0A  @Override%0A  public void setValue(int v) %7B%0A    if (v %3E 0)%7B%0A      this.setSelected(true);%0A    %7D else %7B%0A      this.setSelected(false);%0A    %7D%0A  %7D%0A%0A  @Override%0A  public void setViewEnabled(Boolean enabled) %7B%0A    setEnabled(enabled);%0A  %7D%0A%0A  @Override%0A  public void setStyle(String key, String value) %7B%0A    System.out.println(%22FWSwitch coulnd't handle Command%22);%0A  %7D%0A%0A  @Override%0A  public void setError(boolean hasError, String errorText) %7B%0A    System.out.println(%22FWSwitch coulnd't handle Command%22);%0A  %7D%0A%0A  @Override%0A  public int getElementId() %7B%0A    return getId();%0A  %7D%0A%0A%7D%0A

Add FWSwitch