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.
-
-
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 HTMLtitel
- 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 URItitel
- the button title- Returns:
- the HTML
-
-