Searched refs:buttonHeight (Results 1 - 9 of 9) sorted by relevance

/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaInternalFrameBorderMetrics.java39 public int buttonHeight; field in class:AquaInternalFrameBorderMetrics
66 buttonHeight = 15;
83 buttonHeight = 12;
100 buttonHeight = 15;
117 buttonHeight = 13;
H A DAquaInternalFrameBorder.java301 final int startY = (i.top - metrics.titleBarHeight / 2) - (metrics.buttonHeight / 2) - 1;
302 final int endY = startY + metrics.buttonHeight;
430 int y = (metrics.titleBarHeight - metrics.buttonHeight) / 2 - metrics.titleBarHeight;
459 widgetPainter.paint(g, frame, x, y, metrics.buttonWidth, metrics.buttonHeight);
H A DAquaComboBoxUI.java415 final int buttonHeight = height - (insets.top + insets.bottom);
419 arrowButton.setBounds(width - (insets.right + buttonWidth), insets.top, buttonWidth, buttonHeight);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalTitlePane.java908 int buttonHeight;
912 buttonHeight = closeButton.getIcon().getIconHeight();
916 buttonHeight = IMAGE_HEIGHT;
928 menuBar.setBounds(x, y, buttonWidth, buttonHeight);
935 closeButton.setBounds(x, y, buttonWidth, buttonHeight);
946 toggleButton.setBounds(x, y, buttonWidth, buttonHeight);
956 iconifyButton.setBounds(x, y, buttonWidth, buttonHeight);
H A DMetalInternalFrameTitlePane.java274 int buttonHeight = closeButton.getIcon().getIconHeight();
286 closeButton.setBounds(x, y, buttonWidth, buttonHeight);
294 maxButton.setBounds(x, y, buttonWidth, buttonHeight);
302 iconButton.setBounds(x, y, buttonWidth, buttonHeight);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsInternalFrameTitlePane.java52 private int buttonWidth, buttonHeight; field in class:WindowsInternalFrameTitlePane
71 buttonHeight = UIManager.getInt("InternalFrame.titleButtonHeight") - 4;
81 buttonWidth = buttonHeight;
440 y = (h - buttonHeight) / 2;
445 x, y, buttonWidth, buttonHeight, 2,
451 x, y, buttonWidth, buttonHeight, (xp != null) ? 2 : 0,
457 x, y, buttonWidth, buttonHeight, 0,
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicInternalFrameTitlePane.java526 int buttonHeight = closeButton.getIcon().getIconHeight();
539 closeButton.setBounds(x, (h - buttonHeight) / 2, 16, 14);
544 maxButton.setBounds(x, (h - buttonHeight) / 2, 16, 14);
549 iconButton.setBounds(x, (h - buttonHeight) / 2, 16, 14);
H A DBasicComboBoxUI.java925 int buttonHeight = size.height;
926 int buttonWidth = squareButton ? buttonHeight : arrowButton.getPreferredSize().width;
1904 int buttonHeight = height - (insets.top + insets.bottom);
1905 int buttonWidth = buttonHeight;
1909 buttonHeight :
1917 insets.top, buttonWidth, buttonHeight);
1920 buttonWidth, buttonHeight);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DMetacity.java747 int buttonHeight = buttonDim.height;
749 buttonHeight += button_border.top + button_border.bottom;
751 int height = Math.max(buttonHeight, titleHeight);
1011 int buttonHeight = getInt("button_height");
1012 if (buttonHeight == 0) {
1013 buttonHeight = titlePane.getHeight();
1014 if (buttonHeight == 0) {
1015 buttonHeight = 13;
1019 buttonHeight -= (button_border.top + button_border.bottom);
1025 buttonWidth = buttonHeight;
[all...]

Completed in 297 milliseconds