Class ModelPreviewRows
java.lang.Object
io.jmix.dynmodelaiflowui.view.model.ModelPreviewRows
Read-only rows shared by saved snapshots and the current editor preview.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.component.html.SpanattributeRow(DraftPreview.Attribute attribute) static StringattributeType(MessageBundle messageBundle, String type) static com.vaadin.flow.component.html.SpancountBadge(int count) displayName(String caption, @Nullable String name) static com.vaadin.flow.component.html.DivemptyState(String caption) com.vaadin.flow.component.html.SpanentityRow(DraftPreview preview) com.vaadin.flow.component.html.SpanmenuRow(DraftPreview.View view, String parentCaption, String position) com.vaadin.flow.component.html.SpansectionRow(String section) static voidtranslationsTooltip(com.vaadin.flow.component.Component target, String name, @Nullable Map<String, String> translations) Shows the technical name and the caption in every language on hover; one text for all languages is the visible caption and is not repeated.com.vaadin.flow.component.html.SpanviewRow(DraftPreview.View view)
-
Constructor Details
-
ModelPreviewRows
-
-
Method Details
-
countBadge
public static com.vaadin.flow.component.html.Span countBadge(int count) -
emptyState
-
entityRow
-
sectionRow
-
attributeRow
-
translationsTooltip
public static void translationsTooltip(com.vaadin.flow.component.Component target, String name, @Nullable Map<String, String> translations) Shows the technical name and the caption in every language on hover; one text for all languages is the visible caption and is not repeated. -
attributeType
-
viewRow
-
displayName
-