public class com.apple.laf.AquaTextFieldBorder extends com.apple.laf.AquaBorder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.apple.laf.AquaTextFieldBorder
super_class: com.apple.laf.AquaBorder
{
private static final com.apple.laf.AquaUtils$RecyclableSingleton<com.apple.laf.AquaTextFieldBorder> instance;
descriptor: Lcom/apple/laf/AquaUtils$RecyclableSingleton;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lcom/apple/laf/AquaUtils$RecyclableSingleton<Lcom/apple/laf/AquaTextFieldBorder;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.apple.laf.AquaUtils$RecyclableSingletonFromDefaultConstructor
dup
ldc Lcom/apple/laf/AquaTextFieldBorder;
invokespecial com.apple.laf.AquaUtils$RecyclableSingletonFromDefaultConstructor.<init>:(Ljava/lang/Class;)V
putstatic com.apple.laf.AquaTextFieldBorder.instance:Lcom/apple/laf/AquaUtils$RecyclableSingleton;
return
LocalVariableTable:
Start End Slot Name Signature
public static com.apple.laf.AquaTextFieldBorder getTextFieldBorder();
descriptor: ()Lcom/apple/laf/AquaTextFieldBorder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.apple.laf.AquaTextFieldBorder.instance:Lcom/apple/laf/AquaUtils$RecyclableSingleton;
invokevirtual com.apple.laf.AquaUtils$RecyclableSingleton.get:()Ljava/lang/Object;
checkcast com.apple.laf.AquaTextFieldBorder
areturn
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: aload 0
new com.apple.laf.AquaUtilControlSize$SizeDescriptor
dup
new com.apple.laf.AquaUtilControlSize$SizeVariant
dup
invokespecial com.apple.laf.AquaUtilControlSize$SizeVariant.<init>:()V
bipush 6
bipush 7
bipush 6
bipush 7
invokevirtual com.apple.laf.AquaUtilControlSize$SizeVariant.alterMargins:(IIII)Lcom/apple/laf/AquaUtilControlSize$SizeVariant;
iconst_3
iconst_3
iconst_3
iconst_3
invokevirtual com.apple.laf.AquaUtilControlSize$SizeVariant.alterInsets:(IIII)Lcom/apple/laf/AquaUtilControlSize$SizeVariant;
invokespecial com.apple.laf.AquaUtilControlSize$SizeDescriptor.<init>:(Lcom/apple/laf/AquaUtilControlSize$SizeVariant;)V
invokespecial com.apple.laf.AquaTextFieldBorder.<init>:(Lcom/apple/laf/AquaUtilControlSize$SizeDescriptor;)V
1: aload 0
getfield com.apple.laf.AquaTextFieldBorder.painter:Lcom/apple/laf/AquaPainter;
getfield com.apple.laf.AquaPainter.state:Lapple/laf/JRSUIState;
getstatic apple.laf.JRSUIConstants$Widget.FRAME_TEXT_FIELD:Lapple/laf/JRSUIConstants$Widget;
invokevirtual apple.laf.JRSUIState.set:(Lapple/laf/JRSUIConstants$Property;)V
2: aload 0
getfield com.apple.laf.AquaTextFieldBorder.painter:Lcom/apple/laf/AquaPainter;
getfield com.apple.laf.AquaPainter.state:Lapple/laf/JRSUIState;
getstatic apple.laf.JRSUIConstants$FrameOnly.YES:Lapple/laf/JRSUIConstants$FrameOnly;
invokevirtual apple.laf.JRSUIState.set:(Lapple/laf/JRSUIConstants$Property;)V
3: aload 0
getfield com.apple.laf.AquaTextFieldBorder.painter:Lcom/apple/laf/AquaPainter;
getfield com.apple.laf.AquaPainter.state:Lapple/laf/JRSUIState;
getstatic apple.laf.JRSUIConstants$Size.LARGE:Lapple/laf/JRSUIConstants$Size;
invokevirtual apple.laf.JRSUIState.set:(Lapple/laf/JRSUIConstants$Property;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/apple/laf/AquaTextFieldBorder;
public void <init>(com.apple.laf.AquaUtilControlSize$SizeDescriptor);
descriptor: (Lcom/apple/laf/AquaUtilControlSize$SizeDescriptor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.apple.laf.AquaBorder.<init>:(Lcom/apple/laf/AquaUtilControlSize$SizeDescriptor;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/AquaTextFieldBorder;
0 2 1 sizeDescriptor Lcom/apple/laf/AquaUtilControlSize$SizeDescriptor;
MethodParameters:
Name Flags
sizeDescriptor final
public void <init>(com.apple.laf.AquaTextFieldBorder);
descriptor: (Lcom/apple/laf/AquaTextFieldBorder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.apple.laf.AquaBorder.<init>:(Lcom/apple/laf/AquaBorder;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/AquaTextFieldBorder;
0 2 1 other Lcom/apple/laf/AquaTextFieldBorder;
MethodParameters:
Name Flags
other final
protected void setSize(apple.laf.JRSUIConstants$Size);
descriptor: (Lapple/laf/JRSUIConstants$Size;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.apple.laf.AquaBorder.setSize:(Lapple/laf/JRSUIConstants$Size;)V
1: aload 0
getfield com.apple.laf.AquaTextFieldBorder.painter:Lcom/apple/laf/AquaPainter;
getfield com.apple.laf.AquaPainter.state:Lapple/laf/JRSUIState;
getstatic apple.laf.JRSUIConstants$Size.LARGE:Lapple/laf/JRSUIConstants$Size;
invokevirtual apple.laf.JRSUIState.set:(Lapple/laf/JRSUIConstants$Property;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaTextFieldBorder;
0 3 1 size Lapple/laf/JRSUIConstants$Size;
MethodParameters:
Name Flags
size final
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=7, locals=12, 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 1
instanceof javax.swing.text.JTextComponent
ifne 5
1: aload 0
getfield com.apple.laf.AquaTextFieldBorder.painter:Lcom/apple/laf/AquaPainter;
getfield com.apple.laf.AquaPainter.state:Lapple/laf/JRSUIState;
getstatic apple.laf.JRSUIConstants$State.ACTIVE:Lapple/laf/JRSUIConstants$State;
invokevirtual apple.laf.JRSUIState.set:(Lapple/laf/JRSUIConstants$Property;)V
2: aload 0
getfield com.apple.laf.AquaTextFieldBorder.painter:Lcom/apple/laf/AquaPainter;
getfield com.apple.laf.AquaPainter.state:Lapple/laf/JRSUIState;
getstatic apple.laf.JRSUIConstants$Focused.NO:Lapple/laf/JRSUIConstants$Focused;
invokevirtual apple.laf.JRSUIState.set:(Lapple/laf/JRSUIConstants$Property;)V
3: aload 0
getfield com.apple.laf.AquaTextFieldBorder.painter:Lcom/apple/laf/AquaPainter;
aload 2
aload 1
iload 3
iload 4
iload 5
iload 6
invokevirtual com.apple.laf.AquaPainter.paint:(Ljava/awt/Graphics;Ljava/awt/Component;IIII)V
4: return
5: StackMap locals:
StackMap stack:
aload 1
checkcast javax.swing.text.JTextComponent
astore 7
start local 7 6: aload 7
invokestatic com.apple.laf.AquaTextFieldBorder.getStateFor:(Ljavax/swing/text/JTextComponent;)Lapple/laf/JRSUIConstants$State;
astore 8
start local 8 7: aload 0
getfield com.apple.laf.AquaTextFieldBorder.painter:Lcom/apple/laf/AquaPainter;
getfield com.apple.laf.AquaPainter.state:Lapple/laf/JRSUIState;
aload 8
invokevirtual apple.laf.JRSUIState.set:(Lapple/laf/JRSUIConstants$Property;)V
8: aload 0
getfield com.apple.laf.AquaTextFieldBorder.painter:Lcom/apple/laf/AquaPainter;
getfield com.apple.laf.AquaPainter.state:Lapple/laf/JRSUIState;
getstatic apple.laf.JRSUIConstants$State.ACTIVE:Lapple/laf/JRSUIConstants$State;
aload 8
if_acmpne 9
aload 7
invokevirtual javax.swing.text.JTextComponent.hasFocus:()Z
ifeq 9
getstatic apple.laf.JRSUIConstants$Focused.YES:Lapple/laf/JRSUIConstants$Focused;
goto 10
StackMap locals: com.apple.laf.AquaTextFieldBorder java.awt.Component java.awt.Graphics int int int int javax.swing.text.JTextComponent apple.laf.JRSUIConstants$State
StackMap stack: apple.laf.JRSUIState
9: getstatic apple.laf.JRSUIConstants$Focused.NO:Lapple/laf/JRSUIConstants$Focused;
StackMap locals: com.apple.laf.AquaTextFieldBorder java.awt.Component java.awt.Graphics int int int int javax.swing.text.JTextComponent apple.laf.JRSUIConstants$State
StackMap stack: apple.laf.JRSUIState apple.laf.JRSUIConstants$Focused
10: invokevirtual apple.laf.JRSUIState.set:(Lapple/laf/JRSUIConstants$Property;)V
11: aload 7
invokevirtual javax.swing.text.JTextComponent.isOpaque:()Z
ifeq 14
12: aload 0
getfield com.apple.laf.AquaTextFieldBorder.painter:Lcom/apple/laf/AquaPainter;
aload 2
aload 1
iload 3
iload 4
iload 5
iload 6
invokevirtual com.apple.laf.AquaPainter.paint:(Ljava/awt/Graphics;Ljava/awt/Component;IIII)V
13: return
14: StackMap locals:
StackMap stack:
aload 7
iload 6
invokestatic com.apple.laf.AquaTextFieldBorder.getShrinkageFor:(Ljavax/swing/text/JTextComponent;I)I
istore 9
start local 9 15: aload 0
iload 9
invokevirtual com.apple.laf.AquaTextFieldBorder.getSubInsets:(I)Ljava/awt/Insets;
astore 10
start local 10 16: iload 3
aload 10
getfield java.awt.Insets.left:I
iadd
istore 3
17: iload 4
aload 10
getfield java.awt.Insets.top:I
iadd
istore 4
18: iload 5
aload 10
getfield java.awt.Insets.left:I
aload 10
getfield java.awt.Insets.right:I
iadd
isub
istore 5
19: iload 6
aload 10
getfield java.awt.Insets.top:I
aload 10
getfield java.awt.Insets.bottom:I
iadd
isub
istore 6
20: iload 9
ifle 25
21: aload 2
invokevirtual java.awt.Graphics.getClipBounds:()Ljava/awt/Rectangle;
astore 11
start local 11 22: aload 11
dup
getfield java.awt.Rectangle.x:I
iload 9
iadd
putfield java.awt.Rectangle.x:I
23: aload 11
dup
getfield java.awt.Rectangle.width:I
iload 9
iconst_2
imul
isub
putfield java.awt.Rectangle.width:I
24: aload 2
aload 11
invokevirtual java.awt.Graphics.setClip:(Ljava/awt/Shape;)V
end local 11 25: StackMap locals: int java.awt.Insets
StackMap stack:
aload 0
getfield com.apple.laf.AquaTextFieldBorder.painter:Lcom/apple/laf/AquaPainter;
aload 2
aload 1
iload 3
iload 4
iload 5
iload 6
invokevirtual com.apple.laf.AquaPainter.paint:(Ljava/awt/Graphics;Ljava/awt/Component;IIII)V
26: return
end local 10 end local 9 end local 8 end local 7 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 27 0 this Lcom/apple/laf/AquaTextFieldBorder;
0 27 1 c Ljava/awt/Component;
0 27 2 g Ljava/awt/Graphics;
0 27 3 x I
0 27 4 y I
0 27 5 width I
0 27 6 height I
6 27 7 jc Ljavax/swing/text/JTextComponent;
7 27 8 state Lapple/laf/JRSUIConstants$State;
15 27 9 shrinkage I
16 27 10 subInsets Ljava/awt/Insets;
22 25 11 clipBounds Ljava/awt/Rectangle;
MethodParameters:
Name Flags
c final
g final
x
y
width
height
static int getShrinkageFor(javax.swing.text.JTextComponent, int);
descriptor: (Ljavax/swing/text/JTextComponent;I)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.JTextComponent.getUI:()Ljavax/swing/plaf/TextUI;
astore 2
start local 2 2: aload 2
ifnonnull 3
iconst_0
ireturn
3: StackMap locals: javax.swing.plaf.TextUI
StackMap stack:
aload 2
aload 0
invokevirtual javax.swing.plaf.TextUI.getPreferredSize:(Ljavax/swing/JComponent;)Ljava/awt/Dimension;
astore 3
start local 3 4: aload 3
ifnonnull 5
iconst_0
ireturn
5: StackMap locals: java.awt.Dimension
StackMap stack:
aload 3
getfield java.awt.Dimension.height:I
iload 1
isub
istore 4
start local 4 6: iload 4
ifge 7
iconst_0
goto 9
StackMap locals: int
StackMap stack:
7: iload 4
iconst_3
if_icmple 8
iconst_3
goto 9
StackMap locals:
StackMap stack:
8: iload 4
StackMap locals:
StackMap stack: int
9: ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 jc Ljavax/swing/text/JTextComponent;
0 10 1 height I
2 10 2 ui Ljavax/swing/plaf/TextUI;
4 10 3 size Ljava/awt/Dimension;
6 10 4 shrinkage I
MethodParameters:
Name Flags
jc final
height final
protected java.awt.Insets getSubInsets(int);
descriptor: (I)Ljava/awt/Insets;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.apple.laf.AquaTextFieldBorder.sizeVariant:Lcom/apple/laf/AquaUtilControlSize$SizeVariant;
getfield com.apple.laf.AquaUtilControlSize$SizeVariant.insets:Ljava/awt/Insets;
astore 2
start local 2 1: iload 1
ifle 3
2: new javax.swing.plaf.InsetsUIResource
dup
aload 2
getfield java.awt.Insets.top:I
iload 1
isub
aload 2
getfield java.awt.Insets.left:I
aload 2
getfield java.awt.Insets.bottom:I
iload 1
isub
aload 2
getfield java.awt.Insets.right:I
invokespecial javax.swing.plaf.InsetsUIResource.<init>:(IIII)V
areturn
3: StackMap locals: java.awt.Insets
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/apple/laf/AquaTextFieldBorder;
0 4 1 shrinkage I
1 4 2 insets Ljava/awt/Insets;
MethodParameters:
Name Flags
shrinkage final
public java.awt.Insets getBorderInsets(java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljava/awt/Insets;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.swing.text.JTextComponent
ifeq 1
aload 1
invokevirtual java.awt.Component.isOpaque:()Z
ifeq 2
StackMap locals:
StackMap stack:
1: new javax.swing.plaf.InsetsUIResource
dup
iconst_3
bipush 7
iconst_3
bipush 7
invokespecial javax.swing.plaf.InsetsUIResource.<init>:(IIII)V
areturn
2: StackMap locals:
StackMap stack:
new javax.swing.plaf.InsetsUIResource
dup
iconst_5
iconst_5
iconst_5
iconst_5
invokespecial javax.swing.plaf.InsetsUIResource.<init>:(IIII)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaTextFieldBorder;
0 3 1 c Ljava/awt/Component;
MethodParameters:
Name Flags
c final
protected static apple.laf.JRSUIConstants$State getStateFor(javax.swing.text.JTextComponent);
descriptor: (Ljavax/swing/text/JTextComponent;)Lapple/laf/JRSUIConstants$State;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.apple.laf.AquaFocusHandler.isActive:(Ljavax/swing/JComponent;)Z
ifne 2
1: getstatic apple.laf.JRSUIConstants$State.INACTIVE:Lapple/laf/JRSUIConstants$State;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.JTextComponent.isEnabled:()Z
ifne 4
3: getstatic apple.laf.JRSUIConstants$State.DISABLED:Lapple/laf/JRSUIConstants$State;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.JTextComponent.isEditable:()Z
ifne 6
5: getstatic apple.laf.JRSUIConstants$State.DISABLED:Lapple/laf/JRSUIConstants$State;
areturn
6: StackMap locals:
StackMap stack:
getstatic apple.laf.JRSUIConstants$State.ACTIVE:Lapple/laf/JRSUIConstants$State;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 jc Ljavax/swing/text/JTextComponent;
MethodParameters:
Name Flags
jc final
}
SourceFile: "AquaTextFieldBorder.java"
InnerClasses:
public Focused = apple.laf.JRSUIConstants$Focused of apple.laf.JRSUIConstants
public FrameOnly = apple.laf.JRSUIConstants$FrameOnly of apple.laf.JRSUIConstants
public Size = apple.laf.JRSUIConstants$Size of apple.laf.JRSUIConstants
public State = apple.laf.JRSUIConstants$State of apple.laf.JRSUIConstants
public Widget = apple.laf.JRSUIConstants$Widget of apple.laf.JRSUIConstants
public SizeDescriptor = com.apple.laf.AquaUtilControlSize$SizeDescriptor of com.apple.laf.AquaUtilControlSize
public SizeVariant = com.apple.laf.AquaUtilControlSize$SizeVariant of com.apple.laf.AquaUtilControlSize
abstract RecyclableSingleton = com.apple.laf.AquaUtils$RecyclableSingleton of com.apple.laf.AquaUtils
RecyclableSingletonFromDefaultConstructor = com.apple.laf.AquaUtils$RecyclableSingletonFromDefaultConstructor of com.apple.laf.AquaUtils
Property = apple.laf.JRSUIConstants$Property of apple.laf.JRSUIConstants