KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > internal > intro > impl > html > IIntroHTMLConstants


1 /*******************************************************************************
2  * Copyright (c) 2004, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.ui.internal.intro.impl.html;
12
13 public interface IIntroHTMLConstants {
14
15     /* Constants required for creating html element tags */
16     String JavaDoc LT = "<"; //$NON-NLS-1$
17
String JavaDoc GT = ">"; //$NON-NLS-1$
18
String JavaDoc FORWARD_SLASH = "/"; //$NON-NLS-1$
19
String JavaDoc QUOTE = "\""; //$NON-NLS-1$
20
String JavaDoc EQUALS = "="; //$NON-NLS-1$
21
String JavaDoc HYPHEN = "-"; //$NON-NLS-1$
22
String JavaDoc SPACE = " "; //$NON-NLS-1$
23
String JavaDoc NEW_LINE = "\n"; //$NON-NLS-1$
24
String JavaDoc TAB = "\t"; //$NON-NLS-1$
25
String JavaDoc SMALL_TAB = " "; //$NON-NLS-1$
26

27     /* HTML element names */
28     String JavaDoc ELEMENT_HTML = "HTML"; //$NON-NLS-1$
29
String JavaDoc ELEMENT_HEAD = "HEAD"; //$NON-NLS-1$
30
String JavaDoc ELEMENT_BASE = "BASE"; //$NON-NLS-1$
31
String JavaDoc ELEMENT_BODY = "BODY"; //$NON-NLS-1$
32
String JavaDoc ELEMENT_TITLE = "TITLE"; //$NON-NLS-1$
33
String JavaDoc ELEMENT_LINK = "LINK"; //$NON-NLS-1$
34
String JavaDoc ELEMENT_DIV = "DIV"; //$NON-NLS-1$
35
String JavaDoc ELEMENT_SPAN = "SPAN"; //$NON-NLS-1$
36
String JavaDoc ELEMENT_ANCHOR = "A"; //$NON-NLS-1$
37
String JavaDoc ELEMENT_OBJECT = "OBJECT"; //$NON-NLS-1$
38
String JavaDoc ELEMENT_IMG = "IMG"; //$NON-NLS-1$
39
String JavaDoc ELEMENT_H1 = "H1"; //$NON-NLS-1$
40
String JavaDoc ELEMENT_H2 = "H2"; //$NON-NLS-1$
41
String JavaDoc ELEMENT_H3 = "H3"; //$NON-NLS-1$
42
String JavaDoc ELEMENT_H4 = "H4"; //$NON-NLS-1$
43
String JavaDoc ELEMENT_HR = "HR"; //$NON-NLS-1$
44
String JavaDoc ELEMENT_PARAGRAPH = "P"; //$NON-NLS-1$
45
String JavaDoc ELEMENT_STYLE = "STYLE"; //$NON-NLS-1$
46
String JavaDoc ELEMENT_IFrame = "iFrame"; //$NON-NLS-1$
47

48     /* HTML attribute names */
49     String JavaDoc ATTRIBUTE_ID = "id"; //$NON-NLS-1$
50
String JavaDoc ATTRIBUTE_CLASS = "class"; //$NON-NLS-1$
51
String JavaDoc ATTRIBUTE_STYLE = "style"; //$NON-NLS-1$
52
String JavaDoc ATTRIBUTE_HREF = "href"; //$NON-NLS-1$
53
String JavaDoc ATTRIBUTE_RELATIONSHIP = "rel"; //$NON-NLS-1$
54
String JavaDoc ATTRIBUTE_SRC = "src"; //$NON-NLS-1$
55
String JavaDoc ATTRIBUTE_TYPE = "type"; //$NON-NLS-1$
56
String JavaDoc ATTRIBUTE_DATA = "data"; //$NON-NLS-1$
57
String JavaDoc ATTRIBUTE_ALT = "alt"; //$NON-NLS-1$
58
String JavaDoc ATTRIBUTE_FRAMEBORDER = "frameborder"; //$NON-NLS-1$
59
String JavaDoc ATTRIBUTE_SCROLLING = "scrolling"; //$NON-NLS-1$
60

61     /* HTML attribute values */
62     String JavaDoc LINK_REL = "stylesheet"; //$NON-NLS-1$
63
String JavaDoc LINK_STYLE = "text/css"; //$NON-NLS-1$
64
String JavaDoc OBJECT_TYPE = "text/html"; //$NON-NLS-1$
65

66     String JavaDoc DIV_ID_PAGE = "page"; //$NON-NLS-1$
67
String JavaDoc DIV_CLASS_INLINE_HTML = "inline-html"; //$NON-NLS-1$
68
String JavaDoc DIV_CLASS_PROVIDED_CONTENT = "provided-content"; //$NON-NLS-1$
69

70     String JavaDoc ANCHOR_CLASS_LINK = "link"; //$NON-NLS-1$
71
String JavaDoc IMAGE_SRC_BLANK = "icons/blank.gif"; //$NON-NLS-1$
72
String JavaDoc IMAGE_CLASS_BG = "background-image"; //$NON-NLS-1$
73
String JavaDoc LINK_EXTRA_DIV = "link-extra-div"; //$NON-NLS-1$
74
String JavaDoc SPAN_CLASS_DIV_LABEL = "div-label"; //$NON-NLS-1$
75
String JavaDoc SPAN_CLASS_LINK_LABEL = "link-label"; //$NON-NLS-1$
76
String JavaDoc SPAN_CLASS_TEXT = "text"; //$NON-NLS-1$
77

78     /* HTML style */
79     String JavaDoc STYLE_HTML = "HTML, BODY, IMG { border: 0px; }"; //$NON-NLS-1$
80
}
81
Popular Tags