Example usage for com.vaadin.ui AbstractComponent setDebugId

List of usage examples for com.vaadin.ui AbstractComponent setDebugId

Introduction

In this page you can find the example usage for com.vaadin.ui AbstractComponent setDebugId.

Prototype

@Deprecated
public void setDebugId(String id) 

Source Link

Usage

From source file:com.expressui.core.view.RootComponent.java

License:Open Source License

/**
 * Sets the debug id for this component, useful for finding the generated HTML with a tool like Firebug.
 *
 * @param subComponent nested component/*from   w w w.j  a  va2  s .  c om*/
 * @param suffix       friendly suffix
 */
public void setDebugId(AbstractComponent subComponent, String suffix) {
    String id = StringUtil.generateDebugId("e", this, subComponent, suffix);
    subComponent.setDebugId(id);
}