Package io.jmix.ui.widget.client
Class Tools
java.lang.Object
io.jmix.ui.widget.client.Tools
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.vaadin.client.ui.VOverlay
static com.vaadin.client.ui.VOverlay
createJmixTablePopup
(boolean autoClose) protected static com.vaadin.client.ui.VOverlay
static com.google.gwt.dom.client.Element
findCurrentOrParentTd
(com.google.gwt.dom.client.Element target) static com.google.gwt.user.client.ui.Widget
findNextWidget
(com.google.gwt.user.client.ui.FlowPanel layout, int widgetIndex) static com.google.gwt.user.client.ui.Widget
findPrevWidget
(com.google.gwt.user.client.ui.FlowPanel layout, int widgetIndex) static void
focusSelectedItem
(com.google.gwt.user.client.ui.Widget parentWidget, com.google.gwt.user.client.ui.Widget target) static boolean
isAnyModifierKeyPressed
(com.google.gwt.user.client.Event event) static boolean
isLayoutChild
(com.vaadin.client.ui.orderedlayout.VAbstractOrderedLayout layout, com.google.gwt.user.client.ui.Widget child) static boolean
isSuitableWidget
(com.google.gwt.user.client.ui.Widget slotWidget) static boolean
static void
replaceClassNames
(com.google.gwt.dom.client.Element element, String from, String to) static void
resetItemSelection
(com.google.gwt.user.client.ui.Widget popup) static void
showPopup
(com.vaadin.client.ui.VOverlay overlay, int left, int top) static void
textSelectionEnable
(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()
-