home *** CD-ROM | disk | FTP | other *** search
- package javax.swing.plaf.metal;
-
- import java.awt.Component;
- import java.awt.Graphics;
- import javax.swing.Icon;
-
- class MetalFileChooserUI$IndentIcon implements Icon {
- // $FF: synthetic field
- private final MetalFileChooserUI this$0;
- Icon icon;
- int depth;
-
- MetalFileChooserUI$IndentIcon(MetalFileChooserUI var1) {
- this.this$0 = var1;
- this.icon = null;
- this.depth = 0;
- }
-
- public int getIconHeight() {
- return this.icon.getIconHeight();
- }
-
- public int getIconWidth() {
- return this.icon.getIconWidth() + this.depth * 10;
- }
-
- public void paintIcon(Component var1, Graphics var2, int var3, int var4) {
- this.icon.paintIcon(var1, var2, var3 + this.depth * 10, var4);
- }
- }
-