Interface CmsQuickLauncher.I_ButtonTemplates

  • All Superinterfaces:
    com.google.gwt.safehtml.client.SafeHtmlTemplates
    Enclosing class:
    CmsQuickLauncher

    protected static interface CmsQuickLauncher.I_ButtonTemplates
    extends com.google.gwt.safehtml.client.SafeHtmlTemplates
    The button HTML generator templates.

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.google.gwt.safehtml.client.SafeHtmlTemplates

        com.google.gwt.safehtml.client.SafeHtmlTemplates.Template
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.gwt.safehtml.shared.SafeHtml iconButtonHtml​(com.google.gwt.safehtml.shared.SafeHtml iconHtml, java.lang.String titel)
      Generates the icon button HTML.
      com.google.gwt.safehtml.shared.SafeHtml imageButtonHtml​(java.lang.String imageUri, java.lang.String titel)
      Generates the image button HTML.
    • Method Detail

      • iconButtonHtml

        @Template("<span class=\"v-button-wrap\">{0}<span class=\"v-button-caption\">{1}</span></span>")
        com.google.gwt.safehtml.shared.SafeHtml iconButtonHtml​(com.google.gwt.safehtml.shared.SafeHtml iconHtml,
                                                               java.lang.String titel)
        Generates the icon button HTML.

        Parameters:
        iconHtml - the icon HTML
        titel - the button title
        Returns:
        the HTML
      • imageButtonHtml

        @Template("<span class=\"v-button-wrap\"><img src=\"{0}\" class=\"v-icon\"/><span class=\"v-button-caption\">{1}</span></span>")
        com.google.gwt.safehtml.shared.SafeHtml imageButtonHtml​(java.lang.String imageUri,
                                                                java.lang.String titel)
        Generates the image button HTML.

        Parameters:
        imageUri - the image URI
        titel - the button title
        Returns:
        the HTML