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.DebugIdImplEnabledNested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidgetNested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel
com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<com.google.gwt.user.client.ui.Widget,JmixResponsiveGridLayoutCaptionWrapper> static final Stringcom.vaadin.client.ApplicationConnectionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected booleanprotected static final Stringprotected static final StringFields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidassignJTestId(com.google.gwt.dom.client.Element element, com.google.gwt.json.client.JSONObject obj) voidclear()voidgenerateLayout(com.google.gwt.json.client.JSONObject confObject) getLocation(com.google.gwt.user.client.ui.Widget widget) protected booleanisCaptionNeeded(com.vaadin.client.ComponentConnector child) booleanbooleanremove(com.google.gwt.user.client.ui.Widget widget) protected voidsetupColElement(com.google.gwt.dom.client.Element colElement, com.google.gwt.json.client.JSONObject colObject) protected voidsetupRowElement(com.google.gwt.dom.client.Element rowElement, com.google.gwt.json.client.JSONObject rowObject) voidvoidupdateCaption(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, removeMethods inherited from class com.google.gwt.user.client.ui.Panel
add, add, adopt, doAttachChildren, doDetachChildren, orphan, removeMethods 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, unsinkEventsMethods 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
removein interfacecom.google.gwt.user.client.ui.HasWidgets- Overrides:
removein classcom.google.gwt.user.client.ui.ComplexPanel
-
getLocation
-
clear
public void clear()- Specified by:
clearin interfacecom.google.gwt.user.client.ui.HasWidgets- Overrides:
clearin 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)
-