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.

Reindeer.java 7.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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.CssLayout;
  18. import com.vaadin.ui.FormLayout;
  19. import com.vaadin.ui.HorizontalLayout;
  20. import com.vaadin.ui.HorizontalSplitPanel;
  21. import com.vaadin.ui.VerticalLayout;
  22. import com.vaadin.ui.VerticalSplitPanel;
  23. @Deprecated
  24. public class Reindeer extends BaseTheme {
  25. public static final String THEME_NAME = "reindeer";
  26. /***************************************************************************
  27. *
  28. * Label styles
  29. *
  30. **************************************************************************/
  31. /**
  32. * Large font for main application headings
  33. */
  34. public static final String LABEL_H1 = "h1";
  35. /**
  36. * Large font for different sections in the application
  37. */
  38. public static final String LABEL_H2 = "h2";
  39. /**
  40. * Small and a little lighter font
  41. */
  42. public static final String LABEL_SMALL = "light";
  43. /***************************************************************************
  44. *
  45. * Button styles
  46. *
  47. **************************************************************************/
  48. /**
  49. * Default action style for buttons (the button that should get activated
  50. * when the user presses 'enter' in a form). Use sparingly, only one default
  51. * button per view should be visible.
  52. */
  53. public static final String BUTTON_DEFAULT = "primary";
  54. /**
  55. * Small sized button, use for context specific actions for example
  56. */
  57. public static final String BUTTON_SMALL = "small";
  58. /***************************************************************************
  59. *
  60. * TextField styles
  61. *
  62. **************************************************************************/
  63. /**
  64. * Small sized text field with small font
  65. */
  66. public static final String TEXTFIELD_SMALL = "small";
  67. /***************************************************************************
  68. *
  69. * Panel styles
  70. *
  71. **************************************************************************/
  72. /**
  73. * Removes borders and background color from the panel
  74. */
  75. public static final String PANEL_LIGHT = "light";
  76. /***************************************************************************
  77. *
  78. * ProgressBar Styles
  79. *
  80. **************************************************************************/
  81. /**
  82. * Displays the progress bar with a static background, instead of an
  83. * animated one.
  84. */
  85. public static final String PROGRESSBAR_STATIC = "static";
  86. /***************************************************************************
  87. *
  88. * SplitPanel styles
  89. *
  90. **************************************************************************/
  91. /**
  92. * Reduces the split handle to a minimal size (1 pixel)
  93. */
  94. public static final String SPLITPANEL_SMALL = "small";
  95. /***************************************************************************
  96. *
  97. * TabSheet styles
  98. *
  99. **************************************************************************/
  100. /**
  101. * Removes borders from the default tab sheet style.
  102. */
  103. public static final String TABSHEET_BORDERLESS = "borderless";
  104. /**
  105. * Removes borders and background color from the tab sheet, and shows the
  106. * tabs as a small bar.
  107. */
  108. public static final String TABSHEET_SMALL = "bar";
  109. /**
  110. * Removes borders and background color from the tab sheet. The tabs are
  111. * presented with minimal lines indicating the selected tab.
  112. */
  113. public static final String TABSHEET_MINIMAL = "minimal";
  114. /**
  115. * Makes the tab close buttons visible only when the user is hovering over
  116. * the tab.
  117. */
  118. public static final String TABSHEET_HOVER_CLOSABLE = "hover-closable";
  119. /**
  120. * Makes the tab close buttons visible only when the tab is selected.
  121. */
  122. public static final String TABSHEET_SELECTED_CLOSABLE = "selected-closable";
  123. /***************************************************************************
  124. *
  125. * Table styles
  126. *
  127. **************************************************************************/
  128. /**
  129. * Removes borders from the table
  130. */
  131. public static final String TABLE_BORDERLESS = "borderless";
  132. /**
  133. * Makes the table headers dark and more prominent.
  134. */
  135. public static final String TABLE_STRONG = "strong";
  136. /***************************************************************************
  137. *
  138. * Layout styles
  139. *
  140. **************************************************************************/
  141. /**
  142. * Changes the background of a layout to white. Applies to
  143. * {@link VerticalLayout}, {@link HorizontalLayout}, {@link GridLayout},
  144. * {@link FormLayout}, {@link CssLayout}, {@link VerticalSplitPanel} and
  145. * {@link HorizontalSplitPanel}.
  146. * <p>
  147. * <em>Does not revert any contained components back to normal if some
  148. * parent layout has style {@link #LAYOUT_BLACK} applied.</em>
  149. */
  150. public static final String LAYOUT_WHITE = "white";
  151. /**
  152. * Changes the background of a layout to a shade of blue. Applies to
  153. * {@link VerticalLayout}, {@link HorizontalLayout}, {@link GridLayout},
  154. * {@link FormLayout}, {@link CssLayout}, {@link VerticalSplitPanel} and
  155. * {@link HorizontalSplitPanel}.
  156. * <p>
  157. * <em>Does not revert any contained components back to normal if some
  158. * parent layout has style {@link #LAYOUT_BLACK} applied.</em>
  159. */
  160. public static final String LAYOUT_BLUE = "blue";
  161. /**
  162. * <p>
  163. * Changes the background of a layout to almost black, and at the same time
  164. * transforms contained components to their black style correspondents when
  165. * available. At least texts, buttons, text fields, selects, date fields,
  166. * tables and a few other component styles should change.
  167. * </p>
  168. * <p>
  169. * Applies to {@link VerticalLayout}, {@link HorizontalLayout},
  170. * {@link GridLayout}, {@link FormLayout} and {@link CssLayout}.
  171. * </p>
  172. *
  173. */
  174. public static final String LAYOUT_BLACK = "black";
  175. /***************************************************************************
  176. *
  177. * Window styles
  178. *
  179. **************************************************************************/
  180. /**
  181. * Makes the whole window white and increases the font size of the title.
  182. */
  183. public static final String WINDOW_LIGHT = "light";
  184. /**
  185. * Makes the whole window black, and changes contained components in the
  186. * same way as {@link #LAYOUT_BLACK} does.
  187. */
  188. public static final String WINDOW_BLACK = "black";
  189. }