Package io.jmix.ui.widget.client
Class Tools
java.lang.Object
io.jmix.ui.widget.client.Tools
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.vaadin.client.ui.VOverlaystatic com.vaadin.client.ui.VOverlaycreateJmixTablePopup(boolean autoClose) protected static com.vaadin.client.ui.VOverlaystatic com.google.gwt.dom.client.ElementfindCurrentOrParentTd(com.google.gwt.dom.client.Element target) static com.google.gwt.user.client.ui.WidgetfindNextWidget(com.google.gwt.user.client.ui.FlowPanel layout, int widgetIndex) static com.google.gwt.user.client.ui.WidgetfindPrevWidget(com.google.gwt.user.client.ui.FlowPanel layout, int widgetIndex) static voidfocusSelectedItem(com.google.gwt.user.client.ui.Widget parentWidget, com.google.gwt.user.client.ui.Widget target) static booleanisAnyModifierKeyPressed(com.google.gwt.user.client.Event event) static booleanisLayoutChild(com.vaadin.client.ui.orderedlayout.VAbstractOrderedLayout layout, com.google.gwt.user.client.ui.Widget child) static booleanisSuitableWidget(com.google.gwt.user.client.ui.Widget slotWidget) static booleanstatic voidreplaceClassNames(com.google.gwt.dom.client.Element element, String from, String to) static voidresetItemSelection(com.google.gwt.user.client.ui.Widget popup) static voidshowPopup(com.vaadin.client.ui.VOverlay overlay, int left, int top) static voidtextSelectionEnable(com.google.gwt.dom.client.Element el, boolean b)
-
Field Details
-
SELECTED_ITEM_STYLE
- See Also:
-
CONTEXT_MENU_CONTAINER_CLASSNAME
- See Also:
-
-
Constructor Details
-
Tools
public Tools()
-
-
Method Details
-
textSelectionEnable
public static void textSelectionEnable(com.google.gwt.dom.client.Element el, boolean b) -
replaceClassNames
-
createJmixTablePopup
public static com.vaadin.client.ui.VOverlay createJmixTablePopup(boolean autoClose) -
createJmixTableContextMenu
public static com.vaadin.client.ui.VOverlay createJmixTableContextMenu() -
createTableContextMenu
protected static com.vaadin.client.ui.VOverlay createTableContextMenu() -
isLayoutChild
public static boolean isLayoutChild(com.vaadin.client.ui.orderedlayout.VAbstractOrderedLayout layout, com.google.gwt.user.client.ui.Widget child) -
focusSelectedItem
public static void focusSelectedItem(com.google.gwt.user.client.ui.Widget parentWidget, com.google.gwt.user.client.ui.Widget target) -
resetItemSelection
public static void resetItemSelection(com.google.gwt.user.client.ui.Widget popup) -
showPopup
public static void showPopup(com.vaadin.client.ui.VOverlay overlay, int left, int top) -
isAnyModifierKeyPressed
public static boolean isAnyModifierKeyPressed(com.google.gwt.user.client.Event event) -
findCurrentOrParentTd
public static com.google.gwt.dom.client.Element findCurrentOrParentTd(com.google.gwt.dom.client.Element target) -
findPrevWidget
public static com.google.gwt.user.client.ui.Widget findPrevWidget(com.google.gwt.user.client.ui.FlowPanel layout, int widgetIndex) -
findNextWidget
public static com.google.gwt.user.client.ui.Widget findNextWidget(com.google.gwt.user.client.ui.FlowPanel layout, int widgetIndex) -
isSuitableWidget
public static boolean isSuitableWidget(com.google.gwt.user.client.ui.Widget slotWidget) -
isUseSimpleMultiselectForTouchDevice
public static boolean isUseSimpleMultiselectForTouchDevice()
-