Area traits used for rendering. This class represents an area trait that specifies a value for rendering.
| 41 | * This class represents an area trait that specifies a value for rendering. |
| 42 | */ |
| 43 | public final class Trait implements Serializable { |
| 44 | |
| 45 | private static final long serialVersionUID = 3234280285391611437L; |
| 46 | |
| 47 | private Trait() { |
| 48 | } |
| 49 | |
| 50 | /** Id reference line, not resolved. (not sure if this is needed.) */ |
| 51 | //public static final Integer ID_LINK = Integer.valueOf(0); |
| 52 | |
| 53 | /** |
| 54 | * Internal link trait. |
| 55 | * Contains the PageViewport key and the PROD_ID of the target area |
| 56 | */ |
| 57 | public static final Integer INTERNAL_LINK = 1; |
| 58 | |
| 59 | /** * External link. A URL link to an external resource. */ |
| 60 | public static final Integer EXTERNAL_LINK = 2; |
| 61 | |
| 62 | /** The font triplet for the current font. */ |
| 63 | public static final Integer FONT = 3; |
| 64 | |
| 65 | /** Font size for the current font. */ |
| 66 | public static final Integer FONT_SIZE = 4; |
| 67 | |
| 68 | /** The current color. */ |
| 69 | public static final Integer COLOR = 7; |
| 70 | |
| 71 | /** The ID of the FO that produced an area. */ |
| 72 | public static final Integer PROD_ID = 8; |
| 73 | |
| 74 | /** Background trait for an area. */ |
| 75 | public static final Integer BACKGROUND = 9; |
| 76 | |
| 77 | /** Underline trait used when rendering inline parent. */ |
| 78 | public static final Integer UNDERLINE = 10; |
| 79 | |
| 80 | /** Overline trait used when rendering inline parent. */ |
| 81 | public static final Integer OVERLINE = 11; |
| 82 | |
| 83 | /** Linethrough trait used when rendering inline parent. */ |
| 84 | public static final Integer LINETHROUGH = 12; |
| 85 | |
| 86 | /** Shadow offset. */ |
| 87 | //public static final Integer OFFSET = Integer.valueOf(13); |
| 88 | |
| 89 | /** The shadow for text. */ |
| 90 | //public static final Integer SHADOW = Integer.valueOf(14); |
| 91 | |
| 92 | /** The border start. */ |
| 93 | public static final Integer BORDER_START = 15; |
| 94 | |
| 95 | /** The border end. */ |
| 96 | public static final Integer BORDER_END = 16; |
| 97 | |
| 98 | /** The border before. */ |
| 99 | public static final Integer BORDER_BEFORE = 17; |
| 100 |