Please add Apache source file headers.
On 1/29/13 2:40 PM, "labri...@apache.org" <labri...@apache.org> wrote: > Author: labriola > Date: Tue Jan 29 22:40:13 2013 > New Revision: 1440190 > > URL: http://svn.apache.org/viewvc?rev=1440190&view=rev > Log: > Added some initial htmlAssets. More work to come > > Added: > flex/whiteboard/labriola/randori/ > flex/whiteboard/labriola/randori/htmlAssets/ > flex/whiteboard/labriola/randori/htmlAssets/Console.as > flex/whiteboard/labriola/randori/htmlAssets/CssStyleDeclaration.as > flex/whiteboard/labriola/randori/htmlAssets/Element.as > flex/whiteboard/labriola/randori/htmlAssets/HTML.as > flex/whiteboard/labriola/randori/htmlAssets/History.as > flex/whiteboard/labriola/randori/htmlAssets/HtmlAllCollection.as > flex/whiteboard/labriola/randori/htmlAssets/HtmlCollection.as > flex/whiteboard/labriola/randori/htmlAssets/HtmlDocument.as > flex/whiteboard/labriola/randori/htmlAssets/JSON.as > flex/whiteboard/labriola/randori/htmlAssets/Location.as > flex/whiteboard/labriola/randori/htmlAssets/MemoryInfo.as > flex/whiteboard/labriola/randori/htmlAssets/Navigator.as > flex/whiteboard/labriola/randori/htmlAssets/NodeList.as > flex/whiteboard/labriola/randori/htmlAssets/Screen.as > flex/whiteboard/labriola/randori/htmlAssets/Selection.as > flex/whiteboard/labriola/randori/htmlAssets/StyleMedia.as > flex/whiteboard/labriola/randori/htmlAssets/Window.as > > Added: flex/whiteboard/labriola/randori/htmlAssets/Console.as > URL: > http://svn.apache.org/viewvc/flex/whiteboard/labriola/randori/htmlAssets/Conso > le.as?rev=1440190&view=auto > ============================================================================== > --- flex/whiteboard/labriola/randori/htmlAssets/Console.as (added) > +++ flex/whiteboard/labriola/randori/htmlAssets/Console.as Tue Jan 29 22:40:13 > 2013 > @@ -0,0 +1,25 @@ > +package > +{ > + public class Console > + { > + public var memory:MemoryInfo; > + > + public function assert(condition:Boolean, ... scriptArgs):void > {}; > + public function count(... scriptArgs):void {}; > + public function debug(... scriptArgs):void {}; > + public function dir(... scriptArgs):void {}; > + public function dirxml(... scriptArgs):void {}; > + public function error(... scriptArgs):void {}; > + public function group(... scriptArgs):void {}; > + public function groupCollapsed(... scriptArgs):void {}; > + public function groupEnd():void {}; > + public function info(... scriptArgs):void {}; > + public function log(... scriptArgs):void {}; > + public function markTimeline(... scriptArgs):void {}; > + public function time(title:String):void {}; > + public function timeEnd(title:String, ... scriptArgs):void {}; > + public function timeStamp(... scriptArgs):void {}; > + public function trace(... scriptArgs):void {}; > + public function warn(... scriptArgs):void {}; > + } > +} > \ No newline at end of file > > Added: flex/whiteboard/labriola/randori/htmlAssets/CssStyleDeclaration.as > URL: > http://svn.apache.org/viewvc/flex/whiteboard/labriola/randori/htmlAssets/CssSt > yleDeclaration.as?rev=1440190&view=auto > ============================================================================== > --- flex/whiteboard/labriola/randori/htmlAssets/CssStyleDeclaration.as (added) > +++ flex/whiteboard/labriola/randori/htmlAssets/CssStyleDeclaration.as Tue Jan > 29 22:40:13 2013 > @@ -0,0 +1,130 @@ > +package > +{ > + public class CssStyleDeclaration > + { > + public static var azimuth:Function; > + public static var background:Function; > + public static var backgroundAttachment:Function; > + public static var backgroundColor:Function; > + public static var backgroundImage:Function; > + public static var backgroundPosition:Function; > + public static var backgroundRepeat:Function; > + public static var backgroundSize:Function; > + public static var border:Function; > + public static var borderCollapse:Function; > + public static var borderColor:Function; > + public static var borderSpacing:Function; > + public static var borderStyle:Function; > + public static var borderTop:Function; > + public static var borderRight:Function; > + public static var borderBottom:Function; > + public static var borderLeft:Function; > + public static var borderTopColor:Function; > + public static var borderRightColor:Function; > + public static var borderBottomColor:Function; > + public static var borderLeftColor:Function; > + public static var borderTopStyle:Function; > + public static var borderRightStyle:Function; > + public static var borderBottomStyle:Function; > + public static var borderLeftStyle:Function; > + public static var borderTopWidth:Function; > + public static var borderRightWidth:Function; > + public static var borderBottomWidth:Function; > + public static var borderLeftWidth:Function; > + public static var borderWidth:Function; > + public static var bottom:Function; > + public static var captionSide:Function; > + public static var clear:Function; > + public static var clip:Function; > + public static var color:Function; > + public static var content:Function; > + public static var counterIncrement:Function; > + public static var counterReset:Function; > + public static var cue:Function; > + public static var cueAfter:Function; > + public static var cueBefore:Function; > + public static var cursor:Function; > + public static var direction:Function; > + public static var display:Function; > + public static var elevation:Function; > + public static var emptyCells:Function; > + public static var cssFloat:Function; > + public static var font:Function; > + public static var fontFamily:Function; > + public static var fontSize:Function; > + public static var fontSizeAdjust:Function; > + public static var fontStretch:Function; > + public static var fontStyle:Function; > + public static var fontVariant:Function; > + public static var fontWeight:Function; > + public static var height:Function; > + public static var left:Function; > + public static var letterSpacing:Function; > + public static var lineHeight:Function; > + public static var listStyle:Function; > + public static var listStyleImage:Function; > + public static var listStylePosition:Function; > + public static var listStyleType:Function; > + public static var margin:Function; > + public static var marginTop:Function; > + public static var marginRight:Function; > + public static var marginBottom:Function; > + public static var marginLeft:Function; > + public static var markerOffset:Function; > + public static var marks:Function; > + public static var maxHeight:Function; > + public static var maxWidth:Function; > + public static var minHeight:Function; > + public static var minWidth:Function; > + public static var opacity:Function; > + public static var orphans:Function; > + public static var outline:Function; > + public static var outlineColor:Function; > + public static var outlineStyle:Function; > + public static var outlineWidth:Function; > + public static var overflow:Function; > + public static var padding:Function; > + public static var paddingTop:Function; > + public static var paddingRight:Function; > + public static var paddingBottom:Function; > + public static var paddingLeft:Function; > + public static var page:Function; > + public static var pageBreakAfter:Function; > + public static var pageBreakBefore:Function; > + public static var pageBreakInside:Function; > + public static var pause:Function; > + public static var pauseAfter:Function; > + public static var pauseBefore:Function; > + public static var pitch:Function; > + public static var pitchRange:Function; > + public static var playDuring:Function; > + public static var position:Function; > + public static var quotes:Function; > + public static var richness:Function; > + public static var right:Function; > + public static var size:Function; > + public static var speak:Function; > + public static var speakHeader:Function; > + public static var speakNumeral:Function; > + public static var speakPunctuation:Function; > + public static var speechRate:Function; > + public static var stress:Function; > + public static var tableLayout:Function; > + public static var textAlign:Function; > + public static var textDecoration:Function; > + public static var textIndent:Function; > + public static var textShadow:Function; > + public static var textTransform:Function; > + public static var top:Function; > + public static var unicodeBidi:Function; > + public static var verticalAlign:Function; > + public static var visibility:Function; > + public static var voiceFamily:Function; > + public static var volume:Function; > + public static var whiteSpace:Function; > + public static var widows:Function; > + public static var width:Function; > + public static var wordSpacing:Function; > + public static var zIndex:Function; > + } > +} > \ No newline at end of file > > Added: flex/whiteboard/labriola/randori/htmlAssets/Element.as > URL: > http://svn.apache.org/viewvc/flex/whiteboard/labriola/randori/htmlAssets/Eleme > nt.as?rev=1440190&view=auto > ============================================================================== > --- flex/whiteboard/labriola/randori/htmlAssets/Element.as (added) > +++ flex/whiteboard/labriola/randori/htmlAssets/Element.as Tue Jan 29 22:40:13 > 2013 > @@ -0,0 +1,9 @@ > +package > +{ > + public class Element > + { > + public function Element() > + { > + } > + } > +} > \ No newline at end of file > > Added: flex/whiteboard/labriola/randori/htmlAssets/HTML.as > URL: > http://svn.apache.org/viewvc/flex/whiteboard/labriola/randori/htmlAssets/HTML. > as?rev=1440190&view=auto > ============================================================================== > --- flex/whiteboard/labriola/randori/htmlAssets/HTML.as (added) > +++ flex/whiteboard/labriola/randori/htmlAssets/HTML.as Tue Jan 29 22:40:13 > 2013 > @@ -0,0 +1,152 @@ > +package > +{ > + import flash.display.Sprite; > + > + public class HTML { > + public static var console:Console; > + public static var window:Window; > + public static var self:Window; > + public static var name:String; > + public static var location:Location; > + public static var history:History; > + public static var selection:Selection; > + > + public static var locationbar:Object; > + public static var menubar:Object; > + public static var personalbar:Object; > + public static var scrollbars:Object; > + public static var statusbar:Object; > + public static var toolbar:Object; > + > + public static function close():void { } > + public static function stop():void { } > + public static function focus():void { } > + public static function blur():void { } > + > + public static var frames:Object > + public static var length:Object; > + public static var top:Window; > + public static var opener:Object; > + public static var parent:Window; > + public static var frameElement:Element; > + > + public static function open(url:String, target:String=null, > features:String=null, replace:String=null):Window { return null; } > + public static function getElement(indexOrName:*):Object { > return null; } > + public static function setElement(name:String, > value:Object):void { } > + > + public static var navigator:Navigator; > + > + public static function alert(message:String):void { } > + public static function confirm(message:String):Boolean { > return false; } > + public static function prompt(message:String, _default:String > = null ):Boolean { return false; } > + > + public static function print():void { } > + > + public static function showModalDialog(url:String, > argument:Object):Object { return null; } > + public static function postMessage(message:Object, > targetOrigin:String, ports:Array ):void { } > + > + public static var onabort:Function; > + public static var onafterprint:Function; > + public static var onbeforeprint:Function; > + public static var onbeforeunload:Function; > + public static var onblur:Function; > + public static var oncanplay:Function; > + public static var oncanplaythrough:Function; > + public static var onchange:Function; > + public static var onclick:Function; > + public static var oncontextmenu:Function; > + public static var ondblclick:Function; > + public static var ondrag:Function; > + public static var ondragend:Function; > + public static var ondragenter:Function; > + public static var ondragleave:Function; > + public static var ondragover:Function; > + public static var ondragstart:Function; > + public static var ondrop:Function; > + public static var ondurationchange:Function; > + public static var onemptied:Function; > + public static var onended:Function; > + public static var onerror:Function; > + public static var onfocus:Function; > + public static var onformchange:Function; > + public static var onforminput:Function; > + public static var onhashchange:Function; > + public static var oninput:Function; > + public static var oninvalid:Function; > + public static var onkeydown:Function; > + public static var onkeypress:Function; > + public static var onkeyup:Function; > + public static var onload:Function; > + public static var onloadeddata:Function; > + public static var onloadedmetadata:Function; > + public static var onloadstart:Function; > + public static var onmessage:Function; > + public static var onmousedown:Function; > + public static var onmousemove:Function; > + public static var onmouseout:Function; > + public static var onmouseover:Function; > + public static var onmouseup:Function; > + public static var onmousewheel:Function; > + public static var onoffline:Function; > + public static var ononline:Function; > + public static var onpause:Function; > + public static var onplay:Function; > + public static var onplaying:Function; > + public static var onpagehide:Function; > + public static var onpageshow:Function; > + public static var onpopstate:Function; > + public static var onprogress:Function; > + public static var onratechange:Function; > + public static var onreadystatechange:Function; > + public static var onredo:Function; > + public static var onresize:Function; > + public static var onscroll:Function; > + public static var onseeked:Function; > + public static var onseeking:Function; > + public static var onselect:Function; > + public static var onshow:Function; > + public static var onstalled:Function; > + public static var onstorage:Function; > + public static var onsubmit:Function; > + public static var onsuspend:Function; > + public static var ontimeupdate:Function; > + public static var onundo:Function; > + public static var onunload:Function; > + public static var onvolumechange:Function; > + public static var onwaiting:Function; > + > + public static function getComputedStyle(elt:Element, > pseudoElt:String):CssStyleDeclaration { return null; } > + > + public static var document:HtmlDocument; > + public static var styleMedia:StyleMedia; > + public static var screen:Screen; > + > + public static var innerWidth:int; > + public static var innerHeight:int; > + > + public static var pageXOffset:int; > + public static var pageYOffset:int; > + > + public static function scroll(x:int, y:int):void { } > + public static function scrollTo(x:int, y:int):void { } > + public static function scrollBy(x:int, y:int):void { } > + > + public static var screenX:int; > + public static var screenY:int; > + public static var outerWidth:int; > + public static var outerHeight:int; > + > + public static function setTimeout(handler:Function):int { > return 0; } > + public static function clearTimeout(handle:int):void { } > + public static function setInterval(handler:Function, > timeout:Object=null):int { return 0; } > + public static function clearInterval(handle:int):void { } > + > + public static function escape(s:String):String { return null; > } > + public static function > decodeURIComponent(encodedURIString:String):String { return null; } > + public static function > encodeURIComponent(encodedURIString:String):String { return null; } > + public static function encodeURI(URIString:String):String { > return null; } > + public static function decodeURI(URIString:String):String { > return null; } > + public static function unescape(charString:String):String { > return null; } > + > + } > +} > \ No newline at end of file > > Added: flex/whiteboard/labriola/randori/htmlAssets/History.as > URL: > http://svn.apache.org/viewvc/flex/whiteboard/labriola/randori/htmlAssets/Histo > ry.as?rev=1440190&view=auto > ============================================================================== > --- flex/whiteboard/labriola/randori/htmlAssets/History.as (added) > +++ flex/whiteboard/labriola/randori/htmlAssets/History.as Tue Jan 29 22:40:13 > 2013 > @@ -0,0 +1,9 @@ > +package > +{ > + public class History > + { > + public function History() > + { > + } > + } > +} > \ No newline at end of file > > Added: flex/whiteboard/labriola/randori/htmlAssets/HtmlAllCollection.as > URL: > http://svn.apache.org/viewvc/flex/whiteboard/labriola/randori/htmlAssets/HtmlA > llCollection.as?rev=1440190&view=auto > ============================================================================== > --- flex/whiteboard/labriola/randori/htmlAssets/HtmlAllCollection.as (added) > +++ flex/whiteboard/labriola/randori/htmlAssets/HtmlAllCollection.as Tue Jan > 29 22:40:13 2013 > @@ -0,0 +1,13 @@ > +package > +{ > + public class HtmlAllCollection extends Object > + { > + public var length:int; > + > + public function tags( name:String ):NodeList { return null }; > + > + public function HtmlAllCollection() > + { > + } > + } > +} > \ No newline at end of file > > Added: flex/whiteboard/labriola/randori/htmlAssets/HtmlCollection.as > URL: > http://svn.apache.org/viewvc/flex/whiteboard/labriola/randori/htmlAssets/HtmlC > ollection.as?rev=1440190&view=auto > ============================================================================== > --- flex/whiteboard/labriola/randori/htmlAssets/HtmlCollection.as (added) > +++ flex/whiteboard/labriola/randori/htmlAssets/HtmlCollection.as Tue Jan 29 > 22:40:13 2013 > @@ -0,0 +1,11 @@ > +package > +{ > + public class HtmlCollection extends Object > + { > + public var length:int; > + > + public function HtmlCollection() > + { > + } > + } > +} > \ No newline at end of file > > Added: flex/whiteboard/labriola/randori/htmlAssets/HtmlDocument.as > URL: > http://svn.apache.org/viewvc/flex/whiteboard/labriola/randori/htmlAssets/HtmlD > ocument.as?rev=1440190&view=auto > ============================================================================== > --- flex/whiteboard/labriola/randori/htmlAssets/HtmlDocument.as (added) > +++ flex/whiteboard/labriola/randori/htmlAssets/HtmlDocument.as Tue Jan 29 > 22:40:13 2013 > @@ -0,0 +1,30 @@ > +package > +{ > + public class HtmlDocument > + { > + public var activeElement:Element; > + public var alinkColor:String; > + public var all:HtmlAllCollection; > + public var bgColor:String; > + public var compatMode:String; > + public var designMode:String; > + public var dir:String; > + public var embeds:HtmlCollection; > + public var fgColor:String; > + public var height:int; > + public var linkColor:String; > + public var plugins:HtmlCollection; > + public var scripts:HtmlCollection; > + public var vlinkColor:String; > + public var width:int; > + > + public function captureEvents():void { return void; }; > + public function clear():void { return void; }; > + public function close():void { return void; }; > + public function hasFocus():Boolean { return false; }; > + public function open():void { return void; }; > + public function releaseEvents():void { return void; }; > + public function write(text:String):void { return void; }; > + public function writeln(text:String):void { return void; }; > + } > +} > \ No newline at end of file > > Added: flex/whiteboard/labriola/randori/htmlAssets/JSON.as > URL: > http://svn.apache.org/viewvc/flex/whiteboard/labriola/randori/htmlAssets/JSON. > as?rev=1440190&view=auto > ============================================================================== > --- flex/whiteboard/labriola/randori/htmlAssets/JSON.as (added) > +++ flex/whiteboard/labriola/randori/htmlAssets/JSON.as Tue Jan 29 22:40:13 > 2013 > @@ -0,0 +1,8 @@ > +package > +{ > + public class JSON > + { > + public static function stringify(obj:Object, > replacer:Function=null):String { return null; } > + public static function parse(json:String, > reviver:Function=null ):Object { return null; } > + } > +} > \ No newline at end of file > > Added: flex/whiteboard/labriola/randori/htmlAssets/Location.as > URL: > http://svn.apache.org/viewvc/flex/whiteboard/labriola/randori/htmlAssets/Locat > ion.as?rev=1440190&view=auto > ============================================================================== > --- flex/whiteboard/labriola/randori/htmlAssets/Location.as (added) > +++ flex/whiteboard/labriola/randori/htmlAssets/Location.as Tue Jan 29 > 22:40:13 2013 > @@ -0,0 +1,9 @@ > +package > +{ > + public class Location > + { > + public function Location() > + { > + } > + } > +} > \ No newline at end of file > > Added: flex/whiteboard/labriola/randori/htmlAssets/MemoryInfo.as > URL: > http://svn.apache.org/viewvc/flex/whiteboard/labriola/randori/htmlAssets/Memor > yInfo.as?rev=1440190&view=auto > ============================================================================== > --- flex/whiteboard/labriola/randori/htmlAssets/MemoryInfo.as (added) > +++ flex/whiteboard/labriola/randori/htmlAssets/MemoryInfo.as Tue Jan 29 > 22:40:13 2013 > @@ -0,0 +1,13 @@ > +package > +{ > + public class MemoryInfo > + { > + public var jsHeapSizeLimit:int; > + public var totalJSHeapSize:int; > + public var usedJSHeapSize:int; > + > + public function MemoryInfo() > + { > + } > + } > +} > \ No newline at end of file > > Added: flex/whiteboard/labriola/randori/htmlAssets/Navigator.as > URL: > http://svn.apache.org/viewvc/flex/whiteboard/labriola/randori/htmlAssets/Navig > ator.as?rev=1440190&view=auto > ============================================================================== > --- flex/whiteboard/labriola/randori/htmlAssets/Navigator.as (added) > +++ flex/whiteboard/labriola/randori/htmlAssets/Navigator.as Tue Jan 29 > 22:40:13 2013 > @@ -0,0 +1,9 @@ > +package > +{ > + public class Navigator > + { > + public function Navigator() > + { > + } > + } > +} > \ No newline at end of file > > Added: flex/whiteboard/labriola/randori/htmlAssets/NodeList.as > URL: > http://svn.apache.org/viewvc/flex/whiteboard/labriola/randori/htmlAssets/NodeL > ist.as?rev=1440190&view=auto > ============================================================================== > --- flex/whiteboard/labriola/randori/htmlAssets/NodeList.as (added) > +++ flex/whiteboard/labriola/randori/htmlAssets/NodeList.as Tue Jan 29 > 22:40:13 2013 > @@ -0,0 +1,11 @@ > +package > +{ > + public class NodeList extends Object > + { > + public var length:int; > + > + public function NodeList() > + { > + } > + } > +} > \ No newline at end of file > > Added: flex/whiteboard/labriola/randori/htmlAssets/Screen.as > URL: > http://svn.apache.org/viewvc/flex/whiteboard/labriola/randori/htmlAssets/Scree > n.as?rev=1440190&view=auto > ============================================================================== > --- flex/whiteboard/labriola/randori/htmlAssets/Screen.as (added) > +++ flex/whiteboard/labriola/randori/htmlAssets/Screen.as Tue Jan 29 22:40:13 > 2013 > @@ -0,0 +1,9 @@ > +package > +{ > + public class Screen > + { > + public function Screen() > + { > + } > + } > +} > \ No newline at end of file > > Added: flex/whiteboard/labriola/randori/htmlAssets/Selection.as > URL: > http://svn.apache.org/viewvc/flex/whiteboard/labriola/randori/htmlAssets/Selec > tion.as?rev=1440190&view=auto > ============================================================================== > --- flex/whiteboard/labriola/randori/htmlAssets/Selection.as (added) > +++ flex/whiteboard/labriola/randori/htmlAssets/Selection.as Tue Jan 29 > 22:40:13 2013 > @@ -0,0 +1,9 @@ > +package > +{ > + public class Selection > + { > + public function Selection() > + { > + } > + } > +} > \ No newline at end of file > > Added: flex/whiteboard/labriola/randori/htmlAssets/StyleMedia.as > URL: > http://svn.apache.org/viewvc/flex/whiteboard/labriola/randori/htmlAssets/Style > Media.as?rev=1440190&view=auto > ============================================================================== > --- flex/whiteboard/labriola/randori/htmlAssets/StyleMedia.as (added) > +++ flex/whiteboard/labriola/randori/htmlAssets/StyleMedia.as Tue Jan 29 > 22:40:13 2013 > @@ -0,0 +1,9 @@ > +package > +{ > + public class StyleMedia > + { > + public function StyleMedia() > + { > + } > + } > +} > \ No newline at end of file > > Added: flex/whiteboard/labriola/randori/htmlAssets/Window.as > URL: > http://svn.apache.org/viewvc/flex/whiteboard/labriola/randori/htmlAssets/Windo > w.as?rev=1440190&view=auto > ============================================================================== > --- flex/whiteboard/labriola/randori/htmlAssets/Window.as (added) > +++ flex/whiteboard/labriola/randori/htmlAssets/Window.as Tue Jan 29 22:40:13 > 2013 > @@ -0,0 +1,9 @@ > +package > +{ > + public class Window > + { > + public function setTimeout(handler:Function, timeout:int):int > { return 0; } > + public function setInterval(handler:Function, timeout:int):int > { return 0; } > + public function open():Window { return null; } > + } > +} > \ No newline at end of file > > -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui