org.bklab.flow.components.navigation.tab.NaviTab Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fluent-vaadin-flow Show documentation
Show all versions of fluent-vaadin-flow Show documentation
Broderick Labs for fluent vaadin flow. Inherits common Vaadin components.
/*
* Copyright (c) 2008 - 2020. - Broderick Labs.
* Author: Broderick Johansson
* E-mail: [email protected]
* Modify date:2020-07-02 09:33:44
* _____________________________
* Project name: fluent-vaadin-flow
* Class name:org.bklab.flow.components.navigation.tab.NaviTab
* Copyright (c) 2008 - 2020. - Broderick Labs.
*/
package org.bklab.flow.components.navigation.tab;
import com.vaadin.flow.component.Component;
import com.vaadin.flow.component.tabs.Tab;
import java.util.Objects;
public class NaviTab extends Tab {
private Class extends Component> navigationTarget;
public NaviTab(String label, Class extends Component> navigationTarget) {
super(label);
setNavigationTarget(navigationTarget);
}
public Class extends Component> getNavigationTarget() {
return navigationTarget;
}
public void setNavigationTarget(
Class extends Component> navigationTarget) {
this.navigationTarget = Objects.requireNonNull(navigationTarget);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy