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 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. /**
  18. * <p>
  19. * The Base theme is the foundation for all Vaadin themes. Although it is not
  20. * necessary to use it as the starting point for all other themes, it is heavily
  21. * encouraged, since it abstracts and hides away many necessary style properties
  22. * that the Vaadin terminal expects and needs.
  23. * </p>
  24. * <p>
  25. * When creating your own theme, either extend this class and specify the styles
  26. * implemented in your theme here, or extend some other theme that has a class
  27. * file specified (e.g. Reindeer or Runo).
  28. * </p>
  29. * <p>
  30. * All theme class files should follow the convention of specifying the theme
  31. * name as a string constant <code>THEME_NAME</code>.
  32. *
  33. * @since 6.3.0
  34. *
  35. */
  36. @Deprecated
  37. public class BaseTheme {
  38. public static final String THEME_NAME = "base";
  39. /**
  40. * Creates a button that looks like a regular hypertext link but still acts
  41. * like a normal button.
  42. */
  43. public static final String BUTTON_LINK = "link";
  44. /**
  45. * Adds the connector lines between a parent node and its child nodes to
  46. * indicate the tree hierarchy better.
  47. */
  48. public static final String TREE_CONNECTORS = "connectors";
  49. /**
  50. * Clips the component so it will be constrained to its given size and not
  51. * overflow.
  52. */
  53. public static final String CLIP = "v-clip";
  54. }