Class ToolbarServiceImpl
java.lang.Object
net.datenwerke.gxtdto.client.utilityservices.toolbar.ToolbarServiceImpl
- All Implemented Interfaces:
ToolbarService
-
Constructor Summary
Constructors -
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(BaseIcon icon, String tooltip) Creates a small button aligned to the left with the specified icon and tooltip.LabelToolItemcreateText(String text) createUnstyledToolbarItem(String name, ImageResource icon)
-
Constructor Details
-
ToolbarServiceImpl
public ToolbarServiceImpl()
-
-
Method Details
-
createSmallButtonLeft
Description copied from interface:ToolbarServiceCreates a small button with the given icon aligned to the left of the button.- Specified by:
createSmallButtonLeftin interfaceToolbarService- Parameters:
text- the button texticon- the icon- Returns:
- the button created
-
createSmallButtonLeft
Creates a small button aligned to the left with the specified icon and tooltip.- Specified by:
createSmallButtonLeftin interfaceToolbarService- Parameters:
icon- the icon to be displayed on the buttontooltip- the tooltip text to be displayed when hovering over the button- Returns:
- a
DwTextButtoninstance configured with the specified icon and tooltip
-
createSmallButtonLeft
- Specified by:
createSmallButtonLeftin interfaceToolbarService
-
createLargeButtonLeft
Description copied from interface:ToolbarServiceCreates a large button with the given icon aligned to the left of the button.- Specified by:
createLargeButtonLeftin interfaceToolbarService- Parameters:
text- The button texticon- The icon- Returns:
- the button created
-
configureButton
- Specified by:
configureButtonin interfaceToolbarService
-
createLargeButtonTop
- Specified by:
createLargeButtonTopin interfaceToolbarService
-
createLargeButtonTop
- Specified by:
createLargeButtonTopin interfaceToolbarService
-
createPlainToolbarItem
- Specified by:
createPlainToolbarItemin interfaceToolbarService
-
createPlainToolbarItem
- Specified by:
createPlainToolbarItemin interfaceToolbarService
-
createPlainToolbarItem
- Specified by:
createPlainToolbarItemin interfaceToolbarService
-
createUnstyledToolbarItem
- Specified by:
createUnstyledToolbarItemin interfaceToolbarService
-
addPlainToolbarItem
public void addPlainToolbarItem(ToolBar toolbar, ImageResource icon) - Specified by:
addPlainToolbarItemin interfaceToolbarService
-
addPlainToolbarItem
- Specified by:
addPlainToolbarItemin interfaceToolbarService
-
createText
- Specified by:
createTextin interfaceToolbarService
-
addSearchBar
public void addSearchBar(ToolBar toolbar, <any> selectionHandler, <any> proxy) - Specified by:
addSearchBarin interfaceToolbarService
-