Class RenderableStamper

java.lang.Object
com.google.gwt.user.client.ui.RenderableStamper

public class RenderableStamper extends Object
Used by IsRenderable to mark their root element in such a way that they can be later retrieved. This class abstracts the exact details of how the element is marked and retrieved, so that we can always use the best method avaialable without having to change all implementations of IsRenderable.

The expected flow is for the IsRenderable object to use one of the stamp(com.google.gwt.safehtml.shared.SafeHtml) methods below to mark their HTML. At a later point, its parent widget will use the findStampedElement() to retrieve the right element.