io.github.jikuja.vaadin_yamapa.ui.views.About.java Source code

Java tutorial

Introduction

Here is the source code for io.github.jikuja.vaadin_yamapa.ui.views.About.java

Source

package io.github.jikuja.vaadin_yamapa.ui.views;

import com.vaadin.navigator.View;
import com.vaadin.navigator.ViewChangeListener;
import com.vaadin.ui.CssLayout;
import com.vaadin.ui.Label;
import org.vaadin.viritin.label.RichText;

public class About extends CssLayout implements View {
    public static final String NAME = "about";

    public About() {
        Label licenses = new RichText().withSafeHtmlResource("/licenses.html");
        Label about = new RichText().withMarkDownResource("/ABOUT.md");
        addComponents(about, licenses);
    }

    @Override
    public void enter(ViewChangeListener.ViewChangeEvent event) {

    }

}