Author: [EMAIL PROTECTED]
Date: Thu Nov 13 08:47:31 2008
New Revision: 4050
Modified:
branches/1_6_clean_events/user/src/com/google/gwt/user/client/ui/DisclosurePanel.java
Log:
Adding javadoc
Modified:
branches/1_6_clean_events/user/src/com/google/gwt/user/client/ui/DisclosurePanel.java
==============================================================================
---
branches/1_6_clean_events/user/src/com/google/gwt/user/client/ui/DisclosurePanel.java
(original)
+++
branches/1_6_clean_events/user/src/com/google/gwt/user/client/ui/DisclosurePanel.java
Thu Nov 13 08:47:31 2008
@@ -305,7 +305,7 @@
* Creates a DisclosurePanel that will be initially closed using the
specified
* text in the header.
*
- * @param headerText the text to be displayed in the header.
+ * @param headerText the text to be displayed in the header
*/
public DisclosurePanel(String headerText) {
this(createDefaultImages(), headerText, false);
@@ -363,6 +363,8 @@
* notification.
*
* @param handler the handler to be added (should not be null)
+ * @deprecated use [EMAIL PROTECTED]
DisclosurePanel#addOpenHandler(OpenHandler)}
and
+ * [EMAIL PROTECTED] DisclosurePanel#addCloseHandler(CloseHandler)} instead
*/
@Deprecated
public void addEventHandler(final DisclosureHandler handler) {
@@ -400,7 +402,7 @@
* the header widget does provide such access.
*
* @return a reference to the header widget if it implements [EMAIL
PROTECTED]
HasText},
- * <code>null</code> otherwise
+ * <code>null</code> otherwise
*/
public HasText getHeaderTextAccessor() {
Widget widget = header.getWidget();
@@ -484,7 +486,7 @@
* Changes the visible state of this <code>DisclosurePanel</code>.
*
* @param isOpen <code>true</code> to open the panel, <code>false</code>
to
- * close
+ * close
*/
public void setOpen(boolean isOpen) {
if (this.isOpen != isOpen) {
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---