public class Tools
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Tools.TableOverlay |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONTEXT_MENU_CONTAINER_CLASSNAME |
static java.lang.String |
SELECTED_ITEM_STYLE |
Constructor and Description |
---|
Tools() |
Modifier and Type | Method and Description |
---|---|
static com.vaadin.client.ui.VOverlay |
createJmixTableContextMenu() |
static com.vaadin.client.ui.VOverlay |
createJmixTablePopup(boolean autoClose) |
protected static com.vaadin.client.ui.VOverlay |
createTableContextMenu() |
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 |
isUseSimpleMultiselectForTouchDevice() |
static void |
replaceClassNames(com.google.gwt.dom.client.Element element,
java.lang.String from,
java.lang.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) |
public static final java.lang.String SELECTED_ITEM_STYLE
public static final java.lang.String CONTEXT_MENU_CONTAINER_CLASSNAME
public static void textSelectionEnable(com.google.gwt.dom.client.Element el, boolean b)
public static void replaceClassNames(com.google.gwt.dom.client.Element element, java.lang.String from, java.lang.String to)
public static com.vaadin.client.ui.VOverlay createJmixTablePopup(boolean autoClose)
public static com.vaadin.client.ui.VOverlay createJmixTableContextMenu()
protected static com.vaadin.client.ui.VOverlay createTableContextMenu()
public static boolean isLayoutChild(com.vaadin.client.ui.orderedlayout.VAbstractOrderedLayout layout, com.google.gwt.user.client.ui.Widget child)
public static void focusSelectedItem(com.google.gwt.user.client.ui.Widget parentWidget, com.google.gwt.user.client.ui.Widget target)
public static void resetItemSelection(com.google.gwt.user.client.ui.Widget popup)
public static void showPopup(com.vaadin.client.ui.VOverlay overlay, int left, int top)
public static boolean isAnyModifierKeyPressed(com.google.gwt.user.client.Event event)
public static com.google.gwt.dom.client.Element findCurrentOrParentTd(com.google.gwt.dom.client.Element target)
public static com.google.gwt.user.client.ui.Widget findPrevWidget(com.google.gwt.user.client.ui.FlowPanel layout, int widgetIndex)
public static com.google.gwt.user.client.ui.Widget findNextWidget(com.google.gwt.user.client.ui.FlowPanel layout, int widgetIndex)
public static boolean isSuitableWidget(com.google.gwt.user.client.ui.Widget slotWidget)
public static boolean isUseSimpleMultiselectForTouchDevice()