public class ToolbarServiceImpl extends java.lang.Object implements ToolbarService
Constructor and Description |
---|
ToolbarServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addPlainToolbarItem(ToolBar toolbar,
BaseIcon icon) |
void |
addPlainToolbarItem(ToolBar toolbar,
ImageResource icon) |
void |
addSearchBar(ToolBar toolbar,
<any> selectionHandler,
<any> proxy) |
<D extends TextButton> |
configureButton(D button,
java.lang.String text,
ImageResource icon) |
DwTextButton |
createLargeButtonLeft(java.lang.String text,
ImageResource icon) |
DwTextButton |
createLargeButtonTop(java.lang.String text,
ImageResource icon) |
DwTextButton |
createLargeButtonTop(java.lang.String text,
ImageResource icon,
java.lang.String tooltip) |
Widget |
createPlainToolbarItem(BaseIcon icon) |
DwTextButton |
createPlainToolbarItem(ImageResource icon) |
DwTextButton |
createPlainToolbarItem(java.lang.String name,
ImageResource icon) |
DwTextButton |
createSmallButtonLeft(BaseIcon icon) |
DwTextButton |
createSmallButtonLeft(java.lang.String text,
ImageResource icon) |
LabelToolItem |
createText(java.lang.String text) |
DwTextButton |
createUnstyledToolbarItem(java.lang.String name,
ImageResource icon) |
public DwTextButton createSmallButtonLeft(java.lang.String text, ImageResource icon)
createSmallButtonLeft
in interface ToolbarService
public DwTextButton createSmallButtonLeft(BaseIcon icon)
createSmallButtonLeft
in interface ToolbarService
public DwTextButton createLargeButtonLeft(java.lang.String text, ImageResource icon)
createLargeButtonLeft
in interface ToolbarService
public <D extends TextButton> D configureButton(D button, java.lang.String text, ImageResource icon)
configureButton
in interface ToolbarService
public DwTextButton createLargeButtonTop(java.lang.String text, ImageResource icon, java.lang.String tooltip)
createLargeButtonTop
in interface ToolbarService
public DwTextButton createLargeButtonTop(java.lang.String text, ImageResource icon)
createLargeButtonTop
in interface ToolbarService
public DwTextButton createPlainToolbarItem(ImageResource icon)
createPlainToolbarItem
in interface ToolbarService
public Widget createPlainToolbarItem(BaseIcon icon)
createPlainToolbarItem
in interface ToolbarService
public DwTextButton createPlainToolbarItem(java.lang.String name, ImageResource icon)
createPlainToolbarItem
in interface ToolbarService
public DwTextButton createUnstyledToolbarItem(java.lang.String name, ImageResource icon)
createUnstyledToolbarItem
in interface ToolbarService
public void addPlainToolbarItem(ToolBar toolbar, ImageResource icon)
addPlainToolbarItem
in interface ToolbarService
public void addPlainToolbarItem(ToolBar toolbar, BaseIcon icon)
addPlainToolbarItem
in interface ToolbarService
public LabelToolItem createText(java.lang.String text)
createText
in interface ToolbarService
public void addSearchBar(ToolBar toolbar, <any> selectionHandler, <any> proxy)
addSearchBar
in interface ToolbarService