public class javax.swing.plaf.metal.MetalSeparatorUI extends javax.swing.plaf.basic.BasicSeparatorUI
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.metal.MetalSeparatorUI
super_class: javax.swing.plaf.basic.BasicSeparatorUI
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicSeparatorUI.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalSeparatorUI;
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/plaf/ComponentUI;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new javax.swing.plaf.metal.MetalSeparatorUI
dup
invokespecial javax.swing.plaf.metal.MetalSeparatorUI.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
protected void installDefaults(javax.swing.JSeparator);
descriptor: (Ljavax/swing/JSeparator;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "Separator.background"
ldc "Separator.foreground"
invokestatic javax.swing.LookAndFeel.installColors:(Ljavax/swing/JComponent;Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/metal/MetalSeparatorUI;
0 2 1 s Ljavax/swing/JSeparator;
MethodParameters:
Name Flags
s
public void paint(java.awt.Graphics, javax.swing.JComponent);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual javax.swing.JComponent.getSize:()Ljava/awt/Dimension;
astore 3
start local 3 1: aload 2
checkcast javax.swing.JSeparator
invokevirtual javax.swing.JSeparator.getOrientation:()I
iconst_1
if_icmpne 7
2: aload 1
aload 2
invokevirtual javax.swing.JComponent.getForeground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
3: aload 1
iconst_0
iconst_0
iconst_0
aload 3
getfield java.awt.Dimension.height:I
invokevirtual java.awt.Graphics.drawLine:(IIII)V
4: aload 1
aload 2
invokevirtual javax.swing.JComponent.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
5: aload 1
iconst_1
iconst_0
iconst_1
aload 3
getfield java.awt.Dimension.height:I
invokevirtual java.awt.Graphics.drawLine:(IIII)V
6: goto 11
7: StackMap locals: java.awt.Dimension
StackMap stack:
aload 1
aload 2
invokevirtual javax.swing.JComponent.getForeground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
8: aload 1
iconst_0
iconst_0
aload 3
getfield java.awt.Dimension.width:I
iconst_0
invokevirtual java.awt.Graphics.drawLine:(IIII)V
9: aload 1
aload 2
invokevirtual javax.swing.JComponent.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
10: aload 1
iconst_0
iconst_1
aload 3
getfield java.awt.Dimension.width:I
iconst_1
invokevirtual java.awt.Graphics.drawLine:(IIII)V
11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/plaf/metal/MetalSeparatorUI;
0 12 1 g Ljava/awt/Graphics;
0 12 2 c Ljavax/swing/JComponent;
1 12 3 s Ljava/awt/Dimension;
MethodParameters:
Name Flags
g
c
public java.awt.Dimension getPreferredSize(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
checkcast javax.swing.JSeparator
invokevirtual javax.swing.JSeparator.getOrientation:()I
iconst_1
if_icmpne 2
1: new java.awt.Dimension
dup
iconst_2
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
areturn
2: StackMap locals:
StackMap stack:
new java.awt.Dimension
dup
iconst_0
iconst_2
invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/metal/MetalSeparatorUI;
0 3 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
}
SourceFile: "MetalSeparatorUI.java"