public class sun.tools.jconsole.BorderedComponent$FocusBorder extends javax.swing.border.AbstractBorder implements java.awt.event.FocusListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jconsole.BorderedComponent$FocusBorder
super_class: javax.swing.border.AbstractBorder
{
private java.awt.Component comp;
descriptor: Ljava/awt/Component;
flags: (0x0002) ACC_PRIVATE
private java.awt.Color focusColor;
descriptor: Ljava/awt/Color;
flags: (0x0002) ACC_PRIVATE
private boolean focusLostTemporarily;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.swing.border.AbstractBorder.<init>:()V
1: aload 0
iconst_0
putfield sun.tools.jconsole.BorderedComponent$FocusBorder.focusLostTemporarily:Z
2: aload 0
aload 1
putfield sun.tools.jconsole.BorderedComponent$FocusBorder.comp:Ljava/awt/Component;
3: aload 1
aload 0
invokevirtual java.awt.Component.addFocusListener:(Ljava/awt/event/FocusListener;)V
4: aload 0
ldc "TabbedPane.focus"
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
putfield sun.tools.jconsole.BorderedComponent$FocusBorder.focusColor:Ljava/awt/Color;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/tools/jconsole/BorderedComponent$FocusBorder;
0 6 1 comp Ljava/awt/Component;
MethodParameters:
Name Flags
comp
public void paintBorder(java.awt.Component, java.awt.Graphics, int, int, int, int);
descriptor: (Ljava/awt/Component;Ljava/awt/Graphics;IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
getfield sun.tools.jconsole.BorderedComponent$FocusBorder.comp:Ljava/awt/Component;
invokevirtual java.awt.Component.hasFocus:()Z
ifne 1
aload 0
getfield sun.tools.jconsole.BorderedComponent$FocusBorder.focusLostTemporarily:Z
ifeq 5
1: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.awt.Graphics.getColor:()Ljava/awt/Color;
astore 7
start local 7 2: aload 2
aload 0
getfield sun.tools.jconsole.BorderedComponent$FocusBorder.focusColor:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
3: aload 2
iload 3
iload 4
iload 5
iload 6
invokestatic javax.swing.plaf.basic.BasicGraphicsUtils.drawDashedRect:(Ljava/awt/Graphics;IIII)V
4: aload 2
aload 7
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
end local 7 5: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/tools/jconsole/BorderedComponent$FocusBorder;
0 6 1 c Ljava/awt/Component;
0 6 2 g Ljava/awt/Graphics;
0 6 3 x I
0 6 4 y I
0 6 5 width I
0 6 6 height I
2 5 7 color Ljava/awt/Color;
MethodParameters:
Name Flags
c
g
x
y
width
height
public java.awt.Insets getBorderInsets(java.awt.Component, java.awt.Insets);
descriptor: (Ljava/awt/Component;Ljava/awt/Insets;)Ljava/awt/Insets;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
iconst_2
iconst_2
iconst_2
iconst_2
invokevirtual java.awt.Insets.set:(IIII)V
1: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/BorderedComponent$FocusBorder;
0 2 1 c Ljava/awt/Component;
0 2 2 insets Ljava/awt/Insets;
MethodParameters:
Name Flags
c
insets
public void focusGained(java.awt.event.FocusEvent);
descriptor: (Ljava/awt/event/FocusEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jconsole.BorderedComponent$FocusBorder.comp:Ljava/awt/Component;
invokevirtual java.awt.Component.repaint:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/BorderedComponent$FocusBorder;
0 2 1 e Ljava/awt/event/FocusEvent;
MethodParameters:
Name Flags
e
public void focusLost(java.awt.event.FocusEvent);
descriptor: (Ljava/awt/event/FocusEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.awt.event.FocusEvent.isTemporary:()Z
putfield sun.tools.jconsole.BorderedComponent$FocusBorder.focusLostTemporarily:Z
1: aload 0
getfield sun.tools.jconsole.BorderedComponent$FocusBorder.focusLostTemporarily:Z
ifne 3
2: aload 0
getfield sun.tools.jconsole.BorderedComponent$FocusBorder.comp:Ljava/awt/Component;
invokevirtual java.awt.Component.repaint:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jconsole/BorderedComponent$FocusBorder;
0 4 1 e Ljava/awt/event/FocusEvent;
MethodParameters:
Name Flags
e
}
SourceFile: "BorderedComponent.java"
NestHost: sun.tools.jconsole.BorderedComponent
InnerClasses:
protected FocusBorder = sun.tools.jconsole.BorderedComponent$FocusBorder of sun.tools.jconsole.BorderedComponent