com.vaadin.v7.ui.themes.BaseTheme Maven / Gradle / Ivy
Show all versions of vaadin-compatibility-server Show documentation
/*
* 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.v7.ui.themes;
import com.vaadin.ui.themes.ValoTheme;
/**
*
* The Base theme is the foundation for all Vaadin themes. Although it is not
* necessary to use it as the starting point for all other themes, it is heavily
* encouraged, since it abstracts and hides away many necessary style properties
* that the Vaadin terminal expects and needs.
*
*
* When creating your own theme, either extend this class and specify the styles
* implemented in your theme here, or extend some other theme that has a class
* file specified (e.g. Reindeer or Runo).
*
*
* All theme class files should follow the convention of specifying the theme
* name as a string constant THEME_NAME
.
*
* @since 6.3.0
* @deprecated As of 8.0, no replacement available, only {@link ValoTheme} is supported.
*/
@Deprecated
public class BaseTheme {
public static final String THEME_NAME = "base";
/**
* Creates a button that looks like a regular hypertext link but still acts
* like a normal button.
*/
public static final String BUTTON_LINK = "link";
/**
* Adds the connector lines between a parent node and its child nodes to
* indicate the tree hierarchy better.
*/
public static final String TREE_CONNECTORS = "connectors";
/**
* Clips the component so it will be constrained to its given size and not
* overflow.
*/
public static final String CLIP = "v-clip";
}