Example usage for Java com.google.gwt.user.client.ui DisclosurePanel fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | isOpen |
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. |
void | add(Widget w) |
void | add(IsWidget w) Overloaded version for IsWidget. |
HandlerRegistration | addCloseHandler(CloseHandler |
void | addEventHandler(final DisclosureHandler handler) Attaches an event handler to the panel to receive DisclosureEvent notification. |
HandlerRegistration | addOpenHandler(OpenHandler |
void | clear() |
Widget | getContent() Gets the widget that was previously set in #setContent(Widget) . |
Widget | getHeader() Gets the widget that is currently being used as a header. |
HasText | getHeaderTextAccessor() Gets a HasText instance to provide access to the headers's text, if the header widget does provide such access. |
void | setAnimationEnabled(boolean enable) |
void | setContent(Widget content) Sets the content widget which can be opened and closed by this panel. |
void | setHeader(Widget headerWidget) Sets the widget used as the header for the panel. |
void | setOpen(boolean isOpen) Changes the visible state of this DisclosurePanel . |