Class JmixResponsiveGridLayoutWidget
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
io.jmix.ui.widget.client.responsivegridlayout.JmixResponsiveGridLayoutWidget
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.HasWidgets
,com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
,com.google.gwt.user.client.ui.IndexedPanel
,com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
,com.google.gwt.user.client.ui.IsWidget
,Iterable<com.google.gwt.user.client.ui.Widget>
public class JmixResponsiveGridLayoutWidget
extends com.google.gwt.user.client.ui.ComplexPanel
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel
com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
-
Field Summary
Modifier and TypeFieldDescriptionprotected Map<com.google.gwt.user.client.ui.Widget,
JmixResponsiveGridLayoutCaptionWrapper> static final String
com.vaadin.client.ApplicationConnection
protected static final String
protected static final String
protected static final String
protected static final String
protected boolean
protected static final String
protected static final String
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
assignJTestId
(com.google.gwt.dom.client.Element element, com.google.gwt.json.client.JSONObject obj) void
clear()
void
generateLayout
(com.google.gwt.json.client.JSONObject confObject) getLocation
(com.google.gwt.user.client.ui.Widget widget) protected boolean
isCaptionNeeded
(com.vaadin.client.ComponentConnector child) boolean
boolean
remove
(com.google.gwt.user.client.ui.Widget widget) protected void
setupColElement
(com.google.gwt.dom.client.Element colElement, com.google.gwt.json.client.JSONObject colObject) protected void
setupRowElement
(com.google.gwt.dom.client.Element rowElement, com.google.gwt.json.client.JSONObject rowObject) void
void
updateCaption
(com.vaadin.client.ComponentConnector childConnector) Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, add, adopt, doAttachChildren, doDetachChildren, orphan, remove
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
CLASSNAME
- See Also:
-
ROWS_PROPERTY
- See Also:
-
COLS_PROPERTY
- See Also:
-
STYLE_PROPERTY
- See Also:
-
HEIGHT_PROPERTY
- See Also:
-
COLUMN_ID_PROPERTY
- See Also:
-
JTEST_ID_PROPERTY
- See Also:
-
locationToElement
-
locationToWidget
-
childWidgetToCaptionWrapper
protected Map<com.google.gwt.user.client.ui.Widget,JmixResponsiveGridLayoutCaptionWrapper> childWidgetToCaptionWrapper -
client
public com.vaadin.client.ApplicationConnection client -
layoutInitialized
protected boolean layoutInitialized
-
-
Constructor Details
-
JmixResponsiveGridLayoutWidget
public JmixResponsiveGridLayoutWidget()
-
-
Method Details
-
setWidget
-
remove
public boolean remove(com.google.gwt.user.client.ui.Widget widget) - Specified by:
remove
in interfacecom.google.gwt.user.client.ui.HasWidgets
- Overrides:
remove
in classcom.google.gwt.user.client.ui.ComplexPanel
-
getLocation
-
clear
public void clear()- Specified by:
clear
in interfacecom.google.gwt.user.client.ui.HasWidgets
- Overrides:
clear
in classcom.google.gwt.user.client.ui.Panel
-
isLayoutInitialized
public boolean isLayoutInitialized() -
generateLayout
public void generateLayout(com.google.gwt.json.client.JSONObject confObject) -
setupRowElement
protected void setupRowElement(com.google.gwt.dom.client.Element rowElement, com.google.gwt.json.client.JSONObject rowObject) -
setupColElement
protected void setupColElement(com.google.gwt.dom.client.Element colElement, com.google.gwt.json.client.JSONObject colObject) -
assignJTestId
protected void assignJTestId(com.google.gwt.dom.client.Element element, com.google.gwt.json.client.JSONObject obj) -
updateCaption
public void updateCaption(com.vaadin.client.ComponentConnector childConnector) -
isCaptionNeeded
protected boolean isCaptionNeeded(com.vaadin.client.ComponentConnector child)
-