Package com.vaadin.client.debug.internal
Interface Section
-
- All Known Implementing Classes:
HierarchySection
,InfoSection
,LogSection
,NetworkSection
,ProfilerSection
,TestBenchSection
public interface Section
A Section is displayed as a tab in theVDebugWindow
.- Since:
- 7.1
- Author:
- Vaadin Ltd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.gwt.user.client.ui.Widget
getContent()
Returns a widget that is the main content of the section, displayed when the section is active in theVDebugWindow
.com.google.gwt.user.client.ui.Widget
getControls()
Returns a widget that is placed on top of the Section content when the Section (tab) is active in theVDebugWindow
.DebugButton
getTabButton()
Returns a button that will be used to activate this section, displayed as a tab inVDebugWindow
.void
hide()
Called when the section is deactivated inVDebugWindow
.void
meta(ApplicationConnection ac, ValueMap meta)
void
show()
Called when the section is activated inVDebugWindow
.void
uidl(ApplicationConnection ac, ValueMap uidl)
-
-
-
Method Detail
-
getTabButton
DebugButton getTabButton()
Returns a button that will be used to activate this section, displayed as a tab inVDebugWindow
.The same instance must be returned each time this method is called.
The button should preferably only have an icon (no caption), and should have a longer description as title (tooltip).
- Returns:
- section id
-
getControls
com.google.gwt.user.client.ui.Widget getControls()
Returns a widget that is placed on top of the Section content when the Section (tab) is active in theVDebugWindow
.- Returns:
- section controls
-
getContent
com.google.gwt.user.client.ui.Widget getContent()
Returns a widget that is the main content of the section, displayed when the section is active in theVDebugWindow
.- Returns:
-
show
void show()
Called when the section is activated inVDebugWindow
. Provides an opportunity to e.g start timers, add listeners etc.
-
hide
void hide()
Called when the section is deactivated inVDebugWindow
. Provides an opportunity to e.g stop timers, remove listeners etc.
-
meta
void meta(ApplicationConnection ac, ValueMap meta)
-
uidl
void uidl(ApplicationConnection ac, ValueMap uidl)
-
-