Searched refs:shadow (Results 1 - 25 of 42) sorted by relevance

12

/openjdk7/langtools/test/tools/javac/staticImport/
H A DShadow.java27 * @summary compiler fails to shadow inapplicable method with static import
33 package shadow; package
35 import static shadow.T1.*;
36 import static shadow.T2.m1;
/openjdk7/jdk/src/share/classes/javax/swing/border/
H A DEtchedBorder.java36 * either be etched-in or etched-out. If no highlight/shadow
63 protected Color shadow; field in class:EtchedBorder
87 * shadow colors.
89 * @param shadow the color to use for the etched shadow
91 public EtchedBorder(Color highlight, Color shadow) { argument
92 this(LOWERED, highlight, shadow);
97 * highlight and shadow colors.
100 * @param shadow the color to use for the etched shadow
103 EtchedBorder(int etchType, Color highlight, Color shadow) argument
[all...]
H A DBevelBorder.java72 * shadow colors.
75 * @param shadow the color to use for the bevel shadow
77 public BevelBorder(int bevelType, Color highlight, Color shadow) { argument
78 this(bevelType, highlight.brighter(), highlight, shadow, shadow.brighter());
83 * shadow colors.
88 * @param shadowOuterColor the color to use for the bevel outer shadow
89 * @param shadowInnerColor the color to use for the bevel inner shadow
160 * Returns the inner shadow colo
[all...]
H A DSoftBevelBorder.java65 * shadow colors.
68 * @param shadow the color to use for the bevel shadow
70 public SoftBevelBorder(int bevelType, Color highlight, Color shadow) { argument
71 super(bevelType, highlight, shadow);
76 * shadow colors.
80 * @param shadowOuterColor the color to use for the bevel outer shadow
81 * @param shadowInnerColor the color to use for the bevel inner shadow
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DIOUtil.java128 // allocate shadow buffer to ensure I/O is done with direct buffer
130 ByteBuffer shadow = Util.getTemporaryDirectBuffer(rem);
131 shadow.put(buf);
132 shadow.flip();
133 vec.setShadow(iov_len, shadow);
135 buf = shadow;
136 pos = shadow.position();
161 // return shadow buffers to buffer pool
162 ByteBuffer shadow = vec.getShadow(j);
163 if (shadow !
[all...]
H A DIOVecWrapper.java63 private final ByteBuffer[] shadow; field in class:IOVecWrapper
90 this.shadow = new ByteBuffer[size];
117 shadow[i] = buf;
133 return shadow[i];
138 shadow[i] = null;
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicBorders.java52 table.getColor("Button.shadow"),
64 table.getColor("RadioButton.shadow"),
76 table.getColor("ToggleButton.shadow"),
87 table.getColor("MenuBar.shadow"),
116 table.getColor("TextField.shadow"),
149 public RolloverButtonBorder(Color shadow, Color darkShadow, argument
151 super(shadow, darkShadow, highlight, lightHighlight);
158 Color shade = shadow;
160 if (p != null && p.getBackground().equals(shadow)) {
229 protected Color shadow; field in class:BasicBorders.ButtonBorder
234 ButtonBorder(Color shadow, Color darkShadow, Color highlight, Color lightHighlight) argument
272 ToggleButtonBorder(Color shadow, Color darkShadow, Color highlight, Color lightHighlight) argument
293 RadioButtonBorder(Color shadow, Color darkShadow, Color highlight, Color lightHighlight) argument
328 private Color shadow; field in class:BasicBorders.MenuBarBorder
331 MenuBarBorder(Color shadow, Color highlight) argument
381 protected Color shadow; field in class:BasicBorders.FieldBorder
386 FieldBorder(Color shadow, Color darkShadow, Color highlight, Color lightHighlight) argument
423 Color shadow; field in class:BasicBorders.SplitPaneDividerBorder
425 SplitPaneDividerBorder(Color highlight, Color shadow) argument
505 protected Color shadow; field in class:BasicBorders.SplitPaneBorder
507 SplitPaneBorder(Color highlight, Color shadow) argument
[all...]
H A DBasicArrowButton.java57 private Color shadow; field in class:BasicArrowButton
70 * @param shadow the color of the shadow
71 * @param darkShadow the color of the dark shadow
75 public BasicArrowButton(int direction, Color background, Color shadow, argument
81 this.shadow = shadow;
136 g.setColor(shadow);
147 g.setColor(shadow); // inner 3D border
151 g.setColor(darkShadow); // black drop shadow _
[all...]
H A DBasicGraphicsUtils.java54 Color shadow, Color darkShadow,
60 g.setColor(shadow);
93 Color shadow, Color highlight)
98 g.setColor(shadow);
125 Color shadow, Color darkShadow,
134 g.setColor(shadow);
138 shadow, darkShadow, highlight, lightHighlight);
151 g.setColor(shadow);
167 g.setColor(shadow);
180 Color shadow, Colo
53 drawEtchedRect(Graphics g, int x, int y, int w, int h, Color shadow, Color darkShadow, Color highlight, Color lightHighlight) argument
92 drawGroove(Graphics g, int x, int y, int w, int h, Color shadow, Color highlight) argument
123 drawBezel(Graphics g, int x, int y, int w, int h, boolean isPressed, boolean isDefault, Color shadow, Color darkShadow, Color highlight, Color lightHighlight) argument
179 drawLoweredBezel(Graphics g, int x, int y, int w, int h, Color shadow, Color darkShadow, Color highlight, Color lightHighlight) argument
[all...]
H A DBasicSeparatorUI.java48 protected Color shadow; field in class:BasicSeparatorUI
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifTreeCellRenderer.java75 Color shadow; field in class:MotifTreeCellRenderer.TreeLeafIcon
80 shadow = UIManager.getColor("Tree.iconShadow");
99 g.setColor(shadow);
H A DMotifTreeUI.java98 static Color shadow; field in class:MotifTreeUI.MotifExpandedIcon
104 shadow = UIManager.getColor("Tree.iconShadow");
116 g.setColor(shadow);
H A DMotifInternalFrameTitlePane.java55 Color shadow; field in class:MotifInternalFrameTitlePane
153 shadow = s;
262 g.setColor(pressed ? shadow : highlight);
265 g.setColor(pressed ? highlight : shadow);
277 g.setColor(shadow);
288 g.setColor(isMaxed ? shadow : highlight);
291 g.setColor(isMaxed ? highlight : shadow);
306 g.setColor(shadow);
H A DMotifIconFactory.java98 private Color shadow = UIManager.getColor("controlShadow"); field in class:MotifIconFactory.CheckBoxIcon
144 g.setColor(shadow);
187 g.setColor(shadow); // black drop shadow __|
208 g.setColor(shadow);
222 g.setColor(shadow);
227 g.setColor(shadow);
239 g.setColor(shadow);
270 private Color shadow = UIManager.getColor("controlShadow"); field in class:MotifIconFactory.RadioButtonIcon
300 g.setColor(shadow);
380 private Color shadow = UIManager.getColor("controlShadow"); field in class:MotifIconFactory.MenuArrowIcon
[all...]
H A DMotifBorders.java118 protected Color shadow = UIManager.getColor("Button.shadow"); field in class:MotifBorders.ButtonBorder
122 public ButtonBorder(Color shadow, Color highlight, Color darkShadow, Color focus) { argument
123 this.shadow = shadow;
154 g.setColor(shadow);
177 g.setColor(isPressed? shadow : highlight);
181 g.setColor(isPressed? highlight : shadow);
196 public ToggleButtonBorder(Color shadow, Color highlight, Color darkShadow, Color focus) { argument
197 super(shadow, highligh
229 MenuBarBorder(Color shadow, Color highlight, Color darkShadow, Color focus) argument
567 drawBezel(Graphics g, int x, int y, int w, int h, boolean isPressed, boolean hasFocus, Color shadow, Color highlight, Color darkShadow, Color focus) argument
638 MotifPopupMenuBorder( Font titleFont, Color bgColor, Color fgColor, Color shadow, Color highlight) argument
[all...]
H A DMotifInternalFrameUI.java56 Color shadow; field in class:MotifInternalFrameUI
220 shadow = color.darker().darker();
221 titlePane.setColors(color, highlight, shadow);
H A DMotifTabbedPaneUI.java118 g.setColor(shadow);
140 g.setColor(shadow);
195 g.setColor(isSelected? shadow : unselectedTabShadow);
202 g.setColor(isSelected? shadow : unselectedTabShadow);
214 g.setColor(isSelected? shadow : unselectedTabShadow);
226 g.setColor(isSelected? shadow : unselectedTabShadow);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/
H A DBorderUIResource.java162 public BevelBorderUIResource(int bevelType, Color highlight, Color shadow) { argument
163 super(bevelType, highlight, shadow);
184 public EtchedBorderUIResource(Color highlight, Color shadow) { argument
185 super(highlight, shadow);
189 public EtchedBorderUIResource(int etchType, Color highlight, Color shadow) { argument
190 super(etchType, highlight, shadow);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsBorders.java56 table.getColor("ProgressBar.shadow"),
72 table.getColor("ToolBar.shadow"),
92 table.getColor("Table.shadow"),
118 protected Color shadow; field in class:WindowsBorders.ProgressBarBorder
121 public ProgressBarBorder(Color shadow, Color highlight) { argument
123 this.shadow = shadow;
128 g.setColor(shadow);
148 protected Color shadow; field in class:WindowsBorders.ToolBarBorder
151 public ToolBarBorder(Color shadow, Colo argument
[all...]
H A DWindowsToolBarSeparatorUI.java104 Color shadow = table.getColor("ToolBar.shadow");
109 g.setColor(shadow);
116 g.setColor(shadow);
H A DWindowsGraphicsUtils.java98 color = UIManager.getColor("Button.shadow");
99 Color shadow = UIManager.getColor("Button.disabledShadow");
103 if (shadow == null) {
104 shadow = b.getBackground().darker();
106 g.setColor(shadow);
143 // only draw shadow if developer hasn't changed the foreground color
/openjdk7/jdk/src/share/classes/javax/swing/
H A DBorderFactory.java144 * the highlight color. The inner edge of the shadow area
145 * uses a brighter shade of the shadow color.
151 * @param shadow a <code>Color</code> object for shadows
154 public static Border createBevelBorder(int type, Color highlight, Color shadow) { argument
155 return new BevelBorder(type, highlight, shadow);
161 * and shadow areas.
171 * outer edge of the shadow area
173 * inner edge of the shadow area
261 * The inner edge of the shadow area uses
262 * a brighter shade of the {@code shadow} colo
272 createSoftBevelBorder(int type, Color highlight, Color shadow) argument
322 createEtchedBorder(Color highlight, Color shadow) argument
365 createEtchedBorder(int type, Color highlight, Color shadow) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DWindowsAsynchronousSocketChannelImpl.java379 private ByteBuffer[] shadow; field in class:WindowsAsynchronousSocketChannelImpl.ReadTask
396 shadow = new ByteBuffer[numBufs];
408 shadow[i] = bb;
411 shadow[i] = dst;
426 ByteBuffer nextBuffer = shadow[i];
451 // Put results from shadow into the slow buffers
454 shadow[i].flip();
456 bufs[i].put(shadow[i]);
467 Util.releaseTemporaryDirectBuffer(shadow[i]);
653 private ByteBuffer[] shadow; field in class:WindowsAsynchronousSocketChannelImpl.WriteTask
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalInternalFrameTitlePane.java66 * Key used to lookup shadow color from UIManager. If this is null,
354 Color shadow = null;
375 shadow = UIManager.getColor(selectedShadowKey);
377 if (shadow == null) {
378 shadow = MetalLookAndFeel.getPrimaryControlDarkShadow();
396 shadow = MetalLookAndFeel.getControlDarkShadow();
407 g.setColor( shadow );
516 selectedShadowKey = "OptionPane.errorDialog.titlePane.shadow";
525 "OptionPane.questionDialog.titlePane.shadow";
533 selectedShadowKey = "OptionPane.warningDialog.titlePane.shadow";
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/parsers/
H A DCachingParserPool.java68 /** Default shadow symbol table (false). */
71 /** Default shadow grammar pool (false). */
94 * new parser instances use shadow copies of the main symbol
96 * symbol table. New symbols are added to the shadow symbol
103 * new parser instances use shadow copies of the main grammar
105 * grammar pool. New grammars are added to the shadow grammar
148 * Sets whether new parser instance receive shadow copies of the
151 * @param shadow If true, new parser instances use shadow copies
154 * symbols are added to the shadow symbo
159 setShadowSymbolTable(boolean shadow) argument
[all...]

Completed in 80 milliseconds

12