Java com.google.gwt.user.client.ui DisclosurePanel fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.user.client.ui DisclosurePanel fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.user.client.ui DisclosurePanel.

The text is from its open source code.

Field

booleanisOpen

Constructor

DisclosurePanel(String headerText)
Creates a DisclosurePanel that will be initially closed using the specified text in the header.
DisclosurePanel(Widget header)
Creates a DisclosurePanel that will be initially closed using a widget as the header.
DisclosurePanel()
Creates an empty DisclosurePanel that is initially closed.
DisclosurePanel(DisclosurePanelImages images, String headerText, boolean isOpen)
Creates a DisclosurePanel with the specified header text, an initial open/close state and a bundle of images to be used in the default header widget.
DisclosurePanel(ImageResource openImage, ImageResource closedImage, String headerText)
Creates a DisclosurePanel with the specified header text, an initial open/close state and a bundle of images to be used in the default header widget.
DisclosurePanel(String headerText, boolean isOpen)
Creates a DisclosurePanel with the specified header text and an initial open/close state.
DisclosurePanel(Widget header, boolean isOpen)
Creates a DisclosurePanel using a widget as the header and an initial open/close state.

Method

voidadd(Widget w)
voidadd(IsWidget w)
Overloaded version for IsWidget.
HandlerRegistrationaddCloseHandler(CloseHandler handler)
voidaddEventHandler(final DisclosureHandler handler)
Attaches an event handler to the panel to receive DisclosureEvent notification.
HandlerRegistrationaddOpenHandler(OpenHandler handler)
voidclear()
WidgetgetContent()
Gets the widget that was previously set in #setContent(Widget) .
WidgetgetHeader()
Gets the widget that is currently being used as a header.
HasTextgetHeaderTextAccessor()
Gets a HasText instance to provide access to the headers's text, if the header widget does provide such access.
voidsetAnimationEnabled(boolean enable)
voidsetContent(Widget content)
Sets the content widget which can be opened and closed by this panel.
voidsetHeader(Widget headerWidget)
Sets the widget used as the header for the panel.
voidsetOpen(boolean isOpen)
Changes the visible state of this DisclosurePanel.