KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > batik > util > SVG12CSSConstants


1 /*
2
3    Copyright 2004 The Apache Software Foundation
4
5    Licensed under the Apache License, Version 2.0 (the "License");
6    you may not use this file except in compliance with the License.
7    You may obtain a copy of the License at
8
9        http://www.apache.org/licenses/LICENSE-2.0
10
11    Unless required by applicable law or agreed to in writing, software
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16
17 */

18
19 package org.apache.batik.util;
20
21 /**
22  * This interface defines constants for CSS with SVG12.
23  * Important: Constants must not contain uppercase characters.
24  *
25  * @author <a HREF="mailto:deweese@apache.org">deweese</a>
26  * @version $Id: SVG12CSSConstants.java,v 1.2 2005/03/27 08:58:36 cam Exp $
27  */

28 public interface SVG12CSSConstants extends CSSConstants {
29
30     /** Property name for margin shorthand */
31     public static final String JavaDoc CSS_MARGIN_PROPERTY = "margin";
32     /** Property name for top-margin */
33     public static final String JavaDoc CSS_MARGIN_TOP_PROPERTY = "margin-top";
34     /** Property name for right-margin */
35     public static final String JavaDoc CSS_MARGIN_RIGHT_PROPERTY = "margin-right";
36     /** Property name for bottom-margin */
37     public static final String JavaDoc CSS_MARGIN_BOTTOM_PROPERTY = "margin-bottom";
38     /** Property name for left-margin */
39     public static final String JavaDoc CSS_MARGIN_LEFT_PROPERTY = "margin-left";
40     /** property name for indent */
41     public static final String JavaDoc CSS_INDENT_PROPERTY = "indent";
42     /** propery name for text-align */
43     public static final String JavaDoc CSS_TEXT_ALIGN_PROPERTY = "text-align";
44     /** property name for color attribute */
45     public static final String JavaDoc CSS_SOLID_COLOR_PROPERTY ="solid-color";
46     /** property name for opacity attribute */
47     public static final String JavaDoc CSS_SOLID_OPACITY_PROPERTY="solid-opacity";
48
49
50     /** Value for text-align to start of text on line */
51     public static final String JavaDoc CSS_START_VALUE = "start";
52     /** Value for text-align to middle of text on line */
53     public static final String JavaDoc CSS_MIDDLE_VALUE = "middle";
54     /** Value for text-align to end of region */
55     public static final String JavaDoc CSS_END_VALUE = "end";
56     /** Value for text-align to both edges of region */
57     public static final String JavaDoc CSS_FULL_VALUE = "full";
58     /** Value for line-height for 'normal' line height */
59     public static final String JavaDoc CSS_NORMAL_VALUE = "normal";
60
61 };
62
63
Popular Tags