Class IconNameCellGrid

  • All Implemented Interfaces:
    com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.orderedlayout.HorizontalLayout>, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasComponents, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasOrderedComponents<com.vaadin.flow.component.orderedlayout.HorizontalLayout>, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.orderedlayout.FlexComponent<com.vaadin.flow.component.orderedlayout.HorizontalLayout>, com.vaadin.flow.component.orderedlayout.ThemableLayout, Serializable

    public class IconNameCellGrid
    extends com.vaadin.flow.component.orderedlayout.HorizontalLayout
    Represents a cell in a Grid that contains an icon and a label to show a businessObjectLigth or a ClassMetadata.
    Author:
    Adrian Martinez Molina <adrian.martinez@kuwaiba.org>
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.vaadin.flow.component.orderedlayout.FlexComponent

        com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment, com.vaadin.flow.component.orderedlayout.FlexComponent.JustifyContentMode
    • Constructor Summary

      Constructors 
      Constructor Description
      IconNameCellGrid​(com.vaadin.flow.component.Component cmpName, String className, IconGenerator iconGenerator)
      Constructor
      IconNameCellGrid​(String displayName, String className, IconGenerator iconGenerator)
      This constructor is used when this renderer represents entities that are not inventory objects, such as relationship name nodes in the Relationship Explorer.
    • Method Summary

      • Methods inherited from class com.vaadin.flow.component.orderedlayout.HorizontalLayout

        addAndExpand, getAlignItems, getAlignSelf, getDefaultVerticalComponentAlignment, getVerticalComponentAlignment, setAlignItems, setAlignSelf, setDefaultVerticalComponentAlignment, setSpacing, setVerticalComponentAlignment
      • Methods inherited from class com.vaadin.flow.component.Component

        addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
      • Methods inherited from interface com.vaadin.flow.component.AttachNotifier

        addAttachListener
      • Methods inherited from interface com.vaadin.flow.component.ClickNotifier

        addClickListener, addClickShortcut
      • Methods inherited from interface com.vaadin.flow.component.DetachNotifier

        addDetachListener
      • Methods inherited from interface com.vaadin.flow.component.orderedlayout.FlexComponent

        expand, getFlexGrow, getJustifyContentMode, replace, setFlexGrow, setJustifyContentMode
      • Methods inherited from interface com.vaadin.flow.component.HasComponents

        add, add, addComponentAsFirst, addComponentAtIndex, 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.HasOrderedComponents

        getChildren, getComponentAt, getComponentCount, indexOf
      • Methods inherited from interface com.vaadin.flow.component.HasSize

        getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
      • Methods inherited from interface com.vaadin.flow.component.HasStyle

        addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
      • Methods inherited from interface com.vaadin.flow.component.orderedlayout.ThemableLayout

        getBoxSizing, getThemeList, isMargin, isPadding, isSpacing, setBoxSizing, setMargin, setPadding
    • Constructor Detail

      • IconNameCellGrid

        public IconNameCellGrid​(String displayName,
                                String className,
                                IconGenerator iconGenerator)
        This constructor is used when this renderer represents entities that are not inventory objects, such as relationship name nodes in the Relationship Explorer.
        Parameters:
        displayName - The name to be displayed next to the icon.
        className - the object class name
        iconGenerator - an icon generator
      • IconNameCellGrid

        public IconNameCellGrid​(com.vaadin.flow.component.Component cmpName,
                                String className,
                                IconGenerator iconGenerator)
        Constructor
        Parameters:
        cmpName - a component that includes the object name, class name and it validators
        className - the object class name
        iconGenerator - an icon generator