com.vaadin.client.debug.internal
Class TestBenchSection

java.lang.Object
  extended by com.vaadin.client.debug.internal.TestBenchSection
All Implemented Interfaces:
Section

public class TestBenchSection
extends java.lang.Object
implements Section

Provides functionality for picking selectors for Vaadin TestBench.

Since:
7.1.x
Author:
Vaadin Ltd

Constructor Summary
TestBenchSection()
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestBenchSection

public TestBenchSection()
Method Detail

getTabButton

public DebugButton getTabButton()
Description copied from interface: Section
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).

Specified by:
getTabButton in interface Section
Returns:
section id

getControls

public Widget getControls()
Description copied from interface: Section
Returns a widget that is placed on top of the Section content when the Section (tab) is active in the VDebugWindow.

Specified by:
getControls in interface Section
Returns:
section controls

getContent

public Widget getContent()
Description copied from interface: Section
Returns a widget that is the main content of the section, displayed when the section is active in the VDebugWindow.

Specified by:
getContent in interface Section
Returns:

show

public void show()
Description copied from interface: Section
Called when the section is activated in VDebugWindow. Provides an opportunity to e.g start timers, add listeners etc.

Specified by:
show in interface Section

hide

public void hide()
Description copied from interface: Section
Called when the section is deactivated in VDebugWindow. Provides an opportunity to e.g stop timers, remove listeners etc.

Specified by:
hide in interface Section

meta

public void meta(ApplicationConnection ac,
                 ValueMap meta)
Specified by:
meta in interface Section

uidl

public void uidl(ApplicationConnection ac,
                 ValueMap uidl)
Specified by:
uidl in interface Section


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