static interface ButtonCellBase.DefaultAppearance.Template extends SafeHtmlTemplates
SafeHtmlTemplates.Template
Modifier and Type | Method and Description |
---|---|
SafeHtml |
iconContentLayout(java.lang.String classes,
SafeStyles styles,
SafeHtml icon,
SafeHtml cellContents)
Positions the icon next to the text.
|
SafeHtml |
iconWrapper(SafeStyles styles,
SafeHtml image)
The wrapper around the icon that aligns it vertically with the text.
|
@SafeHtmlTemplates.Template(value="<div class=\"{0}\" style=\"{1}position:relative;zoom:0;\">{2}{3}</div>") SafeHtml iconContentLayout(java.lang.String classes, SafeStyles styles, SafeHtml icon, SafeHtml cellContents)
@SafeHtmlTemplates.Template(value="<div style=\"{0}position:absolute;top:50%;line-height:0px;\">{1}</div>") SafeHtml iconWrapper(SafeStyles styles, SafeHtml image)