/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | DefaultSynthStyleFactory.java | 36 * Factory used for obtaining styles. Supports associating a style based on 55 * styles. 69 * Used if there are no styles matching a widget. 126 * Returns the style to use if there are no matching styles. 138 * Fetches any styles that match the passed into arguments into 169 private void cacheStyle(List styles, SynthStyle style) { argument 170 BakedArrayList cachedStyles = new BakedArrayList(styles); 178 private SynthStyle getCachedStyle(List styles) { argument 179 if (styles.size() == 0) { 182 return _resolvedStyles.get(styles); 190 mergeStyles(List styles) argument [all...] |
/openjdk7/jdk/src/share/demo/applets/BarChart/ |
H A D | BarChart.java | 65 private int styles[]; field in class:BarChart 78 styles = new int[columns]; 147 styles[i] = SOLID; 149 styles[i] = STRIPED; 151 styles[i] = SOLID; 239 if (styles[i] == STRIPED) { 280 if (styles[i] == STRIPED) {
|
/openjdk7/jdk/src/share/classes/com/sun/beans/editors/ |
H A D | FontEditor.java | 83 if (font.getStyle() == styles[i]) { 129 int style = styles[styleChoser.getSelectedIndex()]; 214 private int[] styles = { Font.PLAIN, Font.BOLD, Font.ITALIC }; field in class:FontEditor
|
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_util.h | 268 XIMStyles *styles; /* XNQueryInputStyle result. */ member in struct:__anon967
|
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | StyleContext.java | 41 * A pool of styles and their associated resources. This class determines 49 * their immutable nature. Since many styles are replicated, the potential 86 styles = new NamedStyle(null); 96 * collection of named styles in the document). The name may 110 styles.addAttribute(nm, style); 121 styles.removeAttribute(nm); 131 return (Style) styles.getAttribute(nm); 135 * Fetches the names of the styles defined. 140 return styles.getAttributeNames(); 144 * Adds a listener to track when styles ar 734 private Style styles; field in class:StyleContext [all...] |
H A D | DefaultStyledDocument.java | 52 * styles in a manner similar to the Rich Text Format. The element 56 * style runs break at paragraph boundaries since logical styles are 78 * @param styles resources and style definitions which may 81 public DefaultStyledDocument(Content c, StyleContext styles) { argument 82 super(c, styles); 85 Style defaultStyle = styles.getStyle(StyleContext.DEFAULT_STYLE); 91 * storage implementation and a shared set of styles. 93 * @param styles the styles 95 public DefaultStyledDocument(StyleContext styles) { argument [all...] |
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_TextArea.cpp | 521 LONG styles = ::GetWindowLong(hWnd, GWL_STYLE); local 538 BOOL sb_vert_disabled = (styles & WS_VSCROLL) == 0 545 if (sb_vert_disabled && (styles & WS_HSCROLL)) {
|
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | HTMLDocument.java | 291 * @param styles the styles 293 public HTMLDocument(StyleSheet styles) { argument 294 this(new GapContent(BUFFER_SIZE_DEFAULT), styles); 303 * @param styles the styles 305 public HTMLDocument(Content c, StyleSheet styles) { argument 306 super(c, styles); 2561 if (styles != null) { 2562 styles 4029 Vector<Object> styles; field in class:HTMLDocument.HTMLReader [all...] |
H A D | StyleSheet.java | 73 * The rules are stored as named styles, and other information 76 * the named styles, and therefore the CSS rules contained. 88 * StyleSheet styles = doc.getStyleSheet(); 90 * Enumeration rules = styles.getStyleNames(); 93 * Style rule = styles.getStyle(name); 109 * highest precedence, that is they are always checked before any styles. 473 // on error we simply have no styles... the html 1300 * Adds <code>parentMapping</code> to <code>styles</code>, and 1305 Vector<SelectorMapping> styles, 1316 addSortedStyle(parentMapping, styles); 1304 getStyles(SelectorMapping parentMapping, Vector<SelectorMapping> styles, String[] tags, String[] ids, String[] classes, int index, int numElements, Hashtable<SelectorMapping, SelectorMapping> alreadyChecked) argument [all...] |