home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 November / Chip_1998-11_cd.bin / tema / Cafe / jfc.bin / StyleDefs.java < prev    next >
Text File  |  1998-02-26  |  2KB  |  55 lines

  1. /*
  2.  * @(#)StyleDefs.java    1.4 97/09/29
  3.  * 
  4.  * Copyright (c) 1997 Sun Microsystems, Inc. All Rights Reserved.
  5.  * 
  6.  * This software is the confidential and proprietary information of Sun
  7.  * Microsystems, Inc. ("Confidential Information").  You shall not
  8.  * disclose such Confidential Information and shall use it only in
  9.  * accordance with the terms of the license agreement you entered into
  10.  * with Sun.
  11.  * 
  12.  * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
  13.  * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  14.  * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  15.  * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
  16.  * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
  17.  * THIS SOFTWARE OR ITS DERIVATIVES.
  18.  * 
  19.  */
  20. package com.sun.java.swing.text.html;
  21.  
  22. /**
  23.  * String constants of Cascading Style Sheet properties.
  24.  *
  25.  * @author  Jill Nakata
  26.  * @version 1.4 09/29/97
  27.  */
  28. interface StyleDefs {
  29.  
  30.     //
  31.     // Property Names in Cascading Style Sheets
  32.     //
  33.     public static final String BACKGROUND_COLOR = "background-color";
  34.     public static final String BORDER_TOP = "border-top";
  35.     public static final String BORDER_BOTTOM = "border-bottom";
  36.     public static final String BORDER_LEFT = "border-left";
  37.     public static final String BORDER_RIGHT = "border-right";
  38.     public static final String COLOR = "color";
  39.     public static final String FONT_FAMILY = "font-family";
  40.     public static final String FONT_SIZE = "font-size";
  41.     public static final String FONT_SIZES = "font-sizes";
  42.     public static final String FONT_STYLE = "font-style";
  43.     public static final String FONT_WEIGHT = "font-weight";
  44.     public static final String LIST_STYLE_IMAGE = "list-style-image";
  45.     public static final String LIST_STYLE_TYPE = "list-style-type";
  46.     public static final String MARGIN_TOP = "margin-top";
  47.     public static final String MARGIN_BOTTOM = "margin-bottom";
  48.     public static final String MARGIN_LEFT = "margin-left";
  49.     public static final String MARGIN_RIGHT = "margin-right";
  50.     public static final String TEXT_DECORATION = "text-decoration";
  51.     public static final String TEXT_ALIGN = "text-align";
  52.     public static final String VERTICAL_ALIGN = "vertical-align";
  53.  
  54. }
  55.