Searched defs:style (Results 101 - 125 of 149) sorted by relevance

123456

/openjdk7/langtools/src/share/classes/com/sun/tools/javac/parser/
H A DScanner.java872 CommentStyle style;
874 style = CommentStyle.JAVADOC;
877 style = CommentStyle.BLOCK;
890 processComment(style);
1101 protected void processComment(CommentStyle style) { argument
1104 + "," + endPos + "," + style + ")=|"
/openjdk7/jdk/src/share/classes/sun/swing/plaf/synth/
H A DSynthFileChooserUI.java62 private SynthStyle style; field in class:SynthFileChooserUI
79 return new SynthContext(c, Region.FILE_CHOOSER, style,
85 return new SynthContext(c, Region.FILE_CHOOSER, style, state);
105 if (newStyle != style) {
106 if (style != null) {
107 style.uninstallDefaults(getContext(c, ENABLED));
109 style = newStyle;
111 style.installDefaults(context);
114 c.setBorder(new UIBorder(style.getInsets(context, null)));
117 directoryIcon = style
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJOptionPane.java165 * <dt>messageType<dd>Defines the style of the message. The Look and Feel
579 int style = styleFromMessageType(messageType);
580 JDialog dialog = pane.createDialog(parentComponent, title, style);
866 int style = styleFromMessageType(messageType);
867 JDialog dialog = pane.createDialog(parentComponent, title, style);
918 int style = styleFromMessageType(getMessageType());
919 return createDialog(parentComponent, title, style);
945 int style = styleFromMessageType(getMessageType());
947 initDialog(dialog, style, null);
952 int style)
951 createDialog(Component parentComponent, String title, int style) argument
972 initDialog(final JDialog dialog, int style, Component parentComponent) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthComboBoxUI.java46 private SynthStyle style; field in class:SynthComboBoxUI
124 SynthStyle oldStyle = style;
127 style = SynthLookAndFeel.updateStyle(context, this);
128 if (style != oldStyle) {
129 padding = (Insets) style.get(context, "ComboBox.padding");
130 popupInsets = (Insets)style.get(context, "ComboBox.popupInsets");
131 useListColors = style.getBoolean(context,
133 buttonWhenNotEditable = style.getBoolean(context,
135 pressedWhenPopupVisible = style.getBoolean(context,
137 squareButton = style
[all...]
H A DSynthTreeUI.java61 private SynthStyle style; field in class:SynthTreeUI
105 SynthStyle oldStyle = style;
107 style = SynthLookAndFeel.updateStyle(context, this);
108 if (style != oldStyle) {
111 setExpandedIcon(style.getIcon(context, "Tree.expandedIcon"));
112 setCollapsedIcon(style.getIcon(context, "Tree.collapsedIcon"));
114 setLeftChildIndent(style.getInt(context, "Tree.leftChildIndent",
116 setRightChildIndent(style.getInt(context, "Tree.rightChildIndent",
119 drawHorizontalLines = style.getBoolean(
121 drawVerticalLines = style
[all...]
H A DParsedSynthStyle.java82 public ParsedSynthStyle(DefaultSynthStyle style) { argument
83 super(style);
84 if (style instanceof ParsedSynthStyle) {
85 ParsedSynthStyle pStyle = (ParsedSynthStyle)style;
101 public DefaultSynthStyle addTo(DefaultSynthStyle style) { argument
102 if (!(style instanceof ParsedSynthStyle)) {
103 style = new ParsedSynthStyle(style);
105 ParsedSynthStyle pStyle = (ParsedSynthStyle)super.addTo(style);
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DStyleContext.java44 * by the various style definitions. This can be shared by multiple
91 * Adds a new style into the style hierarchy. Style attributes
95 * @param nm the name of the style (must be unique within the
97 * be null if the style is unnamed, but the caller is responsible
98 * for managing the reference returned as an unnamed style can't
99 * be fetched by name. An unnamed style may be useful for things
100 * like character attribute overrides such as found in a style
102 * @param parent the parent style. This may be null if unspecified
103 * attributes need not be resolved in some other style
247 getFont(String family, int style, int size) argument
1186 private int style; field in class:StyleContext.FontKey
1192 FontKey(String family, int style, int size) argument
1196 setValue(String family, int style, int size) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/
H A DHToolkit.java333 public FontPeer getFontPeer(String name, int style) { argument
H A DHeadlessToolkit.java396 public FontPeer getFontPeer(String name, int style) { argument
398 return componentFactory.getFontPeer(name, style);
/openjdk7/jdk/src/share/classes/java/text/
H A DDateFormat.java419 * Constant for full style pattern.
423 * Constant for long style pattern.
427 * Constant for medium style pattern.
431 * Constant for short style pattern.
435 * Constant for default style pattern. Its value is MEDIUM.
440 * Gets the time formatter with the default formatting style
450 * Gets the time formatter with the given formatting style
452 * @param style the given formatting style. For example,
456 public final static DateFormat getTimeInstance(int style) argument
469 getTimeInstance(int style, Locale aLocale) argument
492 getDateInstance(int style) argument
505 getDateInstance(int style, Locale aLocale) argument
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DJapaneseImperialCalendar.java937 public String getDisplayName(int field, int style, Locale locale) { argument
938 if (!checkDisplayNameParams(field, style, SHORT, LONG, locale,
943 // "GanNen" is supported only in the LONG style.
945 && (style == SHORT || get(YEAR) != 1 || get(ERA) == 0)) {
951 String key = getKey(field, style);
964 name = (style == SHORT) ? era.getAbbreviation() : era.getName();
975 public Map<String,Integer> getDisplayNames(int field, int style, Locale locale) { argument
976 if (!checkDisplayNameParams(field, style, ALL_STYLES, LONG, locale,
981 if (style == ALL_STYLES) {
997 return getDisplayNamesImpl(field, style, local
1000 getDisplayNamesImpl(int field, int style, Locale locale) argument
1028 getKey(int field, int style) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKStyle.java75 * Backing style properties that are used if the style does not
81 * The font used for this particular style, as determined at
89 /** The x/y thickness values for this particular style. */
186 * Returns color specific to the current style. This method is
557 // "scrollbar-spacing" style property to determine the padding
998 private SynthStyle style; field in class:GTKStyle.GTKStockIcon
1041 SynthStyle style = context.getStyle();
1043 if (style != this.style) {
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/
H A DWebServiceVisitor.java227 public static boolean sameStyle(SOAPBinding.Style style, SOAPStyle soapStyle) { argument
228 if (style.equals(SOAPBinding.Style.DOCUMENT) &&
231 if (style.equals(SOAPBinding.Style.RPC) &&
240 if (!sameStyle(soapBinding.style(), soapStyle)) {
245 if (soapBinding.style().equals(SOAPBinding.Style.RPC)) {
260 String style = "rpc";
261 if(soapBinding.style().equals(SOAPBinding.Style.DOCUMENT))
262 style = "document";
263 builder.onError(bindingDecl.getPosition(), WebserviceapMessages.localizableWEBSERVICE_ENCODED_NOT_SUPPORTED(classDecl.getQualifiedName(), style));
279 if (soapBinding.style()
807 public Style style() {return SOAPBinding.Style.DOCUMENT;} method in class:WebServiceVisitor.MySOAPBinding
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_Font.c92 fontIDs.style = (*env)->GetFieldID(env, cls, "style", "I");
270 char *family = NULL, *style = NULL, *slant = NULL, *encoding = NULL; local
300 style = start;
333 /* Regular is the style for TrueType fonts -- Type1, F3 use roman */
334 if (strcmp(style, "regular") == 0) {
345 family, style, slant, pointSize, encoding);
361 family, style, slant, pixelSize, encoding);
374 style, slant, pixelSize, encoding);
402 family, style, slan
646 char *style = NULL; local
[all...]
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_DesktopProperties.cpp196 // since they depend on XP style. ThemeActive property is
197 // '1' for XP Style, '0' for Windows classic style.
199 LPTSTR style = getXPStylePropFromReg(TEXT("ThemeActive")); local
200 BOOL result = (style != NULL && *style == _T('1'));
201 free(style);
725 jint style = java_awt_Font_PLAIN; local
728 style = java_awt_Font_BOLD;
731 style |= java_awt_Font_ITALIC;
737 key, fontName, style, pointSiz
750 jint style; local
[all...]
H A Dawt_ScrollPane.cpp110 DWORD style = WS_CHILD | WS_CLIPCHILDREN | WS_CLIPSIBLINGS; local
116 style |= WS_HSCROLL | WS_VSCROLL;
130 c->CreateHWnd(env, L"", style, exStyle,
H A Dawt_Scrollbar.cpp131 DWORD style = WS_CHILD | WS_CLIPSIBLINGS | local
139 c->CreateHWnd(env, L"", style, 0,
H A Dawt_Choice.cpp129 DWORD style = WS_CHILD | WS_CLIPSIBLINGS | WS_VSCROLL | local
162 c->CreateHWnd(env, L"", style, exStyle,
H A Dawt_Dialog.cpp124 // WS_POPUP style for the dialog. Using toolkit window here. That
136 DWORD style = WS_CAPTION | WS_SYSMENU | WS_CLIPCHILDREN; local
138 style |= WS_POPUP;
140 style &= ~(WS_MINIMIZEBOX|WS_MAXIMIZEBOX);
151 style = WS_POPUP | WS_CLIPCHILDREN;
162 style, exStyle,
535 LONG style = GetStyle(); local
545 style &= ~(WS_MINIMIZEBOX|WS_MAXIMIZEBOX);
546 SetStyle(style);
H A Dawt_List.cpp112 DWORD style = WS_CHILD | WS_CLIPSIBLINGS | WS_VSCROLL | WS_HSCROLL | local
120 style |= WS_VISIBLE;
133 c->CreateHWnd(env, L"", style, exStyle,
280 DWORD style = ::GetWindowLong(GetListHandle(), GWL_STYLE) | WS_VSCROLL | WS_HSCROLL; local
282 style |= LBS_MULTIPLESEL;
284 style &= ~LBS_MULTIPLESEL;
292 CreateHWnd(env, L"", style, exStyle,
H A Dawt_TextComponent.cpp111 /* Adjust style for scrollbar visibility and word wrap */
136 DWORD style = WS_CHILD | WS_CLIPSIBLINGS | ES_LEFT; local
139 * Specify ES_DISABLENOSCROLL - RichEdit control style to disable
142 style |= isMultiline ? ES_MULTILINE | ES_WANTRETURN | scroll_style
159 c->CreateHWnd(env, L"", style, exStyle,
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DSynthPainterImpl.java41 private NimbusStyle style; field in class:SynthPainterImpl
43 SynthPainterImpl(NimbusStyle style) { argument
44 this.style = style;
99 Painter backgroundPainter = style.getBackgroundPainter(ctx);
108 Painter foregroundPainter = style.getForegroundPainter(ctx);
116 Painter borderPainter = style.getBorderPainter(ctx);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsLookAndFeel.java117 private transient LayoutStyle style; field in class:WindowsLookAndFeel
625 // from the current visual style.
1991 * component UI delegates as a hint to determine which style the component
2031 LayoutStyle style = this.style;
2032 if (style == null) {
2033 style = new WindowsLayoutStyle();
2034 this.style = style;
2036 return style;
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DFont.java151 * associated with a font face, each differing in size, style, transform
310 * The plain style constant.
315 * The bold style constant. This can be combined with the other style
321 * The italicized style constant. This can be combined with the other
322 * style constants (except PLAIN) for mixed styles.
375 * The style of this <code>Font</code>, as passed to the constructor.
376 * This style can be PLAIN, BOLD, ITALIC, or BOLD+ITALIC.
382 protected int style; field in class:Font
453 this.peer = tk.getFontPeer(name, style);
566 Font(String name, int style, int size) argument
573 Font(String name, int style, float sizePts) argument
581 Font(String name, int style, float sizePts, boolean created, Font2DHandle handle) argument
1864 deriveFont(int style, float size) argument
1886 deriveFont(int style, AffineTransform trans) argument
1933 deriveFont(int style) argument
2674 applyStyle(int style, AttributeValues values) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DLWCToolkit.java273 public OSXPlatformFont(String name, int style) argument
275 super(name, style);
283 public FontPeer getFontPeer(String name, int style) { argument
284 return new OSXPlatformFont(name, style);
632 * The style field of the input method highlight is ignored. The map
635 * @return style attribute map, or null

Completed in 166 milliseconds

123456