1 /*
2 * Created on Mar 26, 2005
3 * Copyright (c) 2005 Mike Heath. All rights reserved.
4 *
5 * Copyright (c) 2005, Mike Heath
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without modification, are permitted
9 * provided that the following conditions are met:
10 *
11 * * Redistributions of source code must retain the above copyright notice, this list of conditions
12 * and the following disclaimer.
13 * * Redistributions in binary form must reproduce the above copyright notice, this list of
14 * conditions and the following disclaimer in the documentation and/or other materials provided
15 * with the distribution.
16 * * The names of its contributors may not be used to endorse or promote products derived from this
17 * software without specific prior written permission.
18 *
19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */
31 package net.sf.cssbean;
32
33 /***
34 * @author Mike Heath <elcapo@gmail.com>
35 */
36 public enum BackgroundAttachment implements Value {
37 SCROLL ("scroll"),
38 FIXED ("fixed");
39
40 private final String css;
41
42 private BackgroundAttachment(String css) {
43 this.css = css;
44 }
45
46 public String getValue() {
47 return css;
48 }
49 }