JavaScript is disabled on your browser.
 
JavaScript is disabled on your browser.
 
 
Summary:  
Nested |  
Field |  
Constr |  
Method  
Detail:  
Field |  
Constr |  
Method  
 
  
 
 
 
 
All Superinterfaces: 
Icon  
public interface SynthIcon 
extends Icon  
An icon that is passed a SynthContext. Subclasses need only implement
 the variants that take a SynthContext, but must be prepared for the
 SynthContext to be null.
 
 
 
 
Method Detail 
 
paintIcon 
void paintIcon(SynthContext  context,
               Graphics  g,
               int x,
               int y,
               int width,
               int height) 
Paints the icon at the specified location for the given synth context.
Parameters: context - identifies hosting region, may be null.g - the graphics contextx - the x location to paint toy - the y location to paint towidth - the width of the region to paint to, may be 0height - the height of the region to paint to, may be 0 
 
 
 
 
 
paintIcon 
default void paintIcon(Component  c,
                       Graphics  g,
                       int x,
                       int y) 
Description copied from interface: Icon  Draw the icon at the specified location.  Icon implementations
 may use the Component argument to get properties useful for
 painting, e.g. the foreground or background color.
Specified by: paintIcon Icon Parameters: c - a Component to get properties useful for paintingg - the graphics contextx - the X coordinate of the icon's top-left cornery - the Y coordinate of the icon's top-left corner 
 
 
 
 
 
 
 
 
 
 
 
JavaScript is disabled on your browser.
 
 
Summary:  
Nested |  
Field |  
Constr |  
Method  
Detail:  
Field |  
Constr |  
Method  
 
  
 
Report a bug or suggest an enhancement Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.Copyright  © 1993, 2017, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.license terms  and the documentation redistribution policy . 
 
Scripting on this page tracks web page traffic, but does not change the content in any way.