12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498 |
- smalltalk.addPackage('Canvas', {});
- smalltalk.addClass('HTMLCanvas', smalltalk.Object, ['root'], 'Canvas');
- smalltalk.addMethod(
- "_a",
- smalltalk.method({
- selector: "a",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["a"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_abbr",
- smalltalk.method({
- selector: "abbr",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["abbr"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_address",
- smalltalk.method({
- selector: "address",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["address"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_area",
- smalltalk.method({
- selector: "area",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["area"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_article",
- smalltalk.method({
- selector: "article",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["article"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_aside",
- smalltalk.method({
- selector: "aside",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["aside"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_audio",
- smalltalk.method({
- selector: "audio",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["audio"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_base",
- smalltalk.method({
- selector: "base",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["base"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_blockquote",
- smalltalk.method({
- selector: "blockquote",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["blockquote"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_body",
- smalltalk.method({
- selector: "body",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["body"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_br",
- smalltalk.method({
- selector: "br",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["br"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_button",
- smalltalk.method({
- selector: "button",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["button"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_canvas",
- smalltalk.method({
- selector: "canvas",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["canvas"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_caption",
- smalltalk.method({
- selector: "caption",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["caption"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_cite",
- smalltalk.method({
- selector: "cite",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["cite"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_code",
- smalltalk.method({
- selector: "code",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["code"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_col",
- smalltalk.method({
- selector: "col",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["col"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_colgroup",
- smalltalk.method({
- selector: "colgroup",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["colgroup"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_command",
- smalltalk.method({
- selector: "command",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["command"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_datalist",
- smalltalk.method({
- selector: "datalist",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["datalist"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_dd",
- smalltalk.method({
- selector: "dd",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["dd"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_del",
- smalltalk.method({
- selector: "del",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["del"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_details",
- smalltalk.method({
- selector: "details",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["details"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_div",
- smalltalk.method({
- selector: "div",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["div"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_div_",
- smalltalk.method({
- selector: "div:",
- fn: function (aBlock){
- var self=this;
- var $1;
- $1=smalltalk.send(smalltalk.send(self,"_div",[]),"_with_",[aBlock]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_dl",
- smalltalk.method({
- selector: "dl",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["dl"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_dt",
- smalltalk.method({
- selector: "dt",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["dt"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_em",
- smalltalk.method({
- selector: "em",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["em"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_embed",
- smalltalk.method({
- selector: "embed",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["embed"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_fieldset",
- smalltalk.method({
- selector: "fieldset",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["fieldset"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_figcaption",
- smalltalk.method({
- selector: "figcaption",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["figcaption"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_figure",
- smalltalk.method({
- selector: "figure",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["figure"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_footer",
- smalltalk.method({
- selector: "footer",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["footer"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_form",
- smalltalk.method({
- selector: "form",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["form"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h1",
- smalltalk.method({
- selector: "h1",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["h1"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h1_",
- smalltalk.method({
- selector: "h1:",
- fn: function (anObject){
- var self=this;
- var $1;
- $1=smalltalk.send(smalltalk.send(self,"_h1",[]),"_with_",[anObject]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h2",
- smalltalk.method({
- selector: "h2",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["h2"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h2_",
- smalltalk.method({
- selector: "h2:",
- fn: function (anObject){
- var self=this;
- var $1;
- $1=smalltalk.send(smalltalk.send(self,"_h2",[]),"_with_",[anObject]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h3",
- smalltalk.method({
- selector: "h3",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["h3"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h3_",
- smalltalk.method({
- selector: "h3:",
- fn: function (anObject){
- var self=this;
- var $1;
- $1=smalltalk.send(smalltalk.send(self,"_h3",[]),"_with_",[anObject]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h4",
- smalltalk.method({
- selector: "h4",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["h4"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h4_",
- smalltalk.method({
- selector: "h4:",
- fn: function (anObject){
- var self=this;
- var $1;
- $1=smalltalk.send(smalltalk.send(self,"_h4",[]),"_with_",[anObject]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h5",
- smalltalk.method({
- selector: "h5",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["h5"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h5_",
- smalltalk.method({
- selector: "h5:",
- fn: function (anObject){
- var self=this;
- var $1;
- $1=smalltalk.send(smalltalk.send(self,"_h5",[]),"_with_",[anObject]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h6",
- smalltalk.method({
- selector: "h6",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["h6"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h6_",
- smalltalk.method({
- selector: "h6:",
- fn: function (anObject){
- var self=this;
- var $1;
- $1=smalltalk.send(smalltalk.send(self,"_h6",[]),"_with_",[anObject]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_head",
- smalltalk.method({
- selector: "head",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["head"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_header",
- smalltalk.method({
- selector: "header",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["header"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_hgroup",
- smalltalk.method({
- selector: "hgroup",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["hgroup"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_hr",
- smalltalk.method({
- selector: "hr",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["hr"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_html",
- smalltalk.method({
- selector: "html",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["html"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_iframe",
- smalltalk.method({
- selector: "iframe",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["iframe"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_iframe_",
- smalltalk.method({
- selector: "iframe:",
- fn: function (aString){
- var self=this;
- var $1;
- $1=smalltalk.send(smalltalk.send(self,"_iframe",[]),"_src_",[aString]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_img",
- smalltalk.method({
- selector: "img",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["img"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_img_",
- smalltalk.method({
- selector: "img:",
- fn: function (aString){
- var self=this;
- var $1;
- $1=smalltalk.send(smalltalk.send(self,"_img",[]),"_src_",[aString]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_initialize",
- smalltalk.method({
- selector: "initialize",
- fn: function (){
- var self=this;
- smalltalk.send(self,"_initialize",[],smalltalk.Object);
- if(($receiver = self["@root"]) == nil || $receiver == undefined){
- self["@root"]=smalltalk.send((smalltalk.TagBrush || TagBrush),"_fromString_canvas_",["div",self]);
- self["@root"];
- } else {
- self["@root"];
- };
- return self}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_initializeFromJQuery_",
- smalltalk.method({
- selector: "initializeFromJQuery:",
- fn: function (aJQuery){
- var self=this;
- self["@root"]=smalltalk.send((smalltalk.TagBrush || TagBrush),"_fromJQuery_canvas_",[aJQuery,self]);
- return self}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_input",
- smalltalk.method({
- selector: "input",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["input"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_label",
- smalltalk.method({
- selector: "label",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["label"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_legend",
- smalltalk.method({
- selector: "legend",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["legend"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_li",
- smalltalk.method({
- selector: "li",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["li"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_li_",
- smalltalk.method({
- selector: "li:",
- fn: function (anObject){
- var self=this;
- var $1;
- $1=smalltalk.send(smalltalk.send(self,"_li",[]),"_with_",[anObject]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_link",
- smalltalk.method({
- selector: "link",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["link"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_map",
- smalltalk.method({
- selector: "map",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["map"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_mark",
- smalltalk.method({
- selector: "mark",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["mark"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_menu",
- smalltalk.method({
- selector: "menu",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["menu"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_meta",
- smalltalk.method({
- selector: "meta",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["meta"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_nav",
- smalltalk.method({
- selector: "nav",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["nav"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_newTag_",
- smalltalk.method({
- selector: "newTag:",
- fn: function (aString){
- var self=this;
- var $1;
- $1=smalltalk.send((smalltalk.TagBrush || TagBrush),"_fromString_canvas_",[aString,self]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_noscript",
- smalltalk.method({
- selector: "noscript",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["noscript"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_object",
- smalltalk.method({
- selector: "object",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["object"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_ol",
- smalltalk.method({
- selector: "ol",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["ol"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_ol_",
- smalltalk.method({
- selector: "ol:",
- fn: function (anObject){
- var self=this;
- var $1;
- $1=smalltalk.send(smalltalk.send(self,"_ol",[]),"_with_",[anObject]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_optgroup",
- smalltalk.method({
- selector: "optgroup",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["optgroup"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_option",
- smalltalk.method({
- selector: "option",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["option"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_output",
- smalltalk.method({
- selector: "output",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["output"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_p",
- smalltalk.method({
- selector: "p",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["p"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_p_",
- smalltalk.method({
- selector: "p:",
- fn: function (anObject){
- var self=this;
- var $1;
- $1=smalltalk.send(smalltalk.send(self,"_p",[]),"_with_",[anObject]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_param",
- smalltalk.method({
- selector: "param",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["param"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_pre",
- smalltalk.method({
- selector: "pre",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["pre"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_progress",
- smalltalk.method({
- selector: "progress",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["progress"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_root",
- smalltalk.method({
- selector: "root",
- fn: function (){
- var self=this;
- return self["@root"];
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_root_",
- smalltalk.method({
- selector: "root:",
- fn: function (aTagBrush){
- var self=this;
- self["@root"]=aTagBrush;
- return self}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_script",
- smalltalk.method({
- selector: "script",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["script"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_section",
- smalltalk.method({
- selector: "section",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["section"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_select",
- smalltalk.method({
- selector: "select",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["select"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_small",
- smalltalk.method({
- selector: "small",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["small"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_source",
- smalltalk.method({
- selector: "source",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["source"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_span",
- smalltalk.method({
- selector: "span",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["span"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_span_",
- smalltalk.method({
- selector: "span:",
- fn: function (anObject){
- var self=this;
- var $1;
- $1=smalltalk.send(smalltalk.send(self,"_span",[]),"_with_",[anObject]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_strong",
- smalltalk.method({
- selector: "strong",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["strong"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_strong_",
- smalltalk.method({
- selector: "strong:",
- fn: function (anObject){
- var self=this;
- var $1;
- $1=smalltalk.send(smalltalk.send(self,"_strong",[]),"_with_",[anObject]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_style",
- smalltalk.method({
- selector: "style",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self["@root"],"_addBrush_",[smalltalk.send((smalltalk.StyleTag || StyleTag),"_canvas_",[self])]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_style_",
- smalltalk.method({
- selector: "style:",
- fn: function (aString){
- var self=this;
- var $2,$3,$1;
- $2=smalltalk.send(self,"_style",[]);
- smalltalk.send($2,"_with_",[aString]);
- $3=smalltalk.send($2,"_yourself",[]);
- $1=$3;
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_sub",
- smalltalk.method({
- selector: "sub",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["sub"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_summary",
- smalltalk.method({
- selector: "summary",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["summary"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_sup",
- smalltalk.method({
- selector: "sup",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["sup"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_table",
- smalltalk.method({
- selector: "table",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["table"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_tag_",
- smalltalk.method({
- selector: "tag:",
- fn: function (aString){
- var self=this;
- var $1;
- $1=smalltalk.send(self["@root"],"_addBrush_",[smalltalk.send(self,"_newTag_",[aString])]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_tbody",
- smalltalk.method({
- selector: "tbody",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["tbody"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_td",
- smalltalk.method({
- selector: "td",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["td"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_textarea",
- smalltalk.method({
- selector: "textarea",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["textarea"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_tfoot",
- smalltalk.method({
- selector: "tfoot",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["tfoot"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_th",
- smalltalk.method({
- selector: "th",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["th"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_thead",
- smalltalk.method({
- selector: "thead",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["thead"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_time",
- smalltalk.method({
- selector: "time",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["time"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_title",
- smalltalk.method({
- selector: "title",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["title"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_tr",
- smalltalk.method({
- selector: "tr",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["tr"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_ul",
- smalltalk.method({
- selector: "ul",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["ul"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_ul_",
- smalltalk.method({
- selector: "ul:",
- fn: function (anObject){
- var self=this;
- var $1;
- $1=smalltalk.send(smalltalk.send(self,"_ul",[]),"_with_",[anObject]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_video",
- smalltalk.method({
- selector: "video",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(self,"_tag_",["video"]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_with_",
- smalltalk.method({
- selector: "with:",
- fn: function (anObject){
- var self=this;
- var $1;
- $1=smalltalk.send(smalltalk.send(self,"_root",[]),"_with_",[anObject]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_browserVersion",
- smalltalk.method({
- selector: "browserVersion",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(smalltalk.send(jQuery,"_at_",[smalltalk.symbolFor("browser")]),"_version",[]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas.klass);
- smalltalk.addMethod(
- "_isMSIE",
- smalltalk.method({
- selector: "isMSIE",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(smalltalk.send(smalltalk.send(jQuery,"_at_",[smalltalk.symbolFor("browser")]),"_at_",[smalltalk.symbolFor("msie")]),"_notNil",[]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas.klass);
- smalltalk.addMethod(
- "_isMozilla",
- smalltalk.method({
- selector: "isMozilla",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(smalltalk.send(smalltalk.send(jQuery,"_at_",[smalltalk.symbolFor("browser")]),"_at_",[smalltalk.symbolFor("mozilla")]),"_notNil",[]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas.klass);
- smalltalk.addMethod(
- "_isOpera",
- smalltalk.method({
- selector: "isOpera",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(smalltalk.send(smalltalk.send(jQuery,"_at_",[smalltalk.symbolFor("browser")]),"_at_",[smalltalk.symbolFor("opera")]),"_notNil",[]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas.klass);
- smalltalk.addMethod(
- "_isWebkit",
- smalltalk.method({
- selector: "isWebkit",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(smalltalk.send(smalltalk.send(jQuery,"_at_",[smalltalk.symbolFor("browser")]),"_at_",[smalltalk.symbolFor("webkit")]),"_notNil",[]);
- return $1;
- }
- }),
- smalltalk.HTMLCanvas.klass);
- smalltalk.addMethod(
- "_onJQuery_",
- smalltalk.method({
- selector: "onJQuery:",
- fn: function (aJQuery){
- var self=this;
- var $2,$3,$1;
- $2=smalltalk.send(self,"_basicNew",[]);
- smalltalk.send($2,"_initializeFromJQuery_",[aJQuery]);
- smalltalk.send($2,"_initialize",[]);
- $3=smalltalk.send($2,"_yourself",[]);
- $1=$3;
- return $1;
- }
- }),
- smalltalk.HTMLCanvas.klass);
- smalltalk.addClass('TagBrush', smalltalk.Object, ['canvas', 'element'], 'Canvas');
- smalltalk.addMethod(
- "_accesskey_",
- smalltalk.method({
- selector: "accesskey:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["accesskey",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_action_",
- smalltalk.method({
- selector: "action:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["action",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_addBrush_",
- smalltalk.method({
- selector: "addBrush:",
- fn: function (aTagBrush){
- var self=this;
- smalltalk.send(self,"_appendChild_",[smalltalk.send(aTagBrush,"_element",[])]);
- return aTagBrush;
- }
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_align_",
- smalltalk.method({
- selector: "align:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["align",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_alt_",
- smalltalk.method({
- selector: "alt:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["alt",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_append_",
- smalltalk.method({
- selector: "append:",
- fn: function (anObject){
- var self=this;
- smalltalk.send(anObject,"_appendToBrush_",[self]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_appendBlock_",
- smalltalk.method({
- selector: "appendBlock:",
- fn: function (aBlock){
- var self=this;
- var root;
- root=smalltalk.send(self["@canvas"],"_root",[]);
- smalltalk.send(self["@canvas"],"_root_",[self]);
- smalltalk.send(aBlock,"_value_",[self["@canvas"]]);
- smalltalk.send(self["@canvas"],"_root_",[root]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_appendChild_",
- smalltalk.method({
- selector: "appendChild:",
- fn: function (anElement){
- var self=this;
- var element=self['@element'];
- if (null == element.canHaveChildren || element.canHaveChildren) {
- element.appendChild(anElement);
- } else {
- element.text = String(element.text) + anElement.innerHTML;
- } ;
- ;
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_appendString_",
- smalltalk.method({
- selector: "appendString:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_appendChild_",[smalltalk.send(self,"_createTextNodeFor_",[aString])]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_appendToBrush_",
- smalltalk.method({
- selector: "appendToBrush:",
- fn: function (aTagBrush){
- var self=this;
- smalltalk.send(aTagBrush,"_addBrush_",[self]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_asJQuery",
- smalltalk.method({
- selector: "asJQuery",
- fn: function (){
- var self=this;
- var $1;
- $1=smalltalk.send(window,"_jQuery_",[smalltalk.send(self,"_element",[])]);
- return $1;
- }
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_at_put_",
- smalltalk.method({
- selector: "at:put:",
- fn: function (aString,aValue){
- var self=this;
- self['@element'].setAttribute(aString, aValue);
- ;
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_class_",
- smalltalk.method({
- selector: "class:",
- fn: function (aString){
- var self=this;
- self['@element'].className = aString;
- ;
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_cols_",
- smalltalk.method({
- selector: "cols:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["cols",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_contenteditable_",
- smalltalk.method({
- selector: "contenteditable:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["contenteditable",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_contents_",
- smalltalk.method({
- selector: "contents:",
- fn: function (anObject){
- var self=this;
- var $1;
- smalltalk.send(self,"_empty",[]);
- $1=smalltalk.send(self,"_append_",[anObject]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_contextmenu_",
- smalltalk.method({
- selector: "contextmenu:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["contextmenu",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_createElementFor_",
- smalltalk.method({
- selector: "createElementFor:",
- fn: function (aString){
- var self=this;
- return document.createElement(String(aString));
- ;
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_createTextNodeFor_",
- smalltalk.method({
- selector: "createTextNodeFor:",
- fn: function (aString){
- var self=this;
- return document.createTextNode(String(aString));
- ;
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_draggable_",
- smalltalk.method({
- selector: "draggable:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["draggable",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_element",
- smalltalk.method({
- selector: "element",
- fn: function (){
- var self=this;
- return self["@element"];
- }
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_empty",
- smalltalk.method({
- selector: "empty",
- fn: function (){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_empty",[]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_for_",
- smalltalk.method({
- selector: "for:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["for",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_height_",
- smalltalk.method({
- selector: "height:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["height",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_hidden",
- smalltalk.method({
- selector: "hidden",
- fn: function (){
- var self=this;
- smalltalk.send(self,"_at_put_",["hidden","hidden"]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_href_",
- smalltalk.method({
- selector: "href:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["href",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_id_",
- smalltalk.method({
- selector: "id:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["id",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_initializeFromJQuery_canvas_",
- smalltalk.method({
- selector: "initializeFromJQuery:canvas:",
- fn: function (aJQuery,aCanvas){
- var self=this;
- self["@element"]=smalltalk.send(aJQuery,"_get_",[(0)]);
- self["@canvas"]=aCanvas;
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_initializeFromString_canvas_",
- smalltalk.method({
- selector: "initializeFromString:canvas:",
- fn: function (aString,aCanvas){
- var self=this;
- self["@element"]=smalltalk.send(self,"_createElementFor_",[aString]);
- self["@canvas"]=aCanvas;
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_media_",
- smalltalk.method({
- selector: "media:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["media",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_method_",
- smalltalk.method({
- selector: "method:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["method",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_name_",
- smalltalk.method({
- selector: "name:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["name",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onBlur_",
- smalltalk.method({
- selector: "onBlur:",
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["blur",aBlock]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onChange_",
- smalltalk.method({
- selector: "onChange:",
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["change",aBlock]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onClick_",
- smalltalk.method({
- selector: "onClick:",
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["click",aBlock]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onDblClick_",
- smalltalk.method({
- selector: "onDblClick:",
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["dblclick",aBlock]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onFocus_",
- smalltalk.method({
- selector: "onFocus:",
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["focus",aBlock]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onFocusIn_",
- smalltalk.method({
- selector: "onFocusIn:",
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["focusin",aBlock]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onFocusOut_",
- smalltalk.method({
- selector: "onFocusOut:",
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["focusout",aBlock]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onHover_",
- smalltalk.method({
- selector: "onHover:",
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["hover",aBlock]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onKeyDown_",
- smalltalk.method({
- selector: "onKeyDown:",
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["keydown",aBlock]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onKeyPress_",
- smalltalk.method({
- selector: "onKeyPress:",
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["keypress",aBlock]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onKeyUp_",
- smalltalk.method({
- selector: "onKeyUp:",
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["keyup",aBlock]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onMouseDown_",
- smalltalk.method({
- selector: "onMouseDown:",
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["mousedown",aBlock]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onMouseEnter_",
- smalltalk.method({
- selector: "onMouseEnter:",
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["mouseenter",aBlock]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onMouseLeave_",
- smalltalk.method({
- selector: "onMouseLeave:",
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["mouseleave",aBlock]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onMouseMove_",
- smalltalk.method({
- selector: "onMouseMove:",
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["mousemove",aBlock]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onMouseOut_",
- smalltalk.method({
- selector: "onMouseOut:",
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["mouseout",aBlock]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onMouseOver_",
- smalltalk.method({
- selector: "onMouseOver:",
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["mouseover",aBlock]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onMouseUp_",
- smalltalk.method({
- selector: "onMouseUp:",
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["mouseup",aBlock]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onSelect_",
- smalltalk.method({
- selector: "onSelect:",
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["select",aBlock]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onSubmit_",
- smalltalk.method({
- selector: "onSubmit:",
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["submit",aBlock]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onUnload_",
- smalltalk.method({
- selector: "onUnload:",
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["unload",aBlock]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_placeholder_",
- smalltalk.method({
- selector: "placeholder:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["placeholder",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_rel_",
- smalltalk.method({
- selector: "rel:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["rel",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_removeAt_",
- smalltalk.method({
- selector: "removeAt:",
- fn: function (aString){
- var self=this;
- self['@element'].removeAttribute(aString);
- ;
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_rows_",
- smalltalk.method({
- selector: "rows:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["rows",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_src_",
- smalltalk.method({
- selector: "src:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["src",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_style_",
- smalltalk.method({
- selector: "style:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["style",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_tabindex_",
- smalltalk.method({
- selector: "tabindex:",
- fn: function (aNumber){
- var self=this;
- smalltalk.send(self,"_at_put_",["tabindex",aNumber]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_target_",
- smalltalk.method({
- selector: "target:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["target",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_title_",
- smalltalk.method({
- selector: "title:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["title",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_type_",
- smalltalk.method({
- selector: "type:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["type",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_valign_",
- smalltalk.method({
- selector: "valign:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["valign",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_value_",
- smalltalk.method({
- selector: "value:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["value",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_width_",
- smalltalk.method({
- selector: "width:",
- fn: function (aString){
- var self=this;
- smalltalk.send(self,"_at_put_",["width",aString]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_with_",
- smalltalk.method({
- selector: "with:",
- fn: function (anObject){
- var self=this;
- smalltalk.send(self,"_append_",[anObject]);
- return self}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_fromJQuery_canvas_",
- smalltalk.method({
- selector: "fromJQuery:canvas:",
- fn: function (aJQuery,aCanvas){
- var self=this;
- var $2,$3,$1;
- $2=smalltalk.send(self,"_new",[]);
- smalltalk.send($2,"_initializeFromJQuery_canvas_",[aJQuery,aCanvas]);
- $3=smalltalk.send($2,"_yourself",[]);
- $1=$3;
- return $1;
- }
- }),
- smalltalk.TagBrush.klass);
- smalltalk.addMethod(
- "_fromString_canvas_",
- smalltalk.method({
- selector: "fromString:canvas:",
- fn: function (aString,aCanvas){
- var self=this;
- var $2,$3,$1;
- $2=smalltalk.send(self,"_new",[]);
- smalltalk.send($2,"_initializeFromString_canvas_",[aString,aCanvas]);
- $3=smalltalk.send($2,"_yourself",[]);
- $1=$3;
- return $1;
- }
- }),
- smalltalk.TagBrush.klass);
- smalltalk.addClass('StyleTag', smalltalk.TagBrush, ['canvas', 'element'], 'Canvas');
- smalltalk.addMethod(
- "_with_",
- smalltalk.method({
- selector: "with:",
- fn: function (aString){
- var self=this;
- var $1;
- $1=smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas),"_isMSIE",[]);
- if(smalltalk.assert($1)){
- smalltalk.send(smalltalk.send(smalltalk.send(self,"_element",[]),"_styleSheet",[]),"_cssText_",[aString]);
- } else {
- smalltalk.send(self,"_with_",[aString],smalltalk.TagBrush);
- };
- return self}
- }),
- smalltalk.StyleTag);
- smalltalk.addMethod(
- "_canvas_",
- smalltalk.method({
- selector: "canvas:",
- fn: function (aCanvas){
- var self=this;
- var $2,$3,$1;
- $2=smalltalk.send(self,"_new",[]);
- smalltalk.send($2,"_initializeFromString_canvas_",["style",aCanvas]);
- $3=smalltalk.send($2,"_yourself",[]);
- $1=$3;
- return $1;
- }
- }),
- smalltalk.StyleTag.klass);
- smalltalk.addClass('Widget', smalltalk.Object, [], 'Canvas');
- smalltalk.addMethod(
- "_appendToBrush_",
- smalltalk.method({
- selector: "appendToBrush:",
- fn: function (aTagBrush){
- var self=this;
- smalltalk.send(self,"_appendToJQuery_",[smalltalk.send(aTagBrush,"_asJQuery",[])]);
- return self}
- }),
- smalltalk.Widget);
- smalltalk.addMethod(
- "_appendToJQuery_",
- smalltalk.method({
- selector: "appendToJQuery:",
- fn: function (aJQuery){
- var self=this;
- smalltalk.send(self,"_renderOn_",[smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas),"_onJQuery_",[aJQuery])]);
- return self}
- }),
- smalltalk.Widget);
- smalltalk.addMethod(
- "_renderOn_",
- smalltalk.method({
- selector: "renderOn:",
- fn: function (html){
- var self=this;
- return self}
- }),
- smalltalk.Widget);
- smalltalk.addMethod(
- "_appendToBrush_",
- smalltalk.method({
- selector: "appendToBrush:",
- fn: function (aTagBrush){
- var self=this;
- smalltalk.send(aTagBrush,"_append_",[smalltalk.send(self,"_asString",[])]);
- return self}
- }),
- smalltalk.Object);
- smalltalk.addMethod(
- "_appendToJQuery_",
- smalltalk.method({
- selector: "appendToJQuery:",
- fn: function (aJQuery){
- var self=this;
- smalltalk.send(aJQuery,"_append_",[smalltalk.send(self,"_asString",[])]);
- return self}
- }),
- smalltalk.Object);
- smalltalk.addMethod(
- "_appendToBrush_",
- smalltalk.method({
- selector: "appendToBrush:",
- fn: function (aTagBrush){
- var self=this;
- smalltalk.send(aTagBrush,"_appendBlock_",[self]);
- return self}
- }),
- smalltalk.BlockClosure);
- smalltalk.addMethod(
- "_appendToJQuery_",
- smalltalk.method({
- selector: "appendToJQuery:",
- fn: function (aJQuery){
- var self=this;
- smalltalk.send(self,"_value_",[smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas),"_onJQuery_",[aJQuery])]);
- return self}
- }),
- smalltalk.BlockClosure);
- smalltalk.addMethod(
- "_appendToBrush_",
- smalltalk.method({
- selector: "appendToBrush:",
- fn: function (aTagBrush){
- var self=this;
- smalltalk.send(aTagBrush,"_appendString_",[self]);
- return self}
- }),
- smalltalk.String);
- smalltalk.addMethod(
- "_appendToJQuery_",
- smalltalk.method({
- selector: "appendToJQuery:",
- fn: function (aJQuery){
- var self=this;
- smalltalk.send(aJQuery,"_append_",[self]);
- return self}
- }),
- smalltalk.String);
- smalltalk.addMethod(
- "_asJQuery",
- smalltalk.method({
- selector: "asJQuery",
- fn: function (){
- var self=this;
- return jQuery(String(self));
- ;
- return self}
- }),
- smalltalk.String);
- smalltalk.addMethod(
- "_asJQuery",
- smalltalk.method({
- selector: "asJQuery",
- fn: function (){
- var self=this;
- return jQuery(self['@jsObject']);
- ;
- return self}
- }),
- smalltalk.JSObjectProxy);
|