Class GridLayoutItem<T>

java.lang.Object
com.vaadin.flow.component.Component
io.jmix.flowui.kit.component.gridlayout.GridLayoutItem<T>
Type Parameters:
T - type of the item represented by this component
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasComponents, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasStyle, com.vaadin.flow.data.binder.HasItemComponents.ItemComponent<T>, Serializable

@Tag("jmix-grid-layout-item") @JsModule("./src/grid-layout/jmix-grid-layout-item.js") public class GridLayoutItem<T> extends com.vaadin.flow.component.Component implements com.vaadin.flow.data.binder.HasItemComponents.ItemComponent<T>, com.vaadin.flow.component.HasComponents
Server-side component for the grid-layout-item element, used to represent individual items in a JmixGridLayout.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final T
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs the component with the given item renderer as a String.
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class com.vaadin.flow.component.Component

    addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisible

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.flow.component.AttachNotifier

    addAttachListener

    Methods inherited from interface com.vaadin.flow.component.DetachNotifier

    addDetachListener

    Methods inherited from interface com.vaadin.flow.component.HasComponents

    add, add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAll

    Methods inherited from interface com.vaadin.flow.component.HasElement

    getElement

    Methods inherited from interface com.vaadin.flow.component.HasEnabled

    isEnabled, setEnabled

    Methods inherited from interface com.vaadin.flow.component.HasStyle

    addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
  • Field Details

    • item

      protected final T item
  • Constructor Details

    • GridLayoutItem

      public GridLayoutItem(T item)
      Constructs the component with the given item renderer as a String.
      Parameters:
      item - the item to be displayed by this component
  • Method Details

    • getItem

      public T getItem()
      Specified by:
      getItem in interface com.vaadin.flow.data.binder.HasItemComponents.ItemComponent<T>