You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BaseTheme.java 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /*
  2. * Copyright 2000-2016 Vaadin Ltd.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  5. * use this file except in compliance with the License. You may obtain a copy of
  6. * the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  12. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  13. * License for the specific language governing permissions and limitations under
  14. * the License.
  15. */
  16. package com.vaadin.v7.ui.themes;
  17. import com.vaadin.ui.themes.ValoTheme;
  18. /**
  19. * <p>
  20. * The Base theme is the foundation for all Vaadin themes. Although it is not
  21. * necessary to use it as the starting point for all other themes, it is heavily
  22. * encouraged, since it abstracts and hides away many necessary style properties
  23. * that the Vaadin terminal expects and needs.
  24. * </p>
  25. * <p>
  26. * When creating your own theme, either extend this class and specify the styles
  27. * implemented in your theme here, or extend some other theme that has a class
  28. * file specified (e.g. Reindeer or Runo).
  29. * </p>
  30. * <p>
  31. * All theme class files should follow the convention of specifying the theme
  32. * name as a string constant <code>THEME_NAME</code>.
  33. *
  34. * @since 6.3.0
  35. * @deprecated As of 8.0, no replacement available, only {@link ValoTheme} is supported.
  36. */
  37. @Deprecated
  38. public class BaseTheme {
  39. public static final String THEME_NAME = "base";
  40. /**
  41. * Creates a button that looks like a regular hypertext link but still acts
  42. * like a normal button.
  43. */
  44. public static final String BUTTON_LINK = "link";
  45. /**
  46. * Adds the connector lines between a parent node and its child nodes to
  47. * indicate the tree hierarchy better.
  48. */
  49. public static final String TREE_CONNECTORS = "connectors";
  50. /**
  51. * Clips the component so it will be constrained to its given size and not
  52. * overflow.
  53. */
  54. public static final String CLIP = "v-clip";
  55. }