Searched refs:MetalUtils (Results 1 - 20 of 20) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalMenuBarUI.java104 MetalUtils.drawGradient(c, g, "MenuBar.gradient", 0, 0,
111 MetalUtils.drawGradient(c, g, "MenuBar.gradient", 0, 0,
H A DMetalCheckBoxIcon.java73 MetalUtils.drawPressed3DBorder(g, x, y, controlSize, controlSize);
76 MetalUtils.drawFlush3DBorder(g, x, y, controlSize, controlSize);
H A DMetalScrollButton.java79 boolean leftToRight = MetalUtils.isLeftToRight(this);
142 MetalUtils.drawDisabledBorder(g, 0, 0, width, height+1);
197 MetalUtils.drawDisabledBorder(g, 0,-1, width, height+1);
250 MetalUtils.drawDisabledBorder(g,-1,0, width+1, height);
298 MetalUtils.drawDisabledBorder(g,0,0, width+1, height);
H A DMetalButtonUI.java134 if (!MetalUtils.isToolBarButton(c)) {
136 MetalUtils.drawGradient(
143 else if (model.isRollover() && MetalUtils.drawGradient(
H A DMetalToggleButtonUI.java136 if (!MetalUtils.isToolBarButton(c)) {
138 MetalUtils.drawGradient(
146 MetalUtils.drawGradient(c, g, "ToggleButton.gradient",
H A DMetalBorders.java64 MetalUtils.drawFlush3DBorder(g, x, y, w, h);
66 MetalUtils.drawDisabledBorder(g, x, y, w, h);
96 MetalUtils.drawDefaultButtonPressedBorder(g, x, y, w, h);
98 MetalUtils.drawPressed3DBorder( g, x, y, w, h );
100 MetalUtils.drawDefaultButtonBorder( g, x, y, w, h, false);
102 MetalUtils.drawButtonBorder( g, x, y, w, h, false);
105 MetalUtils.drawDisabledBorder( g, x, y, w-1, h-1 );
115 if (MetalUtils.isToolBarButton(button)) {
704 if( MetalUtils.isLeftToRight(c) ) {
819 MetalUtils
[all...]
H A DMetalScrollBarUI.java149 boolean leftToRight = MetalUtils.isLeftToRight(c);
178 MetalUtils.drawDisabledBorder(g, 0, 0, trackBounds.width, trackBounds.height );
211 MetalUtils.drawDisabledBorder(g, 0, 0, trackBounds.width, trackBounds.height );
233 boolean leftToRight = MetalUtils.isLeftToRight(c);
295 boolean leftToRight = MetalUtils.isLeftToRight(c);
319 MetalUtils.drawGradient(c, g, "ScrollBar.gradient", 2, 2,
361 MetalUtils.drawGradient(c, g, "ScrollBar.gradient", 2, 2,
H A DMetalProgressBarUI.java74 boolean isLeftToRight = MetalUtils.isLeftToRight(c);
153 boolean isLeftToRight = MetalUtils.isLeftToRight(c);
H A DMetalToolBarUI.java315 MetalUtils.drawGradient(c, g, "MenuBar.gradient",
323 if (MetalUtils.drawGradient(c, g, "MenuBar.gradient",
374 int x = MetalUtils.isLeftToRight(toolBar) ? 0 : toolBar.getSize().width-14;
382 if (!MetalUtils.isLeftToRight(toolBar)) {
H A DMetalInternalFrameTitlePane.java265 boolean leftToRight = MetalUtils.isLeftToRight(frame);
311 boolean leftToRight = MetalUtils.isLeftToRight(frame);
346 boolean leftToRight = MetalUtils.isLeftToRight(frame);
401 if (!MetalUtils.drawGradient(this, g, gradientKey, 0, 0, width,
H A DMetalSliderUI.java179 if (MetalUtils.isLeftToRight(slider)) {
202 boolean leftToRight = MetalUtils.isLeftToRight(slider);
307 boolean leftToRight = MetalUtils.isLeftToRight(slider);
538 if (MetalUtils.isLeftToRight(slider)) {
549 if (MetalUtils.isLeftToRight(slider)) {
H A DMetalIconFactory.java1065 MetalUtils.drawGradient(c, g, "CheckBox.gradient", 0, 0,
1074 MetalUtils.drawGradient(c, g, "CheckBox.gradient", 0, 0,
1102 MetalUtils.drawPressed3DBorder(g, x, y, controlSize, controlSize);
1104 MetalUtils.drawFlush3DBorder(g, x, y, controlSize, controlSize);
1147 MetalUtils.drawGradient(c, g, "RadioButton.gradient",
1767 if (image == null || cachedOrientation != MetalUtils.isLeftToRight(c)) {
1768 cachedOrientation = MetalUtils.isLeftToRight(c);
1785 if (MetalUtils.isLeftToRight(c)) {
1811 int xoff = (MetalUtils.isLeftToRight(c)) ? 0 : 4;
1829 if( MetalUtils
[all...]
H A DMetalComboBoxButton.java111 boolean leftToRight = MetalUtils.isLeftToRight(comboBox);
H A DMetalTitlePane.java451 int mnemonic = MetalUtils.getInt("MetalTitlePane.restoreMnemonic", -1);
458 mnemonic = MetalUtils.getInt("MetalTitlePane.iconifyMnemonic", -1);
467 MetalUtils.getInt("MetalTitlePane.maximizeMnemonic", -1);
476 mnemonic = MetalUtils.getInt("MetalTitlePane.closeMnemonic", -1);
H A DMetalTabbedPaneUI.java126 boolean leftToRight = MetalUtils.isLeftToRight(tabPane);
299 if (MetalUtils.isLeftToRight(tabPane)) {
337 if ( MetalUtils.isLeftToRight(tabPane) ) {
477 boolean leftToRight = MetalUtils.isLeftToRight(tabPane);
736 if (MetalUtils.isLeftToRight(tabPane)) {
862 boolean leftToRight = MetalUtils.isLeftToRight(tabPane);
942 boolean leftToRight = MetalUtils.isLeftToRight(tabPane);
1014 boolean leftToRight = MetalUtils.isLeftToRight(tabPane);
H A DMetalComboBoxUI.java271 arrowButton.setBounds(MetalUtils.isLeftToRight(comboBox)
H A DMetalInternalFrameUI.java209 boolean leftToRight = MetalUtils.isLeftToRight(frame);
H A DOceanTheme.java91 if (MetalUtils.isLeftToRight(c)) {
H A DMetalUtils.java43 class MetalUtils { class
H A DMetalLookAndFeel.java1697 return MetalUtils.getOceanDisabledButtonIcon(
1725 return MetalUtils.getOceanDisabledButtonIcon(

Completed in 1475 milliseconds