
io.imunity.vaadin.auth.services.layout.ui.components.ExpandColumnComponent Maven / Gradle / Ivy
/*
* Copyright (c) 2021 Bixbit - Krzysztof Benedyczak. All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package io.imunity.vaadin.auth.services.layout.ui.components;
import java.util.function.Consumer;
import com.vaadin.flow.component.icon.VaadinIcon;
import io.imunity.vaadin.auth.services.layout.configuration.elements.AuthnElementConfiguration;
import io.imunity.vaadin.auth.services.layout.configuration.elements.ExpandConfig;
import io.imunity.vaadin.auth.services.layout.ui.ColumnComponent;
import io.imunity.vaadin.auth.services.layout.ui.ColumnComponentBase;
import pl.edu.icm.unity.base.message.MessageSource;
/**
*
* @author P.Piernik
*
*/
public class ExpandColumnComponent extends ColumnComponentBase
{
public ExpandColumnComponent(MessageSource msg, Consumer removeElementListener,
Runnable dragStart, Runnable dragStop)
{
super(msg, msg.getMessage("AuthnColumnLayoutElement.expand"), VaadinIcon.EXPAND,
dragStart, dragStop, removeElementListener);
}
@Override
public void setConfigState(AuthnElementConfiguration state)
{
}
@Override
public AuthnElementConfiguration getConfigState()
{
return new ExpandConfig();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy