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 the VDebugWindow.

Since:
7.1
Author:
Vaadin Ltd

Method Summary
 Widget getContent()
          Returns a widget that is the main content of the section, displayed when the section is active in the VDebugWindow.
 Widget getControls()
          Returns a widget that is placed on top of the Section content when the Section (tab) is active in the VDebugWindow.
 DebugButton getTabButton()
          Returns a button that will be used to activate this section, displayed as a tab in VDebugWindow.
 void hide()
          Called when the section is deactivated in VDebugWindow.
 void meta(ApplicationConnection ac, ValueMap meta)
           
 void show()
          Called when the section is activated in VDebugWindow.
 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 in VDebugWindow.

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

Widget getControls()
Returns a widget that is placed on top of the Section content when the Section (tab) is active in the VDebugWindow.

Returns:
section controls

getContent

Widget getContent()
Returns a widget that is the main content of the section, displayed when the section is active in the VDebugWindow.

Returns:

show

void show()
Called when the section is activated in VDebugWindow. Provides an opportunity to e.g start timers, add listeners etc.


hide

void hide()
Called when the section is deactivated in VDebugWindow. 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)


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.