Class UiBinderUtil


  • public class UiBinderUtil
    extends java.lang.Object
    Static helper methods used by UiBinder. These methods are likely to move, so please don't use them for non-UiBinder code.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  UiBinderUtil.TempAttachment
      Temporary attachment record that keeps track of where an element was before attachment.
    • Method Detail

      • attachToDom

        public static UiBinderUtil.TempAttachment attachToDom​(Element element)
        Attaches the element to the dom temporarily. Keeps track of where it is attached so that things can be put back latter.
        Returns:
        attachment record which can be used for reverting back to previous DOM state
      • fromHtml

        public static Element fromHtml​(java.lang.String html)