/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WFontPeer.java | 34 public WFontPeer(String name, int style){ argument 35 super(name, style); 37 textComponentFontName = ((WFontConfiguration) fontConfig).getTextComponentFontName(familyName, style);
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | LayoutStyle.java | 48 * @param style the <code>LayoutStyle</code>, or <code>null</code> 51 public static void setInstance(LayoutStyle style) { argument 53 if (style == null) { 57 AppContext.getAppContext().put(LayoutStyle.class, style); 71 LayoutStyle style; 73 style = (LayoutStyle)AppContext.getAppContext(). 76 if (style == null) { 79 return style;
|
/openjdk7/jdk/src/share/classes/sun/swing/plaf/synth/ |
H A D | StyleAssociation.java | 36 * StyleAssociation is used to lookup a style for a particular 43 * The style 67 String text, SynthStyle style) 69 return createStyleAssociation(text, style, 0); 77 String text, SynthStyle style, int id) 79 return new StyleAssociation(text, style, id); 83 private StyleAssociation(String text, SynthStyle style, int id) argument 85 _style = style; 126 * Returns the style this association is mapped to. 128 * @return the style thi 66 createStyleAssociation( String text, SynthStyle style) argument 76 createStyleAssociation( String text, SynthStyle style, int id) argument [all...] |
H A D | DefaultSynthStyle.java | 42 * merged into a resulting style. 91 * style. Any StateInfo's of the passed in style are clonsed as well. 93 * @param style Style to duplicate 95 public DefaultSynthStyle(DefaultSynthStyle style) { argument 96 opaque = style.opaque; 97 if (style.insets != null) { 98 insets = new Insets(style.insets.top, style.insets.left, 99 style 482 addTo(DefaultSynthStyle style) argument [all...] |
/openjdk7/jdk/test/java/text/Format/DateFormat/ |
H A D | Bug6683975.java | 54 private static void test(int style) { argument 55 DateFormat df_th = DateFormat.getDateTimeInstance(style, style, th); 56 DateFormat df_th_TH = DateFormat.getDateTimeInstance(style, style, th_TH); 62 System.err.println("Error: Pattern for th locale should be the same as pattern for th_TH locale. (" + stylePattern[style] + ")"); 69 if (!expected_th[style].equals(str_th)) { 71 System.err.println("Error: Formatted date in th locale is incorrect in " + stylePattern[style] + " pattern."); 72 System.err.println("\tExpected: " + expected_th[style]); 77 if (!expected_th_TH[style] [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/motif/ |
H A D | MFontPeer.java | 54 public MFontPeer(String name, int style){ argument 55 super(name, style); 58 xfsname = ((MFontConfiguration) fontConfig).getMotifFontSet(familyName, style);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/ |
H A D | FontUIResource.java | 52 public FontUIResource(String name, int style, int size) { argument 53 super(name, style, size);
|
/openjdk7/jdk/src/share/classes/java/text/spi/ |
H A D | DateFormatProvider.java | 50 * with the given formatting style for the specified locale. 51 * @param style the given formatting style. Either one of 57 * @exception IllegalArgumentException if <code>style</code> is invalid, 66 public abstract DateFormat getTimeInstance(int style, Locale locale); argument 70 * with the given formatting style for the specified locale. 71 * @param style the given formatting style. Either one of 77 * @exception IllegalArgumentException if <code>style</code> is invalid, 86 public abstract DateFormat getDateInstance(int style, Local argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XFontPeer.java | 49 public XFontPeer(String name, int style){ argument 50 super(name, style);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthContext.java | 46 private SynthStyle style; field in class:SynthContext 56 Region region, SynthStyle style, 78 context.reset(component, region, style, state); 105 * @param style Style associated with the component 107 * @throws NullPointerException if component, region of style is null. 109 public SynthContext(JComponent component, Region region, SynthStyle style, argument 111 if (component == null || region == null || style == null) { 113 "You must supply a non-null component, region and style"); 115 reset(component, region, style, state); 144 void setStyle(SynthStyle style) { argument 55 getContext(Class type, JComponent component, Region region, SynthStyle style, int state) argument 178 reset(JComponent component, Region region, SynthStyle style, int state) argument [all...] |
H A D | SynthTextPaneUI.java | 79 * Sets opaqueness of the associated component according to its style, 111 * the appropriate property is set in the default style of 134 * Update the color in the default style of the document. 137 * from the document's style 141 Style style = doc.getStyle(StyleContext.DEFAULT_STYLE); 143 if (style == null) { 148 style.removeAttribute(StyleConstants.Foreground); 150 StyleConstants.setForeground(style, color); 155 * Update the font in the default style of the document. 158 * from the document's style [all...] |
H A D | DefaultSynthStyleFactory.java | 36 * Factory used for obtaining styles. Supports associating a style based on 64 * Maps from a List (BakedArrayList to be precise) to the merged style. 80 public synchronized void addStyle(DefaultSynthStyle style, argument 88 path, style, type)); 92 path.toLowerCase(), style, type)); 97 * Returns the style for the specified Component. 113 SynthStyle style = getCachedStyle(matches); 115 if (style == null) { 116 style = mergeStyles(matches); 118 if (style ! 169 cacheStyle(List styles, SynthStyle style) argument [all...] |
H A D | SynthListUI.java | 45 private SynthStyle style; field in class:SynthListUI 133 SynthStyle oldStyle = style; 135 style = SynthLookAndFeel.updateStyle(context, this); 137 if (style != oldStyle) { 141 list.setSelectionBackground(style.getColor( 147 list.setSelectionForeground(style.getColor( 151 useListColors = style.getBoolean(context, 153 useUIBorder = style.getBoolean(context, 156 int height = style.getInt(context, "List.cellHeight", -1); 177 style [all...] |
H A D | SynthInternalFrameUI.java | 47 private SynthStyle style; field in class:SynthInternalFrameUI 103 SynthStyle oldStyle = style; 105 style = SynthLookAndFeel.updateStyle(context, this); 106 if (style != oldStyle) { 126 style.uninstallDefaults(context); 128 style = null; 145 SynthLookAndFeel.getRegion(c), style, state); 261 SynthStyle oldStyle = style; 269 if (style == oldStyle && 274 style [all...] |
/openjdk7/jdk/src/share/classes/java/awt/im/ |
H A D | InputMethodHighlight.java | 36 * text is selected; at the concrete level it specifies style attributes used 41 * If no concrete style is provided, a renderer should use 42 * {@link java.awt.Toolkit#mapInputMethodHighlight} to map to a concrete style. 109 * The variation is set to 0, the style to null. 122 * The style is set to null. 125 * @param variation The style variation for the text range 136 * The style attributes map provided must be unmodifiable. 140 * @param style the rendering style attributes for the text range, or null 147 Map<TextAttribute,?> style) 146 InputMethodHighlight(boolean selected, int state, int variation, Map<TextAttribute,?> style) argument 193 private Map style; field in class:InputMethodHighlight [all...] |
/openjdk7/jdk/src/share/classes/java/util/spi/ |
H A D | TimeZoneNameProvider.java | 66 * @param style either {@link java.util.TimeZone#LONG TimeZone.LONG} or 71 * @exception IllegalArgumentException if <code>style</code> is invalid, 79 public abstract String getDisplayName(String ID, boolean daylight, int style, Locale locale); argument
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | prefetch.hpp | 38 enum style { enum in class:Prefetch
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/soap/ |
H A D | SOAPBinding.java | 43 protected Style style = Style.DOCUMENT; field in class:SOAPBinding 58 return style; 72 return style == Style.DOCUMENT && use == Use.LITERAL; 79 return style == Style.RPC && use == Use.LITERAL; 88 * <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/model/soap/ |
H A D | SOAPBindingImpl.java | 46 this.style = sb.getStyle(); 52 * @param style The style to set. 54 public void setStyle(Style style) { argument 55 this.style = style;
|
/openjdk7/jdk/src/macosx/native/sun/font/ |
H A D | AWTFont.h | 39 style:(int)style isFakeItalic:(BOOL)isFakeItalic;
|
H A D | AWTStrike.h | 43 + (AWTStrike *) awtStrikeForFont:(AWTFont *)awtFont tx:(CGAffineTransform)tx invDevTx:(CGAffineTransform)invDevTx style:(JRSFontRenderingStyle)style aaStyle:(jint)aaStyle;
|
/openjdk7/jdk/src/share/classes/sun/util/ |
H A D | BuddhistCalendar.java | 176 public String getDisplayName(int field, int style, Locale locale) { argument 178 return super.getDisplayName(field, style, locale); 183 style < SHORT || style > LONG) { 190 String[] eras = rb.getStringArray(getKey(style)); 194 public Map<String,Integer> getDisplayNames(int field, int style, Locale locale) { argument 196 return super.getDisplayNames(field, style, locale); 201 style < ALL_STYLES || style > LONG) { 208 if (style 224 getDisplayNamesImpl(int field, int style, Locale locale) argument 234 getKey(int style) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicEditorPaneUI.java | 288 Style style = ((StyledDocument) document).getStyle(StyleContext.DEFAULT_STYLE); 289 if (style.getAttribute(FONT_ATTRIBUTE_KEY) != null) { 290 style.removeAttribute(FONT_ATTRIBUTE_KEY); 320 Style style = ((StyledDocument) document).getStyle(StyleContext.DEFAULT_STYLE); 321 if (! font.equals(style.getAttribute(FONT_ATTRIBUTE_KEY))) { 322 style.addAttribute(FONT_ATTRIBUTE_KEY, font); 333 * Update the color in the default style of the document. 336 * from the document's style 340 Style style = doc.getStyle(StyleContext.DEFAULT_STYLE); 342 if (style [all...] |
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | FontManager.java | 65 * The client supplies a name and a style. 67 * A font may exist with the specified style, or it may 68 * exist only in some other style. For non-native fonts the scaler 69 * may be able to emulate the required style. 71 public Font2D findFont2D(String name, int style, int fallback); argument 103 * @param style the font style of the derived font 108 public Font2DHandle getNewComposite(String family, int style, argument
|
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | MinimalHTMLWriter.java | 43 * <style> 51 * </style> 54 * <p style=normal> 58 * part of the style attribute of a <span> tag. 97 * Maps from style name as held by the Document, to the archived 98 * style name (style name written out). These may differ. 223 * Writes out the <head> and <style> 226 * <style> tag. The content is surrounded by 235 writeStartTag("<style>"); 641 startFontTag(String style) argument 662 startSpanTag(String style) argument 690 addStyleName(String style) argument 714 mapStyleName(String style) argument [all...] |