001/* 002 * This library is part of OpenCms - 003 * the Open Source Content Management System 004 * 005 * Copyright (C) Alkacon Software (http://www.alkacon.com) 006 * 007 * This library is free software; you can redistribute it and/or 008 * modify it under the terms of the GNU Lesser General Public 009 * License as published by the Free Software Foundation; either 010 * version 2.1 of the License, or (at your option) any later version. 011 * 012 * This library is distributed in the hope that it will be useful, 013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 015 * Lesser General Public License for more details. 016 * 017 * For further information about Alkacon Software, please see the 018 * company website: http://www.alkacon.com 019 * 020 * For further information about OpenCms, please see the 021 * project website: http://www.opencms.org 022 * 023 * You should have received a copy of the GNU Lesser General Public 024 * License along with this library; if not, write to the Free Software 025 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 026 */ 027 028package org.opencms.acacia.client.css; 029 030import com.google.gwt.core.client.GWT; 031import com.google.gwt.resources.client.CssResource; 032import com.google.gwt.resources.client.CssResource.ImportedWithPrefix; 033import com.google.gwt.resources.client.CssResource.Shared; 034 035/** 036 * Bundle for CSS resources.<p> 037 */ 038public interface I_CmsLayoutBundle extends org.opencms.gwt.client.ui.css.I_CmsLayoutBundle { 039 040 /** The attribute choice widget CSS. */ 041 interface I_AttributeChoice extends I_ButtonBar { 042 043 /** 044 * Returns the attribute choice CSS class.<p> 045 * 046 * @return the attribute CSS class 047 */ 048 String attributeChoice(); 049 050 /** 051 * Returns the bridging div CSS class.<p> 052 * 053 * @return the bridge CSS class 054 */ 055 String bridge(); 056 057 /** 058 * Returns the button icon CSS class name.<p> 059 * 060 * @return the button icon CSS class 061 */ 062 String buttonIcon(); 063 064 /** 065 * Returns the choice CSS class name.<p> 066 * 067 * @return the choice CSS class 068 */ 069 String choice(); 070 071 /** 072 * Returns the choices CSS class name.<p> 073 * 074 * @return the choices CSS class 075 */ 076 String choices(); 077 078 /** 079 * Returns the display above CSS class name.<p> 080 * 081 * @return the display above CSS class 082 */ 083 String displayAbove(); 084 085 /** 086 * Returns the choices frame CSS class name.<p> 087 * 088 * @return the choices frame CSS class 089 */ 090 String frame(); 091 092 /** 093 * Returns the hovering CSS class name.<p> 094 * 095 * @return the hovering CSS class 096 */ 097 String hovering(); 098 099 /** 100 * Returns the shadow CSS class name.<p> 101 * 102 * @return the shadow CSS class 103 */ 104 String shadow(); 105 106 /** 107 * Returns the shadow bottom CSS class name.<p> 108 * 109 * @return the shadow bottom CSS class 110 */ 111 String shadowBottom(); 112 113 /** 114 * Returns the singleChoice CSS class name.<p> 115 * 116 * @return the singleChoice CSS class 117 */ 118 String singleChoice(); 119 120 /** 121 * Returns the submenu CSS class name.<p> 122 * 123 * @return the submenu CSS class name 124 */ 125 String submenu(); 126 } 127 128 /** The button bar CSS. */ 129 @Shared 130 interface I_ButtonBar extends CssResource { 131 132 /** 133 * Returns the button CSS class name.<p> 134 * 135 * @return the button CSS class 136 */ 137 String button(); 138 139 /** 140 * Returns the button bar CSS class name.<p> 141 * 142 * @return the button bar CSS class 143 */ 144 String buttonBar(); 145 146 /** 147 * Returns the CSS class which is set when the user is hovering over a button of the button bar.<p> 148 * 149 * @return a CSS class 150 */ 151 String hoverButton(); 152 153 /** 154 * Returns the multi button bar CSS class name.<p> 155 * 156 * @return the multi button bar CSS class 157 */ 158 String multiButtonBar(); 159 } 160 161 /** The style CSS resource. */ 162 @Shared 163 @ImportedWithPrefix("acaciaForm") 164 interface I_Style extends I_CmsDragCss, I_Widgets, I_ButtonBar { 165 166 /** 167 * Returns the attribute CSS class name.<p> 168 * 169 * @return the attribute CSS class 170 */ 171 String attribute(); 172 173 /** 174 * Returns the closed bubble CSS class name.<p> 175 * 176 * @return the closed bubble CSS class 177 */ 178 String closedBubble(); 179 180 /** 181 * Returns the CSS class for collapsed attribute value views.<p> 182 * 183 * @return a CSS class 184 */ 185 String collapsed(); 186 187 /** 188 * Returns the display bubble above CSS class name.<p> 189 * 190 * @return the display bubble above CSS class 191 */ 192 String displayAbove(); 193 194 /** 195 * Returns the attribute CSS class name.<p> 196 * 197 * @return the attribute CSS class 198 */ 199 String dragElement(); 200 201 /** 202 * Returns the drag overlay CSS class name.<p> 203 * 204 * @return the drag overlay CSS class 205 */ 206 String dragOverlay(); 207 208 /** 209 * Returns the focused CSS class name.<p> 210 * 211 * @return the focused CSS class 212 */ 213 String focused(); 214 215 /** 216 * Returns the form parent CSS class name.<p> 217 * 218 * @return the form parent CSS class 219 */ 220 String formParent(); 221 222 /** 223 * Returns the formTabTerminator CSS class name. 224 * 225 * @return the formTabTerminator class name 226 */ 227 String formTabTerminator(); 228 229 /** 230 * Returns the help bubble CSS class name.<p> 231 * 232 * @return the help bubble CSS class 233 */ 234 String helpBubble(); 235 236 /** 237 * Returns the help bubble arrow CSS class name.<p> 238 * 239 * @return the help bubble arrow CSS class 240 */ 241 String helpBubbleArrow(); 242 243 /** 244 * Returns the help bubble close CSS class name.<p> 245 * 246 * @return the help bubble close CSS class 247 */ 248 String helpBubbleClose(); 249 250 /** 251 * Returns the help message CSS class name.<p> 252 * 253 * @return the help message CSS class 254 */ 255 String helpMessage(); 256 257 /** 258 * Returns the help message icon CSS class name.<p> 259 * 260 * @return the help message icon CSS class 261 */ 262 String helpMessageIcon(); 263 264 /** 265 * Returns the hide help bubbles CSS class name.<p> 266 * 267 * @return the hide help bubbles CSS class 268 */ 269 String hideHelpBubbles(); 270 271 /** 272 * Returns the inline edit overlay CSS class name.<p> 273 * 274 * @return the inline edit overlay CSS class 275 */ 276 String inlineEditOverlay(); 277 278 /** 279 * Returns the input field CSS class name.<p> 280 * 281 * @return the input field CSS class name 282 */ 283 String input(); 284 285 /** 286 * Returns the CSS class assigned on label hover.<p> 287 * 288 * @return the CSS class assigned on label hover 289 */ 290 String labelHover(); 291 292 /** 293 * Returns the move handle CSS class name.<p> 294 * 295 * @return the move handle CSS class 296 */ 297 String moveHandle(); 298 299 /** 300 * Returns the overlay button bar CSS class name.<p> 301 * 302 * @return the overlay button bar CSS class name 303 */ 304 String overlayButtonBar(); 305 306 /** 307 * Returns the overlay button panel CSS class name.<p> 308 * 309 * @return the overlay button panel CSS class name 310 */ 311 String overlayButtonPanel(); 312 313 /** 314 * The second column width constant.<p> 315 * 316 * @return the second column width constant 317 */ 318 int SECOND_COLUMN_WIDTH(); 319 320 /** 321 * Returns the shallow widget CSS class name.<p> 322 * 323 * @return the shallow widget CSS class 324 */ 325 String shallowWidget(); 326 327 /** 328 * Returns the simple value CSS class name.<p> 329 * 330 * @return the simple value CSS class name 331 */ 332 String simpleValue(); 333 334 /** 335 * Returns the simple value CSS class name.<p> 336 * 337 * @return the simple value CSS class name 338 */ 339 String tabDescription(); 340 341 /** 342 * Returns the simple value CSS class name.<p> 343 * 344 * @return the simple value CSS class name 345 */ 346 String tabDescriptionPanel(); 347 348 /** 349 * Style name for uncollapsed attribute value views.<p> 350 * 351 * @return a style name 352 */ 353 String uncollapsed(); 354 } 355 356 /** The widget CSS classes. */ 357 @Shared 358 interface I_Widgets extends CssResource { 359 360 /** 361 * Returns the attribute value CSS class name.<p> 362 * 363 * @return the attribute value CSS class 364 */ 365 String attributeValue(); 366 367 /** 368 * Returns the compact view CSS class name.<p> 369 * 370 * @return the compact view CSS class 371 */ 372 String compactView(); 373 374 /** 375 * Returns the default view CSS class name.<p> 376 * 377 * @return the compact view CSS class 378 */ 379 String defaultView(); 380 381 /** 382 * Returns the drag helper CSS class name.<p> 383 * 384 * @return the drag helper CSS class 385 */ 386 String dragHelper(); 387 388 /** 389 * Returns the drag helper CSS class name.<p> 390 * 391 * @return the drag helper CSS class 392 */ 393 String emptyValue(); 394 395 /** 396 * Returns the entity CSS class name.<p> 397 * 398 * @return the entity CSS class 399 */ 400 String entity(); 401 402 /** 403 * Returns the first column CSS class name.<p> 404 * 405 * @return the first column CSS class 406 */ 407 String firstColumn(); 408 409 /** 410 * Returns the has error CSS class name.<p> 411 * 412 * @return the has error CSS class 413 */ 414 String hasError(); 415 416 /** 417 * Returns the has warning CSS class name.<p> 418 * 419 * @return the has warning CSS class 420 */ 421 String hasWarning(); 422 423 /** 424 * Returns the help bubble close CSS class name.<p> 425 * 426 * @return the help bubble close CSS class 427 */ 428 String inActive(); 429 430 /** 431 * Returns the label CSS class name.<p> 432 * 433 * @return the label CSS class 434 */ 435 String label(); 436 437 /** 438 * Returns the second column CSS class name.<p> 439 * 440 * @return the second column CSS class 441 */ 442 String secondColumn(); 443 444 /** 445 * Returns the single line view CSS class name.<p> 446 * 447 * @return the single line view CSS class 448 */ 449 String singleLine(); 450 451 /** 452 * Returns the widget CSS class name.<p> 453 * 454 * @return the widget CSS class 455 */ 456 String widget(); 457 458 /** 459 * Returns the widget holder CSS class name.<p> 460 * 461 * @return the widget holder CSS class 462 */ 463 String widgetHolder(); 464 } 465 466 /** The bundle instance. */ 467 I_CmsLayoutBundle INSTANCE = GWT.create(I_CmsLayoutBundle.class); 468 469 /** 470 * Returns the attribute choice CSS.<p> 471 * 472 * @return the attribute choice CSS 473 */ 474 @Source("attributeChoice.gss") 475 I_AttributeChoice attributeChoice(); 476 477 /** 478 * Returns the style CSS.<p> 479 * 480 * @return the style CSS 481 */ 482 @Source("form.gss") 483 I_Style form(); 484}