Button.java, [...]: Fixed formatting issues all over.
2005-02-21 Michael Koch <konqueror@gmx.de> * java/awt/Button.java, java/awt/Container.java, java/awt/Font.java, java/awt/Frame.java, java/text/CollationElementIterator.java, java/text/RuleBasedCollator.java, java/util/PropertyPermission.java: Fixed formatting issues all over. From-SVN: r95333
This commit is contained in:
parent
40cd9e66fa
commit
32efd4cd48
8 changed files with 114 additions and 73 deletions
|
@ -1686,26 +1686,42 @@ public class Container extends Component
|
|||
|
||||
static class GfxPaintVisitor extends GfxVisitor
|
||||
{
|
||||
public void visit(Component c, Graphics gfx) { c.paint(gfx); }
|
||||
public static final GfxVisitor INSTANCE = new GfxPaintVisitor();
|
||||
|
||||
public void visit(Component c, Graphics gfx)
|
||||
{
|
||||
c.paint(gfx);
|
||||
}
|
||||
}
|
||||
|
||||
static class GfxPrintVisitor extends GfxVisitor
|
||||
{
|
||||
public void visit(Component c, Graphics gfx) { c.print(gfx); }
|
||||
public static final GfxVisitor INSTANCE = new GfxPrintVisitor();
|
||||
|
||||
public void visit(Component c, Graphics gfx)
|
||||
{
|
||||
c.print(gfx);
|
||||
}
|
||||
}
|
||||
|
||||
static class GfxPaintAllVisitor extends GfxVisitor
|
||||
{
|
||||
public void visit(Component c, Graphics gfx) { c.paintAll(gfx); }
|
||||
public static final GfxVisitor INSTANCE = new GfxPaintAllVisitor();
|
||||
|
||||
public void visit(Component c, Graphics gfx)
|
||||
{
|
||||
c.paintAll(gfx);
|
||||
}
|
||||
}
|
||||
|
||||
static class GfxPrintAllVisitor extends GfxVisitor
|
||||
{
|
||||
public void visit(Component c, Graphics gfx) { c.printAll(gfx); }
|
||||
public static final GfxVisitor INSTANCE = new GfxPrintAllVisitor();
|
||||
|
||||
public void visit(Component c, Graphics gfx)
|
||||
{
|
||||
c.printAll(gfx);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue