Searched refs:title (Results 126 - 150 of 202) sorted by relevance

123456789

/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaInternalFrameBorder.java171 // window title looks like: | 0 0 0(sAfterButtonPad)IconWidth Title(right pad) |
174 final String title = frame.getTitle();
176 String text = title;
370 // now the title and the icon
480 final String title = frame.getTitle();
484 if (title != null) {
485 titleWidth = SwingUtilities.computeStringWidth(fm, title);
H A DAquaTabbedPaneUI.java274 final String title;
278 title = null;
283 title = tabPane.getTitleAt(tabIndex);
286 title = null;
300 layoutLabel(tabPlacement, metrics, tabIndex < 0 ? 0 : tabIndex, title, icon, fContentRect, iconRect, textRect, false); // Never give it "isSelected" - ApprMgr handles this
322 paintTitle(g2d, font, metrics, textRect, tabIndex, title);
336 protected void paintTitle(final Graphics2D g2d, final Font font, final FontMetrics metrics, final Rectangle textRect, final int tabIndex, final String title) { argument
343 if (title == null) return;
358 SwingUtilities2.drawString(tabPane, g2d, title, textRect.x, textRect.y + metrics.getAscent());
H A DAquaTabbedPaneCopyFromBasicUI.java492 * when the title of a mnemonic changes, or when tabs are added/removed.
818 final String title = tabPane.getTitleAt(tabIndex);
823 layoutLabel(tabPlacement, metrics, tabIndex, title, icon, tabRect, iconRect, textRect, isSelected);
826 String clippedTitle = title;
830 clippedTitle = SwingUtilities2.clipStringIfNecessary(null, metrics, title, availTextWidth);
962 protected void layoutLabel(final int tabPlacement, final FontMetrics metrics, final int tabIndex, final String title, final Icon icon, final Rectangle tabRect, final Rectangle iconRect, final Rectangle textRect, final boolean isSelected) { argument
970 SwingUtilities.layoutCompoundLabel(tabPane, metrics, title, icon, SwingConstants.CENTER, SwingConstants.CENTER, SwingConstants.CENTER, SwingConstants.TRAILING, tabRect, iconRect, textRect, textIconGap);
988 protected void paintText(final Graphics g, final int tabPlacement, final Font font, final FontMetrics metrics, final int tabIndex, final String title, final Rectangle textRect, final boolean isSelected) { argument
1009 SwingUtilities2.drawStringUnderlineCharAt(tabPane, g, title, mnemIndex, textRect.x, textRect.y + metrics.getAscent());
1013 SwingUtilities2.drawStringUnderlineCharAt(tabPane, g, title, mnemInde
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWWindowPeer.java146 public void setTitle(String title) { argument
147 // allow a null title to pass as an empty string.
148 if (title == null) {
149 title = "";
151 _setTitle(title);
153 native void _setTitle(String title); argument
H A DWPrinterJob.java483 String title = null;
487 title = rb.getString("dialog.printtofile");
490 FileDialog fileDialog = new FileDialog(ownerFrame, title,
1950 public PrintToFileErrorDialog(Frame parent, String title, String message, argument
1952 super(parent, title, true);
1953 init (parent, title, message, buttonText);
1956 public PrintToFileErrorDialog(Dialog parent, String title, String message, argument
1958 super(parent, title, true);
1959 init (parent, title, message, buttonText);
1962 private void init(Component parent, String title, Strin argument
[all...]
/openjdk7/jdk/src/share/demo/applets/SpreadSheet/
H A DSpreadSheet.java52 String title; field in class:SpreadSheet
80 title = getParameter("title");
81 if (title == null) {
82 title = "Spreadsheet";
251 i = g.getFontMetrics().stringWidth(title);
252 g.drawString((title == null) ? "Spreadsheet" : title,
397 { "title", "string",
398 "The title o
[all...]
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXDecoratedPeer.java182 public void setTitle(String title) { argument
183 if (log.isLoggable(PlatformLogger.FINE)) log.fine("Title is " + title);
184 winAttr.title = title;
189 if (winAttr.title == null || winAttr.title.trim().equals("")) {
192 return winAttr.title;
H A DGtkFileDialogPeer.java56 private native void run(String title, int mode, String dir, String file, argument
/openjdk7/jdk/src/share/classes/javax/swing/
H A DProgressMonitor.java178 public JDialog createDialog(Component parentComponent, String title) { argument
183 dialog = new JDialog((Frame)window, title, false);
185 dialog = new JDialog((Dialog)window, title, false);
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/formats/html/
H A DHelpWriter.java77 String title = configuration.getText("doclet.Window_Help_title");
78 Content body = getBody(true, getWindowTitle(title));
96 Content heading = HtmlTree.HEADING(HtmlConstants.TITLE_HEADING, false, HtmlStyle.title,
H A DSerializedFormWriterImpl.java80 HtmlStyle.title, h1Content);
H A DClassUseWriter.java448 String title = configuration.getText("doclet.Window_ClassUse_Header",
450 Content bodyTree = getBody(true, getWindowTitle(title));
455 true, HtmlStyle.title, headContent);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicInternalFrameTitlePane.java46 * The class that manages a basic title bar
327 String title = frame.getTitle();
332 title = getTitle(frame.getTitle(), fm, titleW);
335 - SwingUtilities2.stringWidth(frame,fm,title);
338 SwingUtilities2.drawString(frame, g, title, titleX, baseline);
486 // Leave room for three characters in the title.
H A DBasicTabbedPaneUI.java517 * when the title of a mnemonic changes, or when tabs are added/removed.
862 String title = tabPane.getTitleAt(tabIndex);
867 layoutLabel(tabPlacement, metrics, tabIndex, title, icon,
871 String clippedTitle = title;
877 clippedTitle = SwingUtilities2.clipStringIfNecessary(null, metrics, title, availTextWidth);
879 clippedTitle = SwingUtilities2.clipStringIfNecessary(null, metrics, title, textRect.width);
1017 String title, Icon icon,
1028 metrics, title, icon,
1058 String title, Rectangle textRect,
1082 title, mnemInde
1015 layoutLabel(int tabPlacement, FontMetrics metrics, int tabIndex, String title, Icon icon, Rectangle tabRect, Rectangle iconRect, Rectangle textRect, boolean isSelected ) argument
1056 paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCPlatformEmbeddedFrame.java135 public void setTitle(String title) {} argument
H A DCViewPlatformEmbeddedFrame.java91 public void setTitle(String title) { argument
/openjdk7/jdk/src/macosx/native/sun/osxapp/
H A DNSApplicationAWT.m115 NSString *oldTitle = [anItem title];
313 [optionsDictionary setValue:[[[[[NSApp mainMenu] itemAtIndex:0] submenu] itemAtIndex:0] title] forKey:@"ApplicationName"];
/openjdk7/jdk/test/java/net/URLConnection/
H A DHandleContentTypeWithAttrs.java232 protected void startHtml(String title) { argument
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/trax/
H A DSmartTransformerFactoryImpl.java250 String title, String charset)
257 title, charset);
249 getAssociatedStylesheet(Source source, String media, String title, String charset) argument
/openjdk7/jdk/test/java/util/ResourceBundle/
H A DBug4168625Test.java469 public void logClasses(String title) { argument
470 logln(title);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifBorders.java631 // Space for the separator under the title
670 String title = popup.getLabel();
671 if (title == null) {
683 title);
692 SwingUtilities2.drawString(popup, g, title, textLoc.x, textLoc.y);
715 String title = ((JPopupMenu)c).getLabel();
716 if (title == null) {
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DCMenuBar.m142 [currItem setTitle:[menuToAdd title]];
271 [newItem setTitle:[[theNewMenu menu] title]];
363 [newItem setTitle:[sDefaultHelpMenu title]];
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DHistogram.java353 String title = (name
360 out.println(title);
362 out.println(title+" {");
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/bugspot/
H A DBugSpot.java892 private void showMessageDialog(final String message, final String title, final int jOptionPaneKind) { argument
896 JOptionPane.showInternalMessageDialog(desktop, message, title, jOptionPaneKind);
898 JOptionPane.showMessageDialog(null, message, title, jOptionPaneKind);
904 private FrameWrapper newFrame(String title) { argument
906 return new JInternalFrameWrapper(new JInternalFrame(title));
908 return new JFrameWrapper(new JFrame(title));
/openjdk7/jdk/test/java/awt/FullScreen/MultimonFullscreenTest/
H A DMultimonFullscreenTest.java104 public MultimonFullscreenTest(String title) { argument
105 super(title);

Completed in 108 milliseconds

123456789