|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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
public class VDebugConsole
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 Class Summary |
|---|
| Nested classes/interfaces inherited from class com.vaadin.terminal.gwt.client.ui.VOverlay |
|---|
VOverlay.PositionAndSize, VOverlay.ResizeAnimation |
| 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 |
| Field Summary |
|---|
| Fields inherited from class com.vaadin.terminal.gwt.client.ui.VOverlay |
|---|
CLASSNAME_SHADOW, Z_INDEX |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
VDebugConsole()
|
|
| Method Summary | |
|---|---|
void |
dirUIDL(ValueMap u,
ApplicationConfiguration conf)
|
void |
error(String msg)
|
void |
error(Throwable e)
|
protected String |
getRemoteLogUrl()
|
void |
init()
|
void |
log(String msg)
|
void |
log(Throwable e)
|
void |
onBrowserEvent(com.google.gwt.user.client.Event event)
|
void |
printLayoutProblems(ValueMap meta,
ApplicationConnection ac,
Set<Paintable> zeroHeightComponents,
Set<Paintable> zeroWidthComponents)
|
void |
printObject(Object msg)
|
protected void |
remoteLog(String msg)
|
void |
setPixelSize(int width,
int height)
|
void |
setQuietMode(boolean quietDebugMode)
|
| 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 class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Constructor Detail |
|---|
public VDebugConsole()
| Method Detail |
|---|
public void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent in interface com.google.gwt.user.client.EventListeneronBrowserEvent in class com.google.gwt.user.client.ui.Widget
public void setPixelSize(int width,
int height)
setPixelSize in class com.google.gwt.user.client.ui.UIObjectpublic void log(String msg)
log in interface Consoleprotected String getRemoteLogUrl()
protected void remoteLog(String msg)
public void error(String msg)
error in interface Consolepublic void printObject(Object msg)
printObject in interface Console
public void dirUIDL(ValueMap u,
ApplicationConfiguration conf)
dirUIDL in interface Console
public void printLayoutProblems(ValueMap meta,
ApplicationConnection ac,
Set<Paintable> zeroHeightComponents,
Set<Paintable> zeroWidthComponents)
printLayoutProblems in interface Consolepublic void log(Throwable e)
log in interface Consolepublic void error(Throwable e)
error in interface Consolepublic void init()
init in interface Consolepublic void setQuietMode(boolean quietDebugMode)
setQuietMode in interface Console
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||