Interface ToolbarService
- All Known Implementing Classes:
ToolbarServiceImpl
public interface ToolbarService
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlainToolbarItem(ToolBar toolbar, ImageResource icon) voidaddPlainToolbarItem(ToolBar toolbar, BaseIcon icon) voidaddSearchBar(ToolBar toolbar, <any> selectionHandler, <any> proxy) <D> DconfigureButton(D button, String text, ImageResource icon) createLargeButtonLeft(String text, ImageResource icon) Creates a large button with the given icon aligned to the left of the button.createLargeButtonTop(String text, ImageResource icon) createLargeButtonTop(String text, ImageResource icon, String tooltip) createPlainToolbarItem(ImageResource icon) createPlainToolbarItem(String name, ImageResource icon) WidgetcreateSmallButtonLeft(String text, ImageResource icon) Creates a small button with the given icon aligned to the left of the button.createSmallButtonLeft(String text, BaseIcon icon) Creates a small button with the given icon aligned to the left of the button.createSmallButtonLeft(BaseIcon icon, String tooltip) Creates a small button with the given icon aligned to the left of the button with tooltip.ComponentcreateText(String views) createUnstyledToolbarItem(String name, ImageResource icon)
-
Method Details
-
createSmallButtonLeft
-
createSmallButtonLeft
Creates a small button with the given icon aligned to the left of the button.- Parameters:
text- the button texticon- the icon- Returns:
- the button created
-
createSmallButtonLeft
Creates a small button with the given icon aligned to the left of the button.- Parameters:
text- the button texticon- the icon- Returns:
- the button created
-
createSmallButtonLeft
Creates a small button with the given icon aligned to the left of the button with tooltip.- Parameters:
icon- the icontooltip- the tooltip- Returns:
- the button created
-
createLargeButtonLeft
Creates a large button with the given icon aligned to the left of the button.- Parameters:
text- The button texticon- The icon- Returns:
- the button created
-
createLargeButtonTop
-
createLargeButtonTop
-
configureButton
-
addPlainToolbarItem
void addPlainToolbarItem(ToolBar toolbar, ImageResource icon) -
createPlainToolbarItem
-
createPlainToolbarItem
-
createText
-
createUnstyledToolbarItem
-
addPlainToolbarItem
-
createPlainToolbarItem
-
addSearchBar
void addSearchBar(ToolBar toolbar, <any> selectionHandler, <any> proxy)
-