src/cm/media/js/lib/yui/yui3.0.0/api/module_stylesheet.html
changeset 0 40c8f766c9b8
equal deleted inserted replaced
-1:000000000000 0:40c8f766c9b8
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
       
     2 <html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
       
     3 <head>
       
     4     <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
       
     5 	<title>API: stylesheet   (YUI Library)</title>
       
     6 
       
     7 	<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
       
     8 	<link rel="stylesheet" type="text/css" href="assets/api.css" />
       
     9 
       
    10     <script type="text/javascript" src="assets/api-js"></script>
       
    11     <script type="text/javascript" src="assets/ac-js"></script>
       
    12 </head>
       
    13 
       
    14 <body id="yahoo-com">
       
    15 
       
    16 <div id="doc3" class="yui-t2">
       
    17 	<div id="hd">
       
    18         <h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1>
       
    19         <h3>stylesheet&nbsp; <span class="subtitle">3.0.0</span></h3>
       
    20         <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> 
       
    21             &gt; <a href="./module_stylesheet.html" title="stylesheet">stylesheet</a>
       
    22                 
       
    23                 
       
    24         <form onsubmit="return false">
       
    25             <div id="propertysearch">
       
    26                 Search: <input autocomplete="off" id="searchinput" />
       
    27                 <div id="searchresults">
       
    28                     &nbsp;
       
    29                 </div>
       
    30             </div>
       
    31         </form>
       
    32 	</div>
       
    33 
       
    34 	<div id="bd">
       
    35 		<div id="yui-main">
       
    36 			<div class="yui-b">
       
    37             <form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
       
    38                 <fieldset>
       
    39                     <legend>Filters</legend>
       
    40                 <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
       
    41                 <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
       
    42                 <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
       
    43                 </fieldset>
       
    44             </form>
       
    45 
       
    46                    
       
    47                     <h3>Module: stylesheet
       
    48                     
       
    49 
       
    50 
       
    51                     </h3>
       
    52                     <div class="description summary">
       
    53                         The StyleSheet component is a module for creating and modifying CSS
       
    54 stylesheets.
       
    55                     </div>
       
    56 
       
    57 
       
    58 
       
    59                 <div class="yui-gc">
       
    60                     <div class="yui-u first">
       
    61 
       
    62                             <p>This module contains the following classes:</p>
       
    63                             <script>
       
    64                             //var YUI_CLASS_LIST = [{"extends": {"superclass": {}, "events": {}, "configs": {}, "properties": {}, "methods": {}}, "description": "Create an instance of StyleSheet to encapsulate a css stylesheet.\nThe constructor can be called using function or constructor syntax.\n<pre><code>var sheet = Y.StyleSheet(..);</pre></code>\nor\n<pre><code>var sheet = new Y.StyleSheet(..);</pre></code>\nThe first parameter passed can be any of the following things:\n<ul>\n<li>The desired string name to register a new empty sheet</li>\n<li>The string name of an existing StyleSheet instance</li>\n<li>The unique guid generated for an existing StyleSheet instance</li>\n<li>The id of an existing <code>&lt;link&gt;</code> or <code>&lt;style&gt;</code> node</li>\n<li>The node reference for an existing <code>&lt;link&gt;</code> or <code>&lt;style&gt;</code> node</li>\n<li>The Y.Node instance wrapping an existing <code>&lt;link&gt;</code> or <code>&lt;style&gt;</code> node</li>\n<li>A chunk of css text to create a new stylesheet from</li>\n</ul>\n<p>If a string is passed, StyleSheet will first look in its static name\nregistry for an existing sheet, then in the DOM for an element with that id.\nIf neither are found and the string contains the { character, it will be\nused as a the initial cssText for a new StyleSheet.  Otherwise, a new empty\nStyleSheet is created, assigned the string value as a name, and registered\nstatically by that name.</p>\n<p>The optional second parameter is a string name to register the sheet as.\nThis param is largely useful when providing a node id/ref or chunk of css\ntext to create a populated instance.</p>", "guessedname": "StyleSheet", "name": "StyleSheet"}];
       
    65                             </script>
       
    66                             <div id="splash_classList">
       
    67                                 <ul>
       
    68                                     <li><a href="StyleSheet.html" title="StyleSheet" id="class_0">StyleSheet</a></li>
       
    69                                 </ul>
       
    70                             </div>
       
    71                     </div>
       
    72                     <div class="yui-u">
       
    73 
       
    74                         </div>
       
    75                 </div>
       
    76 
       
    77 			</div>
       
    78 		</div>
       
    79 		<div class="yui-b">
       
    80             <div class="nav">
       
    81 
       
    82                     <div id="moduleList" class="module">
       
    83                         <h4>Modules</h4>
       
    84                         <ul class="content">
       
    85                                 <li class=""><a href="module_anim.html" title="anim">anim</a></li>
       
    86                                 <li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li>
       
    87                                 <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li>
       
    88                                 <li class=""><a href="module_base.html" title="base">base</a></li>
       
    89                                 <li class=""><a href="module_cache.html" title="cache">cache</a></li>
       
    90                                 <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li>
       
    91                                 <li class=""><a href="module_collection.html" title="collection">collection</a></li>
       
    92                                 <li class=""><a href="module_console.html" title="console">console</a></li>
       
    93                                 <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li>
       
    94                                 <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
       
    95                                 <li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li>
       
    96                                 <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
       
    97                                 <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li>
       
    98                                 <li class=""><a href="module_dd.html" title="dd">dd</a></li>
       
    99                                 <li class=""><a href="module_dom.html" title="dom">dom</a></li>
       
   100                                 <li class=""><a href="module_dump.html" title="dump">dump</a></li>
       
   101                                 <li class=""><a href="module_event.html" title="event">event</a></li>
       
   102                                 <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li>
       
   103                                 <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li>
       
   104                                 <li class=""><a href="module_history.html" title="history">history</a></li>
       
   105                                 <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
       
   106                                 <li class=""><a href="module_io.html" title="io">io</a></li>
       
   107                                 <li class=""><a href="module_json.html" title="json">json</a></li>
       
   108                                 <li class=""><a href="module_node.html" title="node">node</a></li>
       
   109                                 <li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li>
       
   110                                 <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li>
       
   111                                 <li class=""><a href="module_oop.html" title="oop">oop</a></li>
       
   112                                 <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li>
       
   113                                 <li class=""><a href="module_plugin.html" title="plugin">plugin</a></li>
       
   114                                 <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
       
   115                                 <li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li>
       
   116                                 <li class=""><a href="module_slider.html" title="slider">slider</a></li>
       
   117                                 <li class="selected"><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
       
   118                                 <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li>
       
   119                                 <li class=""><a href="module_test.html" title="test">test</a></li>
       
   120                                 <li class=""><a href="module_widget.html" title="widget">widget</a></li>
       
   121                                 <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li>
       
   122                                 <li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li>
       
   123                                 <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li>
       
   124                                 <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li>
       
   125                                 <li class=""><a href="module_yui.html" title="yui">yui</a></li>
       
   126                         </ul>
       
   127                     </div>
       
   128 
       
   129                     <div id="classList" class="module">
       
   130                         <h4>Classes</h4>
       
   131                         <ul class="content">
       
   132                                 <li class=""><a href="StyleSheet.html" title="StyleSheet">StyleSheet</a></li>
       
   133                         </ul>
       
   134                     </div>
       
   135 
       
   136                     <div id="fileList" class="module">
       
   137                         <h4>Files</h4>
       
   138                         <ul class="content">        
       
   139                                 <li class=""><a href="stylesheet.js.html" title="stylesheet.js">stylesheet.js</a></li>
       
   140                         </ul>
       
   141                     </div>
       
   142 
       
   143 
       
   144 
       
   145 
       
   146 
       
   147             </div>
       
   148 		</div>
       
   149 	</div>
       
   150 	<div id="ft">
       
   151         <hr />
       
   152         Copyright &copy; 2009 Yahoo! Inc. All rights reserved.
       
   153 	</div>
       
   154 </div>
       
   155 <script type="text/javascript">
       
   156     ALL_YUI_PROPS = [{"access": "", "host": "StyleSheet", "name": "disable", "url": "StyleSheet.html#method_disable", "type": "method"}, {"access": "", "host": "StyleSheet", "name": "enable", "url": "StyleSheet.html#method_enable", "type": "method"}, {"access": "", "host": "StyleSheet", "name": "getCssText", "url": "StyleSheet.html#method_getCssText", "type": "method"}, {"access": "", "host": "StyleSheet", "name": "getId", "url": "StyleSheet.html#method_getId", "type": "method"}, {"access": "", "host": "StyleSheet", "name": "isEnabled", "url": "StyleSheet.html#method_isEnabled", "type": "method"}, {"access": "", "host": "StyleSheet", "name": "set", "url": "StyleSheet.html#method_set", "type": "method"}, {"access": "", "host": "StyleSheet", "name": "StyleSheet.isValidSelector", "url": "StyleSheet.html#method_StyleSheet.isValidSelector", "type": "method"}, {"access": "", "host": "StyleSheet", "name": "StyleSheet.register", "url": "StyleSheet.html#method_StyleSheet.register", "type": "method"}, {"access": "", "host": "StyleSheet", "name": "StyleSheet.toCssText", "url": "StyleSheet.html#method_StyleSheet.toCssText", "type": "method"}, {"access": "", "host": "StyleSheet", "name": "unset", "url": "StyleSheet.html#method_unset", "type": "method"}];
       
   157 </script>
       
   158 </body>
       
   159 </html>