public class InfoTextAndLabels extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
TAGS_INFO_CAPTION |
static String |
TAGS_INFO_ID_POPUP |
static String |
TAGS_INFO_TEXT |
| Constructor and Description |
|---|
InfoTextAndLabels() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addTooltipForFieldKey(String theFieldKey,
com.google.gwt.user.client.ui.Widget widget)
Adds the tooltip for field key.
|
static void |
closeDialogBox(List<String> popupOpenedIds)
Close any dialog box opened.
|
static com.google.gwt.user.client.ui.IsWidget |
getWidget(com.google.gwt.dom.client.Element element)
Check if an element of such type is actually a widget.
|
static void |
preparePopupPanelAndPopover(String popupId,
String text,
String captionText,
com.github.gwtbootstrap.client.ui.Icon iconElement,
com.github.gwtbootstrap.client.ui.Popover popover,
com.google.gwt.user.client.ui.FocusPanel focusPanel,
List<String> popupOpenedIds)
Prepare the popover and the gcube popup panel for information.
|
static void |
setupPopover(com.google.gwt.user.client.ui.Widget w,
String message,
String heading)
Setup popover.
|
static String |
validValue(String value)
Valid value.
|
public static final String TAGS_INFO_ID_POPUP
public static final String TAGS_INFO_CAPTION
public static final String TAGS_INFO_TEXT
public static void preparePopupPanelAndPopover(String popupId, String text, String captionText, com.github.gwtbootstrap.client.ui.Icon iconElement, com.github.gwtbootstrap.client.ui.Popover popover, com.google.gwt.user.client.ui.FocusPanel focusPanel, List<String> popupOpenedIds)
popupId - the popup idtext - the textcaptionText - the caption texticonElement - the icon elementpopover - the popoverfocusPanel - the focus panelpopupOpenedIds - the popup opened idspublic static com.google.gwt.user.client.ui.IsWidget getWidget(com.google.gwt.dom.client.Element element)
element - the elementpublic static void closeDialogBox(List<String> popupOpenedIds)
popupOpenedIds - the popup opened idspublic static String validValue(String value)
value - the valuepublic static void addTooltipForFieldKey(String theFieldKey, com.google.gwt.user.client.ui.Widget widget)
theFieldKey - the the field keywidget - the widgetCopyright © 2021. All Rights Reserved.