All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.imunity.console.views.maintenance.audit_log.EntityDetailsDialog Maven / Gradle / Ivy

There is a newer version: 4.0.3
Show newest version
/*
 * Copyright (c) 2021 Bixbit - Krzysztof Benedyczak. All rights reserved.
 * See LICENCE.txt file for licensing information.
 */

package io.imunity.console.views.maintenance.audit_log;

import com.vaadin.flow.component.Component;
import com.vaadin.flow.component.button.Button;
import com.vaadin.flow.component.button.ButtonVariant;
import com.vaadin.flow.component.dialog.Dialog;

class EntityDetailsDialog extends Dialog
{
	EntityDetailsDialog(Component component, String buttonName)
	{
		add(component);
		Button button = new Button(buttonName, e -> close());
		button.addThemeVariants(ButtonVariant.LUMO_PRIMARY);
		getFooter().add(button);
		setWidth("50em");
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy