public class ViewFactoryUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ENCLOSING_PANEL_PREFIX |
| Constructor and Description |
|---|
ViewFactoryUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getEnclosingPanelId(String widgetId,
View view) |
static String |
getEnclosingPanelPrefix() |
static String |
getLazyPanelId(String wrappedWidgetId,
LazyPanelWrappingType wrappingType)
Return the id created to the panel that wraps the given widget id.
|
static String |
getWrappedWidgetIdFromLazyPanel(String lazyPanelId)
Return the id of the widget wrapped by the given lazy panel id.
|
static boolean |
isChildrenWidgetLazyWrapper(String wrappedWidgetId)
Check if the wrappedWidgetId is a valid lazy id generated for a
LazyPanelWrappingType.wrapChidren
lazy model |
static boolean |
isWholeWidgetLazyWrapper(String wrappedWidgetId)
Check if the wrappedWidgetId is a valid lazy id generated for a
LazyPanelWrappingType.wrapWholeWidget
lazy model |
static void |
updateWidgetElementId(String widgetId,
com.google.gwt.user.client.ui.IsWidget widget,
View view) |
static void |
updateWidgetElementId(String widgetId,
com.google.gwt.user.client.ui.Widget widget,
View view) |
public static final String ENCLOSING_PANEL_PREFIX
public static void updateWidgetElementId(String widgetId, com.google.gwt.user.client.ui.IsWidget widget, View view)
widgetId - widget - view - public static void updateWidgetElementId(String widgetId, com.google.gwt.user.client.ui.Widget widget, View view)
widgetId - widget - view - public static String getEnclosingPanelPrefix()
public static String getLazyPanelId(String wrappedWidgetId, LazyPanelWrappingType wrappingType)
wrappedWidgetId - wrappingType - public static String getWrappedWidgetIdFromLazyPanel(String lazyPanelId)
lazyPanelId - public static boolean isChildrenWidgetLazyWrapper(String wrappedWidgetId)
LazyPanelWrappingType.wrapChidren
lazy modelwrappedWidgetId - public static boolean isWholeWidgetLazyWrapper(String wrappedWidgetId)
LazyPanelWrappingType.wrapWholeWidget
lazy modelwrappedWidgetId - Copyright © 2015. All rights reserved.