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

com.vaadin.annotations.Title Maven / Gradle / Ivy

There is a newer version: 8.27.3
Show newest version
/*
 * Copyright (C) 2000-2024 Vaadin Ltd
 *
 * This program is available under Vaadin Commercial License and Service Terms.
 *
 * See  for the full
 * license.
 */

package com.vaadin.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.vaadin.ui.UI;

/**
 * Defines the HTML page title for a {@link UI}.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
public @interface Title {
    /**
     * Gets the HTML title that should be used if the UI is used on it's own.
     *
     * @return a page title string
     */
    public String value();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy