APISonar


com.vaadin.terminal.gwt.client.VConsole.log

> com > vaadin > terminal > gwt > client > VConsole > log
com APIs vaadin APIs terminal APIs gwt APIs client APIs VConsole APIs log APIs

Example 1
private static void execRunnable(Runnable r) {
        if (r != null) {
            try {
                r.run();
            } catch (Throwable e) {
                VConsole.log(e.toString());
            }
        }
    }
Example 2
protected void debug(String msg) {
        if (isDebug)
            VConsole.log(msg);
    }
Example 3
public void connectorHierarchyChanged(ConnectorHierarchyChangedEvent event) {
        // TODO Remove debug info
        VConsole.log("Hierarchy changed for " + Util.getConnectorString(this));
        String oldChildren = "* Old children: ";
        for (ComponentConnector child : event.getOldChildren()) {
            oldChildren += Util.getConnectorString(child) + " ";
        }
        VConsole.log(oldChildren);

        String newChildren = "* New children: ";
        for (ComponentConnector child : getChildren()) {
            newChildren += Util.getConnectorString(child) + " ";
        }
        VConsole.log(newChildren);
    }
Example 4
public void onBrowserEvent(Event event) {
        super.onBrowserEvent(event);
        if (DOM.eventGetType(event) == Event.ONLOAD) {
            VConsole.log("Embeddable onload");
            Util.notifyParentOfSizeChange(this, true);
        }

        client.handleTooltipEvent(event, this);
    }
Example 5
public void lazyRevertFocusToRow(final VScrollTableRow currentlyFocusedRow) {
        Scheduler.get().scheduleFinally(new ScheduledCommand() {
            public void execute() {
                if (currentlyFocusedRow != null) {
                    setRowFocus(currentlyFocusedRow);
                } else {
                    VConsole.log("no row?");
                    focusRowFromBody();
                }
                scrollBody.ensureFocus();
            }
        });
    }