Class VDebugConsole
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.SimplePanel
com.google.gwt.user.client.ui.PopupPanel
com.vaadin.terminal.gwt.client.ui.VOverlay
com.vaadin.terminal.gwt.client.VDebugConsole
All Implemented Interfaces:
com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.logical.shared.HasCloseHandlers<com.google.gwt.user.client.ui.PopupPanel>, com.google.gwt.event.shared.EventHandler, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.EventPreview, com.google.gwt.user.client.ui.AcceptsOneWidget, com.google.gwt.user.client.ui.HasAnimation, com.google.gwt.user.client.ui.HasOneWidget, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, com.google.gwt.user.client.ui.SourcesPopupEvents, Console, Iterable<com.google.gwt.user.client.ui.Widget>
public class VDebugConsole- extends VOverlay
- implements Console
A helper console for client side development. The debug console can also be
used to resolve layout issues, inspect the communication between browser and
the server, start GWT dev mode and restart application.
This implementation is used vaadin is in debug mode (see manual) and
developer appends "?debug" query parameter to url. Debug information can also
be shown on browsers internal console only, by appending "?debug=quiet" query
parameter.
This implementation can be overridden with GWT deferred binding.
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel |
com.google.gwt.user.client.ui.PopupPanel.PositionCallback |
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets |
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
Methods inherited from class com.vaadin.terminal.gwt.client.ui.VOverlay |
hide, isShadowEnabled, isSinkShadowEvents, needsShimElement, onClose, onDetach, positionOrSizeUpdated, setHeight, setPopupPosition, setShadowEnabled, setShadowStyle, setSinkShadowEvents, setVisible, setWidth, setZIndex, show, sinkEvents, updateShadowSizeAndPosition |
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel |
addAutoHidePartner, addCloseHandler, addPopupListener, center, getContainerElement, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onPreviewNativeEvent, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setModal, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setWidget, showRelativeTo |
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel |
add, getWidget, iterator, remove, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Panel |
add, adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, orphan, remove |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onLoad, removeFromParent, setLayoutData |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString, unsinkEvents |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
fireEvent |
VDebugConsole
public VDebugConsole()
onBrowserEvent
public void onBrowserEvent(com.google.gwt.user.client.Event event)
- Specified by:
onBrowserEvent
in interface com.google.gwt.user.client.EventListener
- Overrides:
onBrowserEvent
in class com.google.gwt.user.client.ui.Widget
setPixelSize
public void setPixelSize(int width,
int height)
- Overrides:
setPixelSize
in class com.google.gwt.user.client.ui.UIObject
log
public void log(String msg)
- Specified by:
log
in interface Console
getRemoteLogUrl
protected String getRemoteLogUrl()
remoteLog
protected void remoteLog(String msg)
error
public void error(String msg)
- Specified by:
error
in interface Console
printObject
public void printObject(Object msg)
- Specified by:
printObject
in interface Console
dirUIDL
public void dirUIDL(ValueMap u,
ApplicationConfiguration conf)
- Specified by:
dirUIDL
in interface Console
printLayoutProblems
public void printLayoutProblems(ValueMap meta,
ApplicationConnection ac,
Set<Paintable> zeroHeightComponents,
Set<Paintable> zeroWidthComponents)
- Specified by:
printLayoutProblems
in interface Console
log
public void log(Throwable e)
- Specified by:
log
in interface Console
error
public void error(Throwable e)
- Specified by:
error
in interface Console
init
public void init()
- Specified by:
init
in interface Console
setQuietMode
public void setQuietMode(boolean quietDebugMode)
- Specified by:
setQuietMode
in interface Console