io.imunity.console.components.InfoBanner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unity-server-console Show documentation
Show all versions of unity-server-console Show documentation
Task oriented web based administration UI
/*
* Copyright (c) 2021 Bixbit - Krzysztof Benedyczak. All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package io.imunity.console.components;
import com.vaadin.flow.component.html.H4;
import com.vaadin.flow.component.orderedlayout.FlexComponent;
import com.vaadin.flow.component.orderedlayout.VerticalLayout;
import java.util.function.Function;
public class InfoBanner extends VerticalLayout
{
public InfoBanner(Function msg)
{
add(new H4(msg.apply("ViewWithSubViewBase.unsavedEdits")));
setWidthFull();
setAlignItems(FlexComponent.Alignment.CENTER);
addClassName("u-unsaved-banner");
setVisible(false);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy