0001: /*
0002:
0003: ============================================================================
0004: The Apache Software License, Version 1.1
0005: ============================================================================
0006:
0007: Copyright (C) 1999-2003 The Apache Software Foundation. All rights reserved.
0008:
0009: Redistribution and use in source and binary forms, with or without modifica-
0010: tion, are permitted provided that the following conditions are met:
0011:
0012: 1. Redistributions of source code must retain the above copyright notice,
0013: this list of conditions and the following disclaimer.
0014:
0015: 2. Redistributions in binary form must reproduce the above copyright notice,
0016: this list of conditions and the following disclaimer in the documentation
0017: and/or other materials provided with the distribution.
0018:
0019: 3. The end-user documentation included with the redistribution, if any, must
0020: include the following acknowledgment: "This product includes software
0021: developed by the Apache Software Foundation (http://www.apache.org/)."
0022: Alternately, this acknowledgment may appear in the software itself, if
0023: and wherever such third-party acknowledgments normally appear.
0024:
0025: 4. The names "Batik" and "Apache Software Foundation" must not be
0026: used to endorse or promote products derived from this software without
0027: prior written permission. For written permission, please contact
0028: apache@apache.org.
0029:
0030: 5. Products derived from this software may not be called "Apache", nor may
0031: "Apache" appear in their name, without prior written permission of the
0032: Apache Software Foundation.
0033:
0034: THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
0035: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
0036: FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
0037: APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
0038: INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
0039: DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
0040: OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
0041: ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
0042: (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
0043: THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0044:
0045: This software consists of voluntary contributions made by many individuals
0046: on behalf of the Apache Software Foundation. For more information on the
0047: Apache Software Foundation, please see <http://www.apache.org/>.
0048:
0049: */
0050:
0051: package org.apache.batik.css.engine.value;
0052:
0053: import org.apache.batik.util.CSSConstants;
0054: import org.w3c.dom.css.CSSPrimitiveValue;
0055:
0056: /**
0057: * This interface defines constants for CSS values.
0058: *
0059: * @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
0060: * @version $Id$
0061: */
0062: public interface ValueConstants {
0063:
0064: /**
0065: * 0
0066: */
0067: Value NUMBER_0 = new FloatValue(CSSPrimitiveValue.CSS_NUMBER, 0);
0068:
0069: /**
0070: * 100
0071: */
0072: Value NUMBER_100 = new FloatValue(CSSPrimitiveValue.CSS_NUMBER, 100);
0073:
0074: /**
0075: * 128
0076: */
0077: Value NUMBER_128 = new FloatValue(CSSPrimitiveValue.CSS_NUMBER, 128);
0078:
0079: /**
0080: * 192
0081: */
0082: Value NUMBER_192 = new FloatValue(CSSPrimitiveValue.CSS_NUMBER, 192);
0083:
0084: /**
0085: * 200
0086: */
0087: Value NUMBER_200 = new FloatValue(CSSPrimitiveValue.CSS_NUMBER, 200);
0088:
0089: /**
0090: * 255
0091: */
0092: Value NUMBER_255 = new FloatValue(CSSPrimitiveValue.CSS_NUMBER, 255);
0093:
0094: /**
0095: * 300
0096: */
0097: Value NUMBER_300 = new FloatValue(CSSPrimitiveValue.CSS_NUMBER, 300);
0098:
0099: /**
0100: * 400
0101: */
0102: Value NUMBER_400 = new FloatValue(CSSPrimitiveValue.CSS_NUMBER, 400);
0103:
0104: /**
0105: * 500
0106: */
0107: Value NUMBER_500 = new FloatValue(CSSPrimitiveValue.CSS_NUMBER, 500);
0108:
0109: /**
0110: * 600
0111: */
0112: Value NUMBER_600 = new FloatValue(CSSPrimitiveValue.CSS_NUMBER, 600);
0113:
0114: /**
0115: * 700
0116: */
0117: Value NUMBER_700 = new FloatValue(CSSPrimitiveValue.CSS_NUMBER, 700);
0118:
0119: /**
0120: * 800
0121: */
0122: Value NUMBER_800 = new FloatValue(CSSPrimitiveValue.CSS_NUMBER, 800);
0123:
0124: /**
0125: * 900
0126: */
0127: Value NUMBER_900 = new FloatValue(CSSPrimitiveValue.CSS_NUMBER, 900);
0128:
0129: /**
0130: * The 'inherit' value.
0131: */
0132: Value INHERIT_VALUE = InheritValue.INSTANCE;
0133:
0134: /**
0135: * The 'all' keyword.
0136: */
0137: Value ALL_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0138: CSSConstants.CSS_ALL_VALUE);
0139:
0140: /**
0141: * The 'auto' keyword.
0142: */
0143: Value AUTO_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0144: CSSConstants.CSS_AUTO_VALUE);
0145:
0146: /**
0147: * The 'bidi-override' keyword.
0148: */
0149: Value BIDI_OVERRIDE_VALUE = new StringValue(
0150: CSSPrimitiveValue.CSS_IDENT,
0151: CSSConstants.CSS_BIDI_OVERRIDE_VALUE);
0152:
0153: /**
0154: * The 'blink' keyword.
0155: */
0156: Value BLINK_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0157: CSSConstants.CSS_BLINK_VALUE);
0158:
0159: /**
0160: * The 'block' keyword.
0161: */
0162: Value BLOCK_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0163: CSSConstants.CSS_BLOCK_VALUE);
0164:
0165: /**
0166: * The 'bold' keyword.
0167: */
0168: Value BOLD_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0169: CSSConstants.CSS_BOLD_VALUE);
0170:
0171: /**
0172: * The 'bolder' keyword.
0173: */
0174: Value BOLDER_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0175: CSSConstants.CSS_BOLDER_VALUE);
0176:
0177: /**
0178: * The 'bottom' keyword.
0179: */
0180: Value BOTTOM_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0181: CSSConstants.CSS_BOTTOM_VALUE);
0182:
0183: /**
0184: * The 'collapse' keyword.
0185: */
0186: Value COLLAPSE_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0187: CSSConstants.CSS_COLLAPSE_VALUE);
0188:
0189: /**
0190: * The 'compact' keyword.
0191: */
0192: Value COMPACT_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0193: CSSConstants.CSS_COMPACT_VALUE);
0194:
0195: /**
0196: * The 'condensed' keyword.
0197: */
0198: Value CONDENSED_VALUE = new StringValue(
0199: CSSPrimitiveValue.CSS_IDENT,
0200: CSSConstants.CSS_CONDENSED_VALUE);
0201:
0202: /**
0203: * The 'crispedges' keyword.
0204: */
0205: Value CRISPEDGES_VALUE = new StringValue(
0206: CSSPrimitiveValue.CSS_IDENT,
0207: CSSConstants.CSS_CRISPEDGES_VALUE);
0208:
0209: /**
0210: * The 'crosshair' keyword.
0211: */
0212: Value CROSSHAIR_VALUE = new StringValue(
0213: CSSPrimitiveValue.CSS_IDENT,
0214: CSSConstants.CSS_CROSSHAIR_VALUE);
0215:
0216: /**
0217: * The 'cursive' keyword.
0218: */
0219: Value CURSIVE_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0220: CSSConstants.CSS_CURSIVE_VALUE);
0221:
0222: /**
0223: * The 'default' keyword.
0224: */
0225: Value DEFAULT_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0226: CSSConstants.CSS_DEFAULT_VALUE);
0227:
0228: /**
0229: * The 'e-resize' keyword.
0230: */
0231: Value E_RESIZE_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0232: CSSConstants.CSS_E_RESIZE_VALUE);
0233:
0234: /**
0235: * The 'embed' keyword.
0236: */
0237: Value EMBED_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0238: CSSConstants.CSS_EMBED_VALUE);
0239:
0240: /**
0241: * The 'expanded' keyword.
0242: */
0243: Value EXPANDED_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0244: CSSConstants.CSS_EXPANDED_VALUE);
0245:
0246: /**
0247: * The 'extra-condensed' keyword.
0248: */
0249: Value EXTRA_CONDENSED_VALUE = new StringValue(
0250: CSSPrimitiveValue.CSS_IDENT,
0251: CSSConstants.CSS_EXTRA_CONDENSED_VALUE);
0252:
0253: /**
0254: * The 'extra-expanded' keyword.
0255: */
0256: Value EXTRA_EXPANDED_VALUE = new StringValue(
0257: CSSPrimitiveValue.CSS_IDENT,
0258: CSSConstants.CSS_EXTRA_EXPANDED_VALUE);
0259:
0260: /**
0261: * The 'fantasy' keyword.
0262: */
0263: Value FANTASY_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0264: CSSConstants.CSS_FANTASY_VALUE);
0265:
0266: /**
0267: * The 'help' keyword.
0268: */
0269: Value HELP_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0270: CSSConstants.CSS_HELP_VALUE);
0271:
0272: /**
0273: * The 'hidden' keyword.
0274: */
0275: Value HIDDEN_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0276: CSSConstants.CSS_HIDDEN_VALUE);
0277:
0278: /**
0279: * The 'inline' keyword.
0280: */
0281: Value INLINE_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0282: CSSConstants.CSS_INLINE_VALUE);
0283:
0284: /**
0285: * The 'inline-table' keyword.
0286: */
0287: Value INLINE_TABLE_VALUE = new StringValue(
0288: CSSPrimitiveValue.CSS_IDENT,
0289: CSSConstants.CSS_INLINE_TABLE_VALUE);
0290:
0291: // BEGIN RAVE MODIFICATIONS
0292: /**
0293: * The 'inline-block' keyword.
0294: */
0295: Value INLINE_BLOCK_VALUE = new StringValue(
0296: CSSPrimitiveValue.CSS_IDENT,
0297: CSSConstants.CSS_INLINE_BLOCK_VALUE);
0298: // END RAVE MODIFICATIONS
0299:
0300: /**
0301: * The 'italic' keyword.
0302: */
0303: Value ITALIC_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0304: CSSConstants.CSS_ITALIC_VALUE);
0305:
0306: /**
0307: * The 'large' keyword.
0308: */
0309: Value LARGE_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0310: CSSConstants.CSS_LARGE_VALUE);
0311:
0312: /**
0313: * The 'larger' keyword.
0314: */
0315: Value LARGER_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0316: CSSConstants.CSS_LARGER_VALUE);
0317:
0318: /**
0319: * The 'lighter' keyword.
0320: */
0321: Value LIGHTER_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0322: CSSConstants.CSS_LIGHTER_VALUE);
0323:
0324: /**
0325: * The 'line_through' keyword.
0326: */
0327: Value LINE_THROUGH_VALUE = new StringValue(
0328: CSSPrimitiveValue.CSS_IDENT,
0329: CSSConstants.CSS_LINE_THROUGH_VALUE);
0330:
0331: /**
0332: * The 'list-item' keyword.
0333: */
0334: Value LIST_ITEM_VALUE = new StringValue(
0335: CSSPrimitiveValue.CSS_IDENT,
0336: CSSConstants.CSS_LIST_ITEM_VALUE);
0337:
0338: /**
0339: * The 'ltr' keyword.
0340: */
0341: Value LTR_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0342: CSSConstants.CSS_LTR_VALUE);
0343:
0344: /**
0345: * The 'marker' keyword.
0346: */
0347: Value MARKER_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0348: CSSConstants.CSS_MARKER_VALUE);
0349:
0350: /**
0351: * The 'medium' keyword.
0352: */
0353: Value MEDIUM_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0354: CSSConstants.CSS_MEDIUM_VALUE);
0355:
0356: /**
0357: * The 'monospaced' keyword.
0358: */
0359: Value MONOSPACE_VALUE = new StringValue(
0360: CSSPrimitiveValue.CSS_IDENT,
0361: CSSConstants.CSS_MONOSPACE_VALUE);
0362:
0363: /**
0364: * The 'move' keyword.
0365: */
0366: Value MOVE_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0367: CSSConstants.CSS_MOVE_VALUE);
0368:
0369: /**
0370: * The 'n-resize' keyword.
0371: */
0372: Value N_RESIZE_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0373: CSSConstants.CSS_N_RESIZE_VALUE);
0374:
0375: /**
0376: * The 'narrower' keyword.
0377: */
0378: Value NARROWER_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0379: CSSConstants.CSS_NARROWER_VALUE);
0380:
0381: /**
0382: * The 'ne-resize' keyword.
0383: */
0384: Value NE_RESIZE_VALUE = new StringValue(
0385: CSSPrimitiveValue.CSS_IDENT,
0386: CSSConstants.CSS_NE_RESIZE_VALUE);
0387:
0388: /**
0389: * The 'nw-resize' keyword.
0390: */
0391: Value NW_RESIZE_VALUE = new StringValue(
0392: CSSPrimitiveValue.CSS_IDENT,
0393: CSSConstants.CSS_NW_RESIZE_VALUE);
0394:
0395: /**
0396: * The 'none' keyword.
0397: */
0398: Value NONE_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0399: CSSConstants.CSS_NONE_VALUE);
0400:
0401: /**
0402: * The 'normal' keyword.
0403: */
0404: Value NORMAL_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0405: CSSConstants.CSS_NORMAL_VALUE);
0406:
0407: /**
0408: * The 'oblique' keyword.
0409: */
0410: Value OBLIQUE_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0411: CSSConstants.CSS_OBLIQUE_VALUE);
0412:
0413: /**
0414: * The 'overline' keyword.
0415: */
0416: Value OVERLINE_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0417: CSSConstants.CSS_OVERLINE_VALUE);
0418:
0419: /**
0420: * The 'pointer' keyword.
0421: */
0422: Value POINTER_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0423: CSSConstants.CSS_POINTER_VALUE);
0424:
0425: /**
0426: * The 'painted' keyword.
0427: */
0428: Value PAINTED_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0429: CSSConstants.CSS_PAINTED_VALUE);
0430:
0431: /**
0432: * The 'rtl' keyword.
0433: */
0434: Value RTL_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0435: CSSConstants.CSS_RTL_VALUE);
0436:
0437: /**
0438: * The 'run-in' keyword.
0439: */
0440: Value RUN_IN_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0441: CSSConstants.CSS_RUN_IN_VALUE);
0442:
0443: /**
0444: * The 's-resize' keyword.
0445: */
0446: Value S_RESIZE_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0447: CSSConstants.CSS_S_RESIZE_VALUE);
0448:
0449: /**
0450: * The 'sans-serif' keyword.
0451: */
0452: Value SANS_SERIF_VALUE = new StringValue(
0453: CSSPrimitiveValue.CSS_IDENT,
0454: CSSConstants.CSS_SANS_SERIF_VALUE);
0455:
0456: /**
0457: * The 'scroll' keyword.
0458: */
0459: Value SCROLL_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0460: CSSConstants.CSS_SCROLL_VALUE);
0461:
0462: /**
0463: * The 'se-resize' keyword.
0464: */
0465: Value SE_RESIZE_VALUE = new StringValue(
0466: CSSPrimitiveValue.CSS_IDENT,
0467: CSSConstants.CSS_SE_RESIZE_VALUE);
0468:
0469: /**
0470: * The 'semi-condensed' keyword.
0471: */
0472: Value SEMI_CONDENSED_VALUE = new StringValue(
0473: CSSPrimitiveValue.CSS_IDENT,
0474: CSSConstants.CSS_SEMI_CONDENSED_VALUE);
0475:
0476: /**
0477: * The 'semi-expanded' keyword.
0478: */
0479: Value SEMI_EXPANDED_VALUE = new StringValue(
0480: CSSPrimitiveValue.CSS_IDENT,
0481: CSSConstants.CSS_SEMI_EXPANDED_VALUE);
0482:
0483: /**
0484: * The 'serif' keyword.
0485: */
0486: Value SERIF_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0487: CSSConstants.CSS_SERIF_VALUE);
0488:
0489: /**
0490: * The 'small' keyword.
0491: */
0492: Value SMALL_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0493: CSSConstants.CSS_SMALL_VALUE);
0494:
0495: /**
0496: * The 'small-caps' keyword.
0497: */
0498: Value SMALL_CAPS_VALUE = new StringValue(
0499: CSSPrimitiveValue.CSS_IDENT,
0500: CSSConstants.CSS_SMALL_CAPS_VALUE);
0501:
0502: /**
0503: * The 'smaller' keyword.
0504: */
0505: Value SMALLER_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0506: CSSConstants.CSS_SMALLER_VALUE);
0507:
0508: /**
0509: * The 'stroke' keyword.
0510: */
0511: Value STROKE_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0512: CSSConstants.CSS_STROKE_VALUE);
0513:
0514: /**
0515: * The 'sw-resize' keyword.
0516: */
0517: Value SW_RESIZE_VALUE = new StringValue(
0518: CSSPrimitiveValue.CSS_IDENT,
0519: CSSConstants.CSS_SW_RESIZE_VALUE);
0520:
0521: /**
0522: * The 'table' keyword.
0523: */
0524: Value TABLE_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0525: CSSConstants.CSS_TABLE_VALUE);
0526:
0527: /**
0528: * The 'table-caption' keyword.
0529: */
0530: Value TABLE_CAPTION_VALUE = new StringValue(
0531: CSSPrimitiveValue.CSS_IDENT,
0532: CSSConstants.CSS_TABLE_CAPTION_VALUE);
0533:
0534: /**
0535: * The 'table-cell' keyword.
0536: */
0537: Value TABLE_CELL_VALUE = new StringValue(
0538: CSSPrimitiveValue.CSS_IDENT,
0539: CSSConstants.CSS_TABLE_CELL_VALUE);
0540:
0541: /**
0542: * The 'table-column' keyword.
0543: */
0544: Value TABLE_COLUMN_VALUE = new StringValue(
0545: CSSPrimitiveValue.CSS_IDENT,
0546: CSSConstants.CSS_TABLE_COLUMN_VALUE);
0547:
0548: /**
0549: * The 'table-column-group' keyword.
0550: */
0551: Value TABLE_COLUMN_GROUP_VALUE = new StringValue(
0552: CSSPrimitiveValue.CSS_IDENT,
0553: CSSConstants.CSS_TABLE_COLUMN_GROUP_VALUE);
0554:
0555: /**
0556: * The 'table-footer-group' keyword.
0557: */
0558: Value TABLE_FOOTER_GROUP_VALUE = new StringValue(
0559: CSSPrimitiveValue.CSS_IDENT,
0560: CSSConstants.CSS_TABLE_FOOTER_GROUP_VALUE);
0561:
0562: /**
0563: * The 'table-header-group' keyword.
0564: */
0565: Value TABLE_HEADER_GROUP_VALUE = new StringValue(
0566: CSSPrimitiveValue.CSS_IDENT,
0567: CSSConstants.CSS_TABLE_HEADER_GROUP_VALUE);
0568:
0569: /**
0570: * The 'table-row' keyword.
0571: */
0572: Value TABLE_ROW_VALUE = new StringValue(
0573: CSSPrimitiveValue.CSS_IDENT,
0574: CSSConstants.CSS_TABLE_ROW_VALUE);
0575:
0576: /**
0577: * The 'table-row-group' keyword.
0578: */
0579: Value TABLE_ROW_GROUP_VALUE = new StringValue(
0580: CSSPrimitiveValue.CSS_IDENT,
0581: CSSConstants.CSS_TABLE_ROW_GROUP_VALUE);
0582:
0583: /**
0584: * The 'text' keyword.
0585: */
0586: Value TEXT_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0587: CSSConstants.CSS_TEXT_VALUE);
0588:
0589: /**
0590: * The 'ultra-condensed' keyword.
0591: */
0592: Value ULTRA_CONDENSED_VALUE = new StringValue(
0593: CSSPrimitiveValue.CSS_IDENT,
0594: CSSConstants.CSS_ULTRA_CONDENSED_VALUE);
0595:
0596: /**
0597: * The 'ultra-expanded' keyword.
0598: */
0599: Value ULTRA_EXPANDED_VALUE = new StringValue(
0600: CSSPrimitiveValue.CSS_IDENT,
0601: CSSConstants.CSS_ULTRA_EXPANDED_VALUE);
0602:
0603: /**
0604: * The 'top' keyword.
0605: */
0606: Value TOP_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0607: CSSConstants.CSS_TOP_VALUE);
0608:
0609: /**
0610: * The 'underline' keyword.
0611: */
0612: Value UNDERLINE_VALUE = new StringValue(
0613: CSSPrimitiveValue.CSS_IDENT,
0614: CSSConstants.CSS_UNDERLINE_VALUE);
0615:
0616: /**
0617: * The 'visible' keyword.
0618: */
0619: Value VISIBLE_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0620: CSSConstants.CSS_VISIBLE_VALUE);
0621:
0622: /**
0623: * The 'w-resize' keyword.
0624: */
0625: Value W_RESIZE_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0626: CSSConstants.CSS_W_RESIZE_VALUE);
0627:
0628: /**
0629: * The 'wait' keyword.
0630: */
0631: Value WAIT_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0632: CSSConstants.CSS_WAIT_VALUE);
0633:
0634: /**
0635: * The 'wider' keyword.
0636: */
0637: Value WIDER_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0638: CSSConstants.CSS_WIDER_VALUE);
0639:
0640: /**
0641: * The 'x-large' keyword.
0642: */
0643: Value X_LARGE_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0644: CSSConstants.CSS_X_LARGE_VALUE);
0645:
0646: /**
0647: * The 'x-small' keyword.
0648: */
0649: Value X_SMALL_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0650: CSSConstants.CSS_X_SMALL_VALUE);
0651:
0652: /**
0653: * The 'xx-large' keyword.
0654: */
0655: Value XX_LARGE_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0656: CSSConstants.CSS_XX_LARGE_VALUE);
0657:
0658: /**
0659: * The 'xx-small' keyword.
0660: */
0661: Value XX_SMALL_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0662: CSSConstants.CSS_XX_SMALL_VALUE);
0663:
0664: /**
0665: * The 'aqua' color name.
0666: */
0667: Value AQUA_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0668: CSSConstants.CSS_AQUA_VALUE);
0669:
0670: /**
0671: * The 'black' color name.
0672: */
0673: Value BLACK_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0674: CSSConstants.CSS_BLACK_VALUE);
0675:
0676: /**
0677: * The 'blue' color name.
0678: */
0679: Value BLUE_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0680: CSSConstants.CSS_BLUE_VALUE);
0681:
0682: /**
0683: * The 'fuchsia' color name.
0684: */
0685: Value FUCHSIA_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0686: CSSConstants.CSS_FUCHSIA_VALUE);
0687:
0688: /**
0689: * The 'gray' color name.
0690: */
0691: Value GRAY_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0692: CSSConstants.CSS_GRAY_VALUE);
0693:
0694: /**
0695: * The 'green' color name.
0696: */
0697: Value GREEN_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0698: CSSConstants.CSS_GREEN_VALUE);
0699:
0700: /**
0701: * The 'lime' color name.
0702: */
0703: Value LIME_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0704: CSSConstants.CSS_LIME_VALUE);
0705:
0706: /**
0707: * The 'maroon' color name.
0708: */
0709: Value MAROON_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0710: CSSConstants.CSS_MAROON_VALUE);
0711:
0712: /**
0713: * The 'navy' color name.
0714: */
0715: Value NAVY_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0716: CSSConstants.CSS_NAVY_VALUE);
0717:
0718: /**
0719: * The 'olive' color name.
0720: */
0721: Value OLIVE_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0722: CSSConstants.CSS_OLIVE_VALUE);
0723:
0724: /**
0725: * The 'purple' color name.
0726: */
0727: Value PURPLE_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0728: CSSConstants.CSS_PURPLE_VALUE);
0729:
0730: /**
0731: * The 'red' color name.
0732: */
0733: Value RED_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0734: CSSConstants.CSS_RED_VALUE);
0735:
0736: /**
0737: * The 'silver' color name.
0738: */
0739: Value SILVER_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0740: CSSConstants.CSS_SILVER_VALUE);
0741:
0742: /**
0743: * The 'teal' color name.
0744: */
0745: Value TEAL_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0746: CSSConstants.CSS_TEAL_VALUE);
0747:
0748: /**
0749: * The 'white' color name.
0750: */
0751: Value WHITE_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0752: CSSConstants.CSS_WHITE_VALUE);
0753:
0754: /**
0755: * The 'yellow' color name.
0756: */
0757: Value YELLOW_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0758: CSSConstants.CSS_YELLOW_VALUE);
0759:
0760: /**
0761: * The 'ACTIVEBORDER' color name.
0762: */
0763: Value ACTIVEBORDER_VALUE = new StringValue(
0764: CSSPrimitiveValue.CSS_IDENT,
0765: CSSConstants.CSS_ACTIVEBORDER_VALUE);
0766:
0767: /**
0768: * The 'ACTIVECAPTION' color name.
0769: */
0770: Value ACTIVECAPTION_VALUE = new StringValue(
0771: CSSPrimitiveValue.CSS_IDENT,
0772: CSSConstants.CSS_ACTIVECAPTION_VALUE);
0773:
0774: /**
0775: * The 'APPWORKSPACE' color name.
0776: */
0777: Value APPWORKSPACE_VALUE = new StringValue(
0778: CSSPrimitiveValue.CSS_IDENT,
0779: CSSConstants.CSS_APPWORKSPACE_VALUE);
0780:
0781: /**
0782: * The 'BACKGROUND' color name.
0783: */
0784: Value BACKGROUND_VALUE = new StringValue(
0785: CSSPrimitiveValue.CSS_IDENT,
0786: CSSConstants.CSS_BACKGROUND_VALUE);
0787:
0788: /**
0789: * The 'BUTTONFACE' color name.
0790: */
0791: Value BUTTONFACE_VALUE = new StringValue(
0792: CSSPrimitiveValue.CSS_IDENT,
0793: CSSConstants.CSS_BUTTONFACE_VALUE);
0794:
0795: /**
0796: * The 'BUTTONHIGHLIGHT' color name.
0797: */
0798: Value BUTTONHIGHLIGHT_VALUE = new StringValue(
0799: CSSPrimitiveValue.CSS_IDENT,
0800: CSSConstants.CSS_BUTTONHIGHLIGHT_VALUE);
0801:
0802: /**
0803: * The 'BUTTONSHADOW' color name.
0804: */
0805: Value BUTTONSHADOW_VALUE = new StringValue(
0806: CSSPrimitiveValue.CSS_IDENT,
0807: CSSConstants.CSS_BUTTONSHADOW_VALUE);
0808:
0809: /**
0810: * The 'BUTTONTEXT' color name.
0811: */
0812: Value BUTTONTEXT_VALUE = new StringValue(
0813: CSSPrimitiveValue.CSS_IDENT,
0814: CSSConstants.CSS_BUTTONTEXT_VALUE);
0815:
0816: /**
0817: * The 'CAPTIONTEXT' color name.
0818: */
0819: Value CAPTIONTEXT_VALUE = new StringValue(
0820: CSSPrimitiveValue.CSS_IDENT,
0821: CSSConstants.CSS_CAPTIONTEXT_VALUE);
0822:
0823: /**
0824: * The 'GRAYTEXT' color name.
0825: */
0826: Value GRAYTEXT_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0827: CSSConstants.CSS_GRAYTEXT_VALUE);
0828:
0829: /**
0830: * The 'HIGHLIGHT' color name.
0831: */
0832: Value HIGHLIGHT_VALUE = new StringValue(
0833: CSSPrimitiveValue.CSS_IDENT,
0834: CSSConstants.CSS_HIGHLIGHT_VALUE);
0835:
0836: /**
0837: * The 'HIGHLIGHTTEXT' color name.
0838: */
0839: Value HIGHLIGHTTEXT_VALUE = new StringValue(
0840: CSSPrimitiveValue.CSS_IDENT,
0841: CSSConstants.CSS_HIGHLIGHTTEXT_VALUE);
0842:
0843: /**
0844: * The 'INACTIVEBORDER' color name.
0845: */
0846: Value INACTIVEBORDER_VALUE = new StringValue(
0847: CSSPrimitiveValue.CSS_IDENT,
0848: CSSConstants.CSS_INACTIVEBORDER_VALUE);
0849:
0850: /**
0851: * The 'INACTIVECAPTION' color name.
0852: */
0853: Value INACTIVECAPTION_VALUE = new StringValue(
0854: CSSPrimitiveValue.CSS_IDENT,
0855: CSSConstants.CSS_INACTIVECAPTION_VALUE);
0856:
0857: /**
0858: * The 'INACTIVECAPTIONTEXT' color name.
0859: */
0860: Value INACTIVECAPTIONTEXT_VALUE = new StringValue(
0861: CSSPrimitiveValue.CSS_IDENT,
0862: CSSConstants.CSS_INACTIVECAPTIONTEXT_VALUE);
0863:
0864: /**
0865: * The 'INFOBACKGROUND' color name.
0866: */
0867: Value INFOBACKGROUND_VALUE = new StringValue(
0868: CSSPrimitiveValue.CSS_IDENT,
0869: CSSConstants.CSS_INFOBACKGROUND_VALUE);
0870:
0871: /**
0872: * The 'INFOTEXT' color name.
0873: */
0874: Value INFOTEXT_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0875: CSSConstants.CSS_INFOTEXT_VALUE);
0876:
0877: /**
0878: * The 'MENU' color name.
0879: */
0880: Value MENU_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0881: CSSConstants.CSS_MENU_VALUE);
0882:
0883: /**
0884: * The 'MENUTEXT' color name.
0885: */
0886: Value MENUTEXT_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0887: CSSConstants.CSS_MENUTEXT_VALUE);
0888:
0889: /**
0890: * The 'SCROLLBAR' color name.
0891: */
0892: Value SCROLLBAR_VALUE = new StringValue(
0893: CSSPrimitiveValue.CSS_IDENT,
0894: CSSConstants.CSS_SCROLLBAR_VALUE);
0895:
0896: /**
0897: * The 'THREEDDARKSHADOW' color name.
0898: */
0899: Value THREEDDARKSHADOW_VALUE = new StringValue(
0900: CSSPrimitiveValue.CSS_IDENT,
0901: CSSConstants.CSS_THREEDDARKSHADOW_VALUE);
0902:
0903: /**
0904: * The 'THREEDFACE' color name.
0905: */
0906: Value THREEDFACE_VALUE = new StringValue(
0907: CSSPrimitiveValue.CSS_IDENT,
0908: CSSConstants.CSS_THREEDFACE_VALUE);
0909:
0910: /**
0911: * The 'THREEDHIGHLIGHT' color name.
0912: */
0913: Value THREEDHIGHLIGHT_VALUE = new StringValue(
0914: CSSPrimitiveValue.CSS_IDENT,
0915: CSSConstants.CSS_THREEDHIGHLIGHT_VALUE);
0916:
0917: /**
0918: * The 'THREEDLIGHTSHADOW' color name.
0919: */
0920: Value THREEDLIGHTSHADOW_VALUE = new StringValue(
0921: CSSPrimitiveValue.CSS_IDENT,
0922: CSSConstants.CSS_THREEDLIGHTSHADOW_VALUE);
0923:
0924: /**
0925: * The 'THREEDSHADOW' color name.
0926: */
0927: Value THREEDSHADOW_VALUE = new StringValue(
0928: CSSPrimitiveValue.CSS_IDENT,
0929: CSSConstants.CSS_THREEDSHADOW_VALUE);
0930:
0931: /**
0932: * The 'WINDOW' color name.
0933: */
0934: Value WINDOW_VALUE = new StringValue(CSSPrimitiveValue.CSS_IDENT,
0935: CSSConstants.CSS_WINDOW_VALUE);
0936:
0937: /**
0938: * The 'WINDOWFRAME' color name.
0939: */
0940: Value WINDOWFRAME_VALUE = new StringValue(
0941: CSSPrimitiveValue.CSS_IDENT,
0942: CSSConstants.CSS_WINDOWFRAME_VALUE);
0943:
0944: /**
0945: * The 'WINDOWTEXT' color name.
0946: */
0947: Value WINDOWTEXT_VALUE = new StringValue(
0948: CSSPrimitiveValue.CSS_IDENT,
0949: CSSConstants.CSS_WINDOWTEXT_VALUE);
0950:
0951: // BEGIN RAVE MODIFICATIONS
0952: // Dynamically computed color; defaults to a blue color
0953: // for links but will consult value attributes if necessary.
0954: // Treated as a system color.
0955: Value LINKCOLOR_VALUE = new StringValue(
0956: CSSPrimitiveValue.CSS_IDENT,
0957: CSSConstants.CSS_LINKCOLOR_VALUE);
0958: // END RAVE MODIFICATIONS
0959:
0960: /**
0961: * The 'black' RGB color.
0962: */
0963: Value BLACK_RGB_VALUE = new RGBColorValue(NUMBER_0, NUMBER_0,
0964: NUMBER_0);
0965:
0966: /**
0967: * The 'silver' RGB color.
0968: */
0969: Value SILVER_RGB_VALUE = new RGBColorValue(NUMBER_192, NUMBER_192,
0970: NUMBER_192);
0971:
0972: /**
0973: * The 'gray' RGB color.
0974: */
0975: Value GRAY_RGB_VALUE = new RGBColorValue(NUMBER_128, NUMBER_128,
0976: NUMBER_128);
0977:
0978: /**
0979: * The 'white' RGB color.
0980: */
0981: Value WHITE_RGB_VALUE = new RGBColorValue(NUMBER_255, NUMBER_255,
0982: NUMBER_255);
0983:
0984: /**
0985: * The 'maroon' RGB color.
0986: */
0987: Value MAROON_RGB_VALUE = new RGBColorValue(NUMBER_128, NUMBER_0,
0988: NUMBER_0);
0989:
0990: /**
0991: * The 'red' RGB color.
0992: */
0993: Value RED_RGB_VALUE = new RGBColorValue(NUMBER_255, NUMBER_0,
0994: NUMBER_0);
0995:
0996: /**
0997: * The 'purple' RGB color.
0998: */
0999: Value PURPLE_RGB_VALUE = new RGBColorValue(NUMBER_128, NUMBER_0,
1000: NUMBER_128);
1001:
1002: /**
1003: * The 'fuchsia' RGB color.
1004: */
1005: Value FUCHSIA_RGB_VALUE = new RGBColorValue(NUMBER_255, NUMBER_0,
1006: NUMBER_255);
1007:
1008: /**
1009: * The 'green' RGB color.
1010: */
1011: Value GREEN_RGB_VALUE = new RGBColorValue(NUMBER_0, NUMBER_128,
1012: NUMBER_0);
1013:
1014: /**
1015: * The 'lime' RGB color.
1016: */
1017: Value LIME_RGB_VALUE = new RGBColorValue(NUMBER_0, NUMBER_255,
1018: NUMBER_0);
1019:
1020: /**
1021: * The 'olive' RGB color.
1022: */
1023: Value OLIVE_RGB_VALUE = new RGBColorValue(NUMBER_128, NUMBER_128,
1024: NUMBER_0);
1025:
1026: /**
1027: * The 'yellow' RGB color.
1028: */
1029: Value YELLOW_RGB_VALUE = new RGBColorValue(NUMBER_255, NUMBER_255,
1030: NUMBER_0);
1031:
1032: /**
1033: * The 'navy' RGB color.
1034: */
1035: Value NAVY_RGB_VALUE = new RGBColorValue(NUMBER_0, NUMBER_0,
1036: NUMBER_128);
1037:
1038: /**
1039: * The 'blue' RGB color.
1040: */
1041: Value BLUE_RGB_VALUE = new RGBColorValue(NUMBER_0, NUMBER_0,
1042: NUMBER_255);
1043:
1044: /**
1045: * The 'teal' RGB color.
1046: */
1047: Value TEAL_RGB_VALUE = new RGBColorValue(NUMBER_0, NUMBER_128,
1048: NUMBER_128);
1049:
1050: /**
1051: * The 'aqua' RGB color.
1052: */
1053: Value AQUA_RGB_VALUE = new RGBColorValue(NUMBER_0, NUMBER_255,
1054: NUMBER_255);
1055:
1056: }
|