PageRenderTime 27ms CodeModel.GetById 27ms RepoModel.GetById 25ms app.codeStats 0ms

/vr-lib/gwt/doc/html/com.google.gwt.user.client.ui.ButtonBase.html

http://eei.googlecode.com/
HTML | 200 lines | 184 code | 2 blank | 14 comment | 0 complexity | d731194a1b6e3a9d5a92077291198627 MD5 | raw file
Possible License(s): Apache-2.0, MPL-2.0-no-copyleft-exception
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html>
  3. <head>
  4. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <title>
  6. Google Web Toolkit
  7. -
  8. ButtonBase</title>
  9. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  10. <link href="../css/base.css" rel="stylesheet" type="text/css">
  11. <link href="./doc.css" rel="stylesheet" type="text/css">
  12. <link href="../css/print.css" rel="stylesheet" media="print" type="text/css">
  13. </head>
  14. <body>
  15. <div id="gaia">&nbsp;</div>
  16. <div id="header">
  17. <div id="logo">
  18. <a href="http://code.google.com/"><img src="http://code.google.com/images/code_sm.png" alt="Google"></a>
  19. </div>
  20. <div id="title">Google Web Toolkit</div>
  21. <div id="breadcrumbs">
  22. <div id="nextprev">
  23. <nobr><a href="com.google.gwt.user.client.ui.Button.html">&laquo; prev</a></nobr><nobr><a href="com.google.gwt.user.client.ui.CellPanel.html">next &raquo;</a></nobr>
  24. </div>
  25. <span class="item"><a href="http://code.google.com/">Google Code Home</a></span>
  26. &gt;
  27. <span class="item"><a href="http://code.google.com/webtoolkit/">Google Web Toolkit</a></span>
  28. &gt;
  29. <span class="item"><a xmlns="" href="gwt.html">GWT Class Reference</a></span> &gt;
  30. <span class="item"><a href="com.google.gwt.user.client.ui.html">com.google.gwt.user.client.ui</a></span> &gt;
  31. <span class="selected item">ButtonBase</span>
  32. </div>
  33. </div>
  34. <div id="side">
  35. <div id="menu">
  36. <h4>
  37. <a href="http://code.google.com/webtoolkit/">Google Web Toolkit</a>
  38. </h4>
  39. <ul>
  40. <li>
  41. <a href="http://code.google.com/webtoolkit/download.html">Download GWT</a>
  42. </li>
  43. </ul>
  44. <ul>
  45. <li>
  46. <a href="http://code.google.com/webtoolkit/overview.html">Product Overview</a>
  47. </li>
  48. <li>
  49. <a href="./gettingstarted.html">Getting Started Guide</a>
  50. </li>
  51. <li>
  52. <a href="http://code.google.com/webtoolkit/documentation/examples/">Example Projects</a>
  53. </li>
  54. </ul>
  55. <ul>
  56. <li>
  57. <a href="./com.google.gwt.doc.DeveloperGuide.html">Developer Guide</a>
  58. </li>
  59. <li>
  60. <a class="selected" href="./gwt.html">Class Reference</a>
  61. </li>
  62. <li>
  63. <a href="http://code.google.com/webtoolkit/issues/">Issue Tracking</a>
  64. </li>
  65. <li>
  66. <a href="http://groups.google.com/group/Google-Web-Toolkit">Developer Forum</a>
  67. </li>
  68. </ul>
  69. <ul>
  70. <li>
  71. <a href="http://googlewebtoolkit.blogspot.com/">GWT Blog</a>
  72. </li>
  73. <li>
  74. <a href="http://code.google.com/webtoolkit/faq.html">GWT FAQ</a>
  75. </li>
  76. <li>
  77. <a href="http://code.google.com/webtoolkit/makinggwtbetter.html">Making GWT Better</a>
  78. </li>
  79. </ul>
  80. <ul>
  81. <li>
  82. <a href="http://code.google.com/webtoolkit/thirdparty.html">Third Party Tools</a>
  83. </li>
  84. </ul>
  85. </div>
  86. <div id="search">
  87. <form id="searchbox_015986126177484454297:pfmwlvdl42y" action="http://www.google.com/cse">
  88. <input type="hidden" name="cx" value="015986126177484454297:pfmwlvdl42y"><input type="hidden" name="cof" value="FORID:0">
  89. <div class="header">Search Google Code:</div>
  90. <input name="q" type="text" size="20"><input type="submit" name="sa" value="Search">
  91. <br>
  92. </form>
  93. <script type="text/javascript" src="http://google.com/coop/cse/brand?form=searchbox_015986126177484454297:pfmwlvdl42y"></script>
  94. </div>
  95. </div>
  96. <div xmlns="http://www.w3.org/1999/xhtml" id="body">
  97. <h1>Class ButtonBase</h1>
  98. <div class="classSig">public
  99. class
  100. ButtonBase<br>extends
  101. <a xmlns="" href="com.google.gwt.user.client.ui.FocusWidget.html">FocusWidget</a>
  102. <br>implements
  103. <a href="com.google.gwt.user.client.ui.HasHTML.html">HasHTML</a>
  104. <br>
  105. <br>// Superclass of <code><a href="com.google.gwt.user.client.ui.Button.html">Button</a></code>, <code><a href="com.google.gwt.user.client.ui.CheckBox.html">CheckBox</a></code>, <code><a href="com.google.gwt.user.client.ui.CustomButton.html">CustomButton</a></code>
  106. </div>Abstract base class for <a href="com.google.gwt.user.client.ui.Button.html">Button</a>,
  107. <a href="com.google.gwt.user.client.ui.CheckBox.html">CheckBox</a>,
  108. <a href="com.google.gwt.user.client.ui.RadioButton.html">RadioButton</a>.<h2 class="api">Constructors</h2>
  109. <table cellpadding="1" cellspacing="1" class="members">
  110. <tr>
  111. <td><a href="com.google.gwt.user.client.ui.ButtonBase.html#ButtonBase(com.google.gwt.user.client.Element)">ButtonBase(Element)</a></td><td>Creates a new ButtonBase that wraps the given browser element. </td>
  112. </tr>
  113. </table>
  114. <h2 class="api">Methods</h2>
  115. <table cellpadding="1" cellspacing="1" class="members">
  116. <tr>
  117. <td><a href="com.google.gwt.user.client.ui.ButtonBase.html#getHTML()">getHTML()</a></td><td>Gets this object's contents as HTML. </td>
  118. </tr>
  119. <tr>
  120. <td><a href="com.google.gwt.user.client.ui.ButtonBase.html#getText()">getText()</a></td><td>Gets this object's text. </td>
  121. </tr>
  122. <tr>
  123. <td><a href="com.google.gwt.user.client.ui.ButtonBase.html#setHTML(java.lang.String)">setHTML(String)</a></td><td>Sets this object's contents via HTML. </td>
  124. </tr>
  125. <tr>
  126. <td><a href="com.google.gwt.user.client.ui.ButtonBase.html#setText(java.lang.String)">setText(String)</a></td><td>Sets this object's text. </td>
  127. </tr>
  128. </table>
  129. <h2 class="api">Constructor Detail</h2>
  130. <a name="ButtonBase(com.google.gwt.user.client.Element)"></a>
  131. <h3 class="api">ButtonBase</h3>
  132. <div class="memberSig">protected <b> ButtonBase</b>(<nobr><a href="com.google.gwt.user.client.Element.html">Element</a> elem</nobr>)</div>Creates a new ButtonBase that wraps the given browser element.<h4 class="api">Parameters</h4>
  133. <dl class="memberDetail">
  134. <dt>elem</dt>
  135. <dd>the DOM element to be wrapped</dd>
  136. </dl>
  137. <h2 class="api">Method Detail</h2>
  138. <a name="getHTML()"></a>
  139. <h3 class="api">getHTML</h3>
  140. <div class="memberSig">public <a href="java.lang.String.html">String</a><b> getHTML</b>()</div>Gets this object's contents as HTML.<h4 class="api">Return Value</h4>the object's HTML<hr>
  141. <a name="getText()"></a>
  142. <h3 class="api">getText</h3>
  143. <div class="memberSig">public <a href="java.lang.String.html">String</a><b> getText</b>()</div>Gets this object's text.<h4 class="api">Return Value</h4>the object's text<hr>
  144. <a name="setHTML(java.lang.String)"></a>
  145. <h3 class="api">setHTML</h3>
  146. <div class="memberSig">public void<b> setHTML</b>(<nobr><a href="java.lang.String.html">String</a> html</nobr>)</div>Sets this object's contents via HTML. Use care when setting an object's
  147. HTML; it is an easy way to expose script-based security problems. Consider
  148. using <a href="com.google.gwt.user.client.ui.HasText.html#setText(java.lang.String)">setText(String)</a> whenever possible.<h4 class="api">Parameters</h4>
  149. <dl class="memberDetail">
  150. <dt>html</dt>
  151. <dd>the object's new HTML</dd>
  152. </dl>
  153. <hr>
  154. <a name="setText(java.lang.String)"></a>
  155. <h3 class="api">setText</h3>
  156. <div class="memberSig">public void<b> setText</b>(<nobr><a href="java.lang.String.html">String</a> text</nobr>)</div>Sets this object's text.<h4 class="api">Parameters</h4>
  157. <dl class="memberDetail">
  158. <dt>text</dt>
  159. <dd>the object's new text</dd>
  160. </dl>
  161. </div>
  162. <div id="footer" xmlns="http://www.w3.org/1999/xhtml">
  163. &copy;2007 Google
  164. <span class="noprint">
  165. -
  166. <a href="http://www.google.com/">Google Home</a>
  167. -
  168. <a href="http://www.google.com/jobs/">We're Hiring</a>
  169. -
  170. <a href="http://www.google.com/privacy.html">Privacy Policy</a>
  171. -
  172. <a href="http://www.google.com/terms_of_service.html">Terms of Service</a>
  173. -
  174. <a href="mailto:code@google.com">Contact Us</a></span>
  175. <div id="license" style="text-align: center; margin: 1em 0em 1em 0em">
  176. Except as otherwise
  177. <a href="http://code.google.com/policies.html#restrictions">noted</a>, the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/2.5/">Creative Commons Attribution 2.5 License</a>.
  178. <!--
  179. <rdf:RDF xmlns="http://web.resource.org/cc/">
  180. <Work rdf:about="">
  181. <license rdf:resource="http://creativecommons.org/licenses/by/2.5/"></license>
  182. </Work>
  183. <License rdf:about="http://creativecommons.org/licenses/by/2.5/">
  184. <permits rdf:resource="http://web.resource.org/cc/Reproduction"></permits>
  185. <permits rdf:resource="http://web.resource.org/cc/Distribution"></permits>
  186. <requires rdf:resource="http://web.resource.org/cc/Notice"></requires>
  187. <requires rdf:resource="http://web.resource.org/cc/Attribution"></requires>
  188. <permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"></permits>
  189. </License>
  190. </rdf:RDF>
  191. -->
  192. </div>
  193. </div>
  194. <script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript" xmlns="http://www.w3.org/1999/xhtml"></script><script type="text/javascript">
  195. _uacct="UA-18071-1"; _uanchor=1; urchinTracker();
  196. </script>
  197. </body>
  198. </html>