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

io.imunity.console.views.authentication.input_profiles.wizard.IntroStep 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.authentication.input_profiles.wizard;

import com.vaadin.flow.component.html.Span;

import io.imunity.vaadin.elements.wizard.WizardStep;
import pl.edu.icm.unity.base.message.MessageSource;

class IntroStep extends WizardStep
{
	IntroStep(MessageSource msg)
	{
		super(msg.getMessage("Wizard.IntroStep.caption"), getContent(msg.getMessage("Wizard.IntroStepComponent.introLabel")));
	}

	@Override
	protected void initialize()
	{
		stepComplited();
		refreshWizard();
	}
	private static Span getContent(String title)
	{
		Span span = new Span();
		span.getElement().setProperty("innerHTML", title);
		return span;
		
	}

}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy