/[classpath]/classpath/java/awt/Container.java
ViewVC logotype

Diff of /classpath/java/awt/Container.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.50 by mkoch, Wed Feb 16 10:39:26 2005 UTC revision 1.51 by mkoch, Mon Feb 21 16:11:48 2005 UTC
# Line 1686  public class Container extends Component Line 1686  public class Container extends Component
1686    
1687    static class GfxPaintVisitor extends GfxVisitor    static class GfxPaintVisitor extends GfxVisitor
1688    {    {
     public void visit(Component c, Graphics gfx) { c.paint(gfx); }  
1689      public static final GfxVisitor INSTANCE = new GfxPaintVisitor();      public static final GfxVisitor INSTANCE = new GfxPaintVisitor();
1690        
1691        public void visit(Component c, Graphics gfx)
1692        {
1693          c.paint(gfx);
1694        }
1695    }    }
1696    
1697    static class GfxPrintVisitor extends GfxVisitor    static class GfxPrintVisitor extends GfxVisitor
1698    {    {
     public void visit(Component c, Graphics gfx) { c.print(gfx); }  
1699      public static final GfxVisitor INSTANCE = new GfxPrintVisitor();      public static final GfxVisitor INSTANCE = new GfxPrintVisitor();
1700        
1701        public void visit(Component c, Graphics gfx)
1702        {
1703          c.print(gfx);
1704        }
1705    }    }
1706    
1707    static class GfxPaintAllVisitor extends GfxVisitor    static class GfxPaintAllVisitor extends GfxVisitor
1708    {    {
     public void visit(Component c, Graphics gfx) { c.paintAll(gfx); }  
1709      public static final GfxVisitor INSTANCE = new GfxPaintAllVisitor();      public static final GfxVisitor INSTANCE = new GfxPaintAllVisitor();
1710    
1711        public void visit(Component c, Graphics gfx)
1712        {
1713          c.paintAll(gfx);
1714        }
1715    }    }
1716    
1717    static class GfxPrintAllVisitor extends GfxVisitor    static class GfxPrintAllVisitor extends GfxVisitor
1718    {    {
     public void visit(Component c, Graphics gfx) { c.printAll(gfx); }  
1719      public static final GfxVisitor INSTANCE = new GfxPrintAllVisitor();      public static final GfxVisitor INSTANCE = new GfxPrintAllVisitor();
1720    
1721        public void visit(Component c, Graphics gfx)
1722        {
1723          c.printAll(gfx);
1724        }
1725    }    }
1726    
1727    /**    /**

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26