Searched refs:CSS (Results 1 - 14 of 14) sorted by relevance

/openjdk7/langtools/test/tools/javac/generics/6218229/
H A DT6218229.java34 static abstract class CSS<X, Y> implements St<CSS<X, Y>, CSN<X, Y>> {}; class in class:T6218229
35 static final class CSN<X, Y> extends CSS<X, Y> implements Ac<CSS<X, Y>, CSN<X, Y>> {};
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DCSS.java47 * <a href="http://www.w3.org/TR/REC-CSS1">CSS attributes</a>
49 * CSS attributes to determine how they will render. This also defines
50 * methods to map between CSS/HTML/StyleConstants. Any shorthand
52 * <p>The following describes the CSS properties that are suppored by the
126 public class CSS implements Serializable { class in inherits:Serializable
130 * that might hold CSS attributes. Since this is a
145 * CSS specification.
384 // All possible CSS attribute keys.
431 * CSS specification.
478 public CSS() { method in class:CSS
[all...]
H A DBlockView.java36 * with CSS specifications.
82 * CSS width or height attribute is specified and applicable to
112 * CSS width or height attribute is specified and applicable to
162 * Set the alignment based upon the CSS properties if it is
167 Object o = getAttributes().getAttribute(CSS.Attribute.TEXT_ALIGN);
197 * Adjust the given requirements to the CSS width or height if
203 CSS.LengthValue cssWidth,
204 CSS.LengthValue cssHeight) {
237 Object key = (axis == X_AXIS) ? CSS.Attribute.WIDTH : CSS
[all...]
H A DHRuleView.java82 value = attr.getAttribute(CSS.Attribute.WIDTH);
83 if (value != null && (value instanceof CSS.LengthValue)) {
84 widthValue = (CSS.LengthValue)value;
86 topMargin = getLength(CSS.Attribute.MARGIN_TOP, attr);
87 bottomMargin = getLength(CSS.Attribute.MARGIN_BOTTOM, attr);
88 leftMargin = getLength(CSS.Attribute.MARGIN_LEFT, attr);
89 rightMargin = getLength(CSS.Attribute.MARGIN_RIGHT, attr);
99 private float getLength(CSS.Attribute key, AttributeSet a) {
100 CSS.LengthValue lv = (CSS
[all...]
H A DParagraphView.java109 Object o = attr.getAttribute(CSS.Attribute.TEXT_ALIGN);
124 cssWidth = (CSS.LengthValue)attr.getAttribute(
125 CSS.Attribute.WIDTH);
126 cssHeight = (CSS.LengthValue)attr.getAttribute(
127 CSS.Attribute.HEIGHT);
292 private CSS.LengthValue cssWidth;
293 private CSS.LengthValue cssHeight;
H A DStyleSheet.java45 * differently, etc. This can be thought of as a CSS
46 * rule repository. The key for CSS attributes is an
47 * object of type CSS.Attribute. The type of the value
50 * to return a string representation of CSS value.
61 * holds the document-specific CSS specifications.
76 * the named styles, and therefore the CSS rules contained.
102 * The semantics for when a CSS style should overide visual attributes
105 * background. But if the html file also contains the CSS rule
113 * As already mentioned this supports CSS. We don't support the full CSS
[all...]
H A DInlineView.java189 Object decor = a.getAttribute(CSS.Attribute.TEXT_DECORATION);
196 Object vAlign = a.getAttribute(CSS.Attribute.VERTICAL_ALIGN);
202 Object whitespace = a.getAttribute(CSS.Attribute.WHITE_SPACE);
H A DHTMLWriter.java929 if (attribute instanceof CSS.Attribute) {
1008 * If true, the writer will emit CSS attributes in preference
1028 * mapping over to an HTML tag/attribute. Other CSS attributes
1039 if (key instanceof CSS.Attribute) {
1040 if ((key == CSS.Attribute.FONT_FAMILY) ||
1041 (key == CSS.Attribute.FONT_SIZE) ||
1042 (key == CSS.Attribute.COLOR)) {
1044 createFontAttribute((CSS.Attribute)key, from, to);
1045 } else if (key == CSS.Attribute.FONT_WEIGHT) {
1047 CSS
[all...]
H A DTableView.java216 Object align = a.getAttribute(CSS.Attribute.CAPTION_SIDE);
240 CSS.LengthValue lv = (CSS.LengthValue)
241 attr.getAttribute(CSS.Attribute.BORDER_SPACING);
248 lv = (CSS.LengthValue)
249 attr.getAttribute(CSS.Attribute.BORDER_TOP_WIDTH);
301 CSS.LengthValue lv = (CSS.LengthValue)
302 a.getAttribute(CSS.Attribute.WIDTH);
376 CSS
[all...]
H A DCSSBorder.java40 import javax.swing.text.html.CSS.Attribute;
41 import javax.swing.text.html.CSS.BorderStyle;
42 import javax.swing.text.html.CSS.BorderWidthValue;
43 import javax.swing.text.html.CSS.ColorValue;
44 import javax.swing.text.html.CSS.CssValue;
45 import javax.swing.text.html.CSS.LengthValue;
46 import javax.swing.text.html.CSS.Value;
49 * CSS-style borders for HTML elements.
270 * Painter for the "none" and "hidden" CSS border styles.
279 * Painter for the "solid" CSS borde
[all...]
H A DHTMLDocument.java526 * rules (CSS) that were specified in the HTML document itself.
601 getStyleSheet().addCSSAttributeFromHTML(a, CSS.Attribute.MARGIN_TOP, "0");
3077 attr.addAttribute(CSS.Attribute.WHITE_SPACE, "pre");
3126 * and CSS mapping. The conversion is to CSS attributes.
3159 sheet.addCSSAttribute(charAttr, CSS.Attribute.FONT_WEIGHT, "bold");
3161 sheet.addCSSAttribute(charAttr, CSS.Attribute.FONT_STYLE, "italic");
3163 Object v = charAttr.getAttribute(CSS.Attribute.TEXT_DECORATION);
3166 sheet.addCSSAttribute(charAttr, CSS.Attribute.TEXT_DECORATION, value);
3168 Object v = charAttr.getAttribute(CSS
[all...]
H A DMinimalHTMLWriter.java80 // Used to map StyleConstants to CSS.
81 private static final CSS css = new CSS();
687 * returns the name that should be used when outputting. CSS does not
H A DHTMLEditorKit.java110 * The View implementations work primarily off of CSS attributes,
114 * most HTML attributes, the HTML attributes are converted to CSS
366 * CSS specifications. Each document produced by the kit
1136 CSS.Attribute.WHITE_SPACE);
/openjdk7/jdk/test/java/nio/charset/spi/
H A Dbasic.sh52 CSS='US-ASCII 8859_1 iso-ir-6 UTF-16 windows-1252 !BAR cp1252'
105 none) css="$CSS FOO";;
109 minimal-policy) css="$CSS !FOO";
111 cp-policy) css="$CSS FOO";

Completed in 574 milliseconds