{"size": 853, "ext": "js", "max_stars_repo_path": "JsDroid/widget/ImageView.js", "max_stars_repo_name": "shingalDe/javaScript", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "JsDroid/widget/ImageView.js", "max_issues_repo_name": "shingalDe/javaScript", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "JsDroid/widget/ImageView.js", "max_forks_repo_name": "shingalDe/javaScript", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 28.4333333333, "max_line_length": 112, "alphanum_fraction": 0.6553341149}
class ImageView extends View{
constructor(Activity, ImageStyle=null, alt="image")
{
        super(Activity,"img");
	 this.dy = new ViewGroup(Activity);
	 this.im="";
         this.w=50; 
	 this.h=50;
         this.style=ImageStyle?ImageStyle:"float:left;background-size:cover;background-position:center center;";
        
    }


_getImage() { return this.im; }
_setImage(image){ Hessin.S.st(this.__(), "src", image);
Hessin.S.st(this.__(),"style", "z-index:1000;background:transparent;width:"+this.w+"px;height:"+this.h+"px;");
this.im = image; 
}

_setSize(width=150, height=0) { this.w=width; if (height>0){ this.h=height; } }


_setWidth(width){ Hessin.S.st(this.__(), "width", width); }
_setHeight(height){ Hessin.S.st(this.__(), "height", height); }
_getTypeScale(){ return this._ts; }
_setTypeScale(typeScale){ this._ts = typeScale; }    

}
   
