Java Code Examples for com.smartgwt.client.widgets.IButton#setTooltip()
The following examples show how to use
com.smartgwt.client.widgets.IButton#setTooltip() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ImportParentChooser.java From proarc with GNU General Public License v3.0 | 6 votes |
SelectionView(ClientMessages i18n) { this.i18n = i18n; setAutoHeight(); setIsGroup(true); setGroupTitle(i18n.ImportParentChooser_SelectionForm_Title()); setLayoutMargin(4); selection = new Canvas(); selection.setWidth100(); selection.setAutoHeight(); selection.setMargin(4); selection.setCanSelectText(Boolean.TRUE); clear = new IButton(i18n.ImportParentChooser_SelectionForm_Clear_Title()); clear.setTooltip(i18n.ImportParentChooser_SelectionForm_Clear_Hint()); clear.setAutoFit(Boolean.TRUE); setMembers(selection, clear); }
Example 2
Source File: ProgressTracker.java From proarc with GNU General Public License v3.0 | 5 votes |
public ProgressTracker(ClientMessages i18n) { this.i18n = i18n; widget = new VLayout(4); label = new Label(); label.setWidth100(); label.setAutoHeight(); progressbar = new Progressbar(); progressbar.setVertical(false); progressbar.setLength(400); progressbar.setBreadth(24); widget.setMembers(label, progressbar); widget.setWidth100(); widget.setAutoHeight(); progressPrefix = i18n.ProgressTracker_Progress_0(); closeBtn = new IButton(i18n.ProgressTracker_CloseBtn_Title(), new ClickHandler() { @Override public void onClick(ClickEvent event) { stop(); } }); closeBtn.setTooltip(i18n.ProgressTracker_CloseBtn_Hint()); closeBtn.setAutoFit(true); }