com.vaadin.client.debug.internal.
Class LogSection
- java.lang.Object
-
- com.vaadin.client.debug.internal.LogSection
-
-
Constructor Summary
Constructors Constructor Description LogSection()
-
Method Summary
All 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 the
VDebugWindow
.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 the
VDebugWindow
.int
getLimit()
Gets the current log row limit.
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
setLimit(int limit)
Sets the log row limit.
void
show()
Called when the section is activated in
VDebugWindow
.void
uidl(ApplicationConnection ac, ValueMap uidl)
-
-
-
Method Detail
-
setLimit
public void setLimit(int limit)
Sets the log row limit.
Parameters:
limit
-
-
getLimit
public int getLimit()
Gets the current log row limit.
Returns:
-
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 interfaceSection
Returns:
section id
-
getControls
public com.google.gwt.user.client.ui.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 interfaceSection
Returns:
section controls
-
getContent
public com.google.gwt.user.client.ui.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 interfaceSection
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.
-
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.
-
meta
public void meta(ApplicationConnection ac, ValueMap meta)
-
uidl
public void uidl(ApplicationConnection ac, ValueMap uidl)
-
-