Package org.opencms.gwt.client.ui
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
Modifier and TypeMethodDescriptioncom.google.gwt.safehtml.shared.SafeHtml
iconButtonHtml
(com.google.gwt.safehtml.shared.SafeHtml iconHtml, String titel) Generates the icon button HTML.com.google.gwt.safehtml.shared.SafeHtml
imageButtonHtml
(String imageUri, String titel) Generates the image button HTML.
-
Method Details
-
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(String imageUri, String titel) Generates the image button HTML.- Parameters:
imageUri
- the image URItitel
- the button title- Returns:
- the HTML