public class com.apple.laf.AquaTextFieldUI extends javax.swing.plaf.basic.BasicTextFieldUI
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.apple.laf.AquaTextFieldUI
super_class: javax.swing.plaf.basic.BasicTextFieldUI
{
protected com.apple.laf.AquaUtils$JComponentPainter delegate;
descriptor: Lcom/apple/laf/AquaUtils$JComponentPainter;
flags: (0x0004) ACC_PROTECTED
protected com.apple.laf.AquaFocusHandler handler;
descriptor: Lcom/apple/laf/AquaFocusHandler;
flags: (0x0004) ACC_PROTECTED
boolean oldDragState;
descriptor: Z
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicTextFieldUI.<init>:()V
1: aload 0
iconst_0
putfield com.apple.laf.AquaTextFieldUI.oldDragState:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaTextFieldUI;
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 com.apple.laf.AquaTextFieldUI
dup
invokespecial com.apple.laf.AquaTextFieldUI.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c final
protected void installListeners();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicTextFieldUI.installListeners:()V
1: aload 0
new com.apple.laf.AquaFocusHandler
dup
invokespecial com.apple.laf.AquaFocusHandler.<init>:()V
putfield com.apple.laf.AquaTextFieldUI.handler:Lcom/apple/laf/AquaFocusHandler;
2: aload 0
invokevirtual com.apple.laf.AquaTextFieldUI.getComponent:()Ljavax/swing/text/JTextComponent;
astore 1
start local 1 3: aload 1
aload 0
getfield com.apple.laf.AquaTextFieldUI.handler:Lcom/apple/laf/AquaFocusHandler;
invokevirtual javax.swing.text.JTextComponent.addFocusListener:(Ljava/awt/event/FocusListener;)V
4: aload 1
aload 0
getfield com.apple.laf.AquaTextFieldUI.handler:Lcom/apple/laf/AquaFocusHandler;
invokevirtual javax.swing.text.JTextComponent.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
5: aload 1
ldc "opaque"
new java.lang.StringBuilder
dup
aload 0
invokevirtual com.apple.laf.AquaTextFieldUI.getPropertyPrefix:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "opaque"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.getBoolean:(Ljava/lang/Object;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokestatic javax.swing.LookAndFeel.installProperty:(Ljavax/swing/JComponent;Ljava/lang/String;Ljava/lang/Object;)V
6: aload 1
invokestatic com.apple.laf.AquaUtilControlSize.addSizePropertyListener:(Ljavax/swing/JComponent;)V
7: aload 1
invokestatic com.apple.laf.AquaTextFieldSearch.installSearchFieldListener:(Ljavax/swing/text/JTextComponent;)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/apple/laf/AquaTextFieldUI;
3 9 1 c Ljavax/swing/text/JTextComponent;
protected void uninstallListeners();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.apple.laf.AquaTextFieldUI.getComponent:()Ljavax/swing/text/JTextComponent;
astore 1
start local 1 1: aload 1
invokestatic com.apple.laf.AquaTextFieldSearch.uninstallSearchFieldListener:(Ljavax/swing/text/JTextComponent;)V
2: aload 1
invokestatic com.apple.laf.AquaUtilControlSize.removeSizePropertyListener:(Ljavax/swing/JComponent;)V
3: aload 1
aload 0
getfield com.apple.laf.AquaTextFieldUI.handler:Lcom/apple/laf/AquaFocusHandler;
invokevirtual javax.swing.text.JTextComponent.removeFocusListener:(Ljava/awt/event/FocusListener;)V
4: aload 1
aload 0
getfield com.apple.laf.AquaTextFieldUI.handler:Lcom/apple/laf/AquaFocusHandler;
invokevirtual javax.swing.text.JTextComponent.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
5: aload 0
aconst_null
putfield com.apple.laf.AquaTextFieldUI.handler:Lcom/apple/laf/AquaFocusHandler;
6: aload 0
invokespecial javax.swing.plaf.basic.BasicTextFieldUI.uninstallListeners:()V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/apple/laf/AquaTextFieldUI;
1 8 1 c Ljavax/swing/text/JTextComponent;
protected void installDefaults();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic java.awt.GraphicsEnvironment.isHeadless:()Z
ifne 3
1: aload 0
aload 0
invokevirtual com.apple.laf.AquaTextFieldUI.getComponent:()Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getDragEnabled:()Z
putfield com.apple.laf.AquaTextFieldUI.oldDragState:Z
2: aload 0
invokevirtual com.apple.laf.AquaTextFieldUI.getComponent:()Ljavax/swing/text/JTextComponent;
iconst_1
invokevirtual javax.swing.text.JTextComponent.setDragEnabled:(Z)V
3: StackMap locals:
StackMap stack:
aload 0
invokespecial javax.swing.plaf.basic.BasicTextFieldUI.installDefaults:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/apple/laf/AquaTextFieldUI;
protected void uninstallDefaults();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicTextFieldUI.uninstallDefaults:()V
1: invokestatic java.awt.GraphicsEnvironment.isHeadless:()Z
ifne 3
2: aload 0
invokevirtual com.apple.laf.AquaTextFieldUI.getComponent:()Ljavax/swing/text/JTextComponent;
aload 0
getfield com.apple.laf.AquaTextFieldUI.oldDragState:Z
invokevirtual javax.swing.text.JTextComponent.setDragEnabled:(Z)V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/apple/laf/AquaTextFieldUI;
protected void installKeyboardActions();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicTextFieldUI.installKeyboardActions:()V
1: invokestatic com.apple.laf.AquaKeyBindings.instance:()Lcom/apple/laf/AquaKeyBindings;
aload 0
invokevirtual com.apple.laf.AquaTextFieldUI.getKeymapName:()Ljava/lang/String;
invokevirtual com.apple.laf.AquaKeyBindings.setDefaultAction:(Ljava/lang/String;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaTextFieldUI;
protected java.awt.Rectangle getVisibleEditorRect();
descriptor: ()Ljava/awt/Rectangle;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicTextFieldUI.getVisibleEditorRect:()Ljava/awt/Rectangle;
astore 1
start local 1 1: aload 1
ifnonnull 2
aconst_null
areturn
2: StackMap locals: java.awt.Rectangle
StackMap stack:
aload 0
invokevirtual com.apple.laf.AquaTextFieldUI.getComponent:()Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.isOpaque:()Z
ifne 5
3: aload 1
dup
getfield java.awt.Rectangle.y:I
iconst_3
isub
putfield java.awt.Rectangle.y:I
4: aload 1
dup
getfield java.awt.Rectangle.height:I
bipush 6
iadd
putfield java.awt.Rectangle.height:I
5: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/apple/laf/AquaTextFieldUI;
1 6 1 rect Ljava/awt/Rectangle;
protected void paintSafely(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.apple.laf.AquaTextFieldUI.paintBackgroundSafely:(Ljava/awt/Graphics;)V
1: aload 0
aload 1
invokespecial javax.swing.plaf.basic.BasicTextFieldUI.paintSafely:(Ljava/awt/Graphics;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaTextFieldUI;
0 3 1 g Ljava/awt/Graphics;
MethodParameters:
Name Flags
g final
protected void paintBackgroundSafely(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.apple.laf.AquaTextFieldUI.getComponent:()Ljavax/swing/text/JTextComponent;
astore 2
start local 2 1: aload 2
invokevirtual javax.swing.text.JTextComponent.getWidth:()I
istore 3
start local 3 2: aload 2
invokevirtual javax.swing.text.JTextComponent.getHeight:()I
istore 4
start local 4 3: aload 0
getfield com.apple.laf.AquaTextFieldUI.delegate:Lcom/apple/laf/AquaUtils$JComponentPainter;
ifnull 6
4: aload 0
getfield com.apple.laf.AquaTextFieldUI.delegate:Lcom/apple/laf/AquaUtils$JComponentPainter;
aload 2
aload 1
iconst_0
iconst_0
iload 3
iload 4
invokeinterface com.apple.laf.AquaUtils$JComponentPainter.paint:(Ljavax/swing/JComponent;Ljava/awt/Graphics;IIII)V
5: return
6: StackMap locals: javax.swing.text.JTextComponent int int
StackMap stack:
aload 2
invokevirtual javax.swing.text.JTextComponent.isOpaque:()Z
istore 5
start local 5 7: aload 2
invokevirtual javax.swing.text.JTextComponent.getBorder:()Ljavax/swing/border/Border;
instanceof com.apple.laf.AquaTextFieldBorder
ifne 12
8: iload 5
ifne 9
aload 2
invokestatic com.apple.laf.AquaUtils.hasOpaqueBeenExplicitlySet:(Ljavax/swing/JComponent;)Z
ifeq 9
return
9: StackMap locals: int
StackMap stack:
aload 1
aload 2
invokevirtual javax.swing.text.JTextComponent.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
10: aload 1
iconst_0
iconst_0
iload 3
iload 4
invokevirtual java.awt.Graphics.fillRect:(IIII)V
11: return
12: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual javax.swing.text.JTextComponent.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
13: iload 5
ifeq 16
14: aload 1
iconst_0
iconst_0
iload 3
iload 4
invokevirtual java.awt.Graphics.fillRect:(IIII)V
15: return
16: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.swing.text.JTextComponent.getMargin:()Ljava/awt/Insets;
astore 6
start local 6 17: aload 2
invokevirtual javax.swing.text.JTextComponent.getInsets:()Ljava/awt/Insets;
astore 7
start local 7 18: aload 7
ifnonnull 19
new java.awt.Insets
dup
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial java.awt.Insets.<init>:(IIII)V
astore 7
19: StackMap locals: java.awt.Insets java.awt.Insets
StackMap stack:
aload 6
ifnull 24
20: aload 7
dup
getfield java.awt.Insets.top:I
aload 6
getfield java.awt.Insets.top:I
isub
putfield java.awt.Insets.top:I
21: aload 7
dup
getfield java.awt.Insets.left:I
aload 6
getfield java.awt.Insets.left:I
isub
putfield java.awt.Insets.left:I
22: aload 7
dup
getfield java.awt.Insets.bottom:I
aload 6
getfield java.awt.Insets.bottom:I
isub
putfield java.awt.Insets.bottom:I
23: aload 7
dup
getfield java.awt.Insets.right:I
aload 6
getfield java.awt.Insets.right:I
isub
putfield java.awt.Insets.right:I
24: StackMap locals:
StackMap stack:
aload 2
iload 4
invokestatic com.apple.laf.AquaTextFieldBorder.getShrinkageFor:(Ljavax/swing/text/JTextComponent;I)I
istore 8
start local 8 25: aload 1
aload 7
getfield java.awt.Insets.left:I
iconst_2
isub
aload 7
getfield java.awt.Insets.top:I
iload 8
isub
iconst_1
isub
iload 3
aload 7
getfield java.awt.Insets.right:I
isub
aload 7
getfield java.awt.Insets.left:I
isub
iconst_4
iadd
iload 4
aload 7
getfield java.awt.Insets.bottom:I
isub
aload 7
getfield java.awt.Insets.top:I
isub
iload 8
iconst_2
imul
iadd
iconst_2
iadd
invokevirtual java.awt.Graphics.fillRect:(IIII)V
26: return
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/AquaTextFieldUI;
0 27 1 g Ljava/awt/Graphics;
1 27 2 c Ljavax/swing/text/JTextComponent;
2 27 3 width I
3 27 4 height I
7 27 5 isOpaque Z
17 27 6 margin Ljava/awt/Insets;
18 27 7 insets Ljava/awt/Insets;
25 27 8 shrinkage I
MethodParameters:
Name Flags
g final
protected void paintBackground(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaTextFieldUI;
0 1 1 g Ljava/awt/Graphics;
MethodParameters:
Name Flags
g final
protected javax.swing.text.Caret createCaret();
descriptor: ()Ljavax/swing/text/Caret;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual com.apple.laf.AquaTextFieldUI.getComponent:()Ljavax/swing/text/JTextComponent;
astore 1
start local 1 1: aload 1
invokestatic javax.swing.SwingUtilities.getWindowAncestor:(Ljava/awt/Component;)Ljava/awt/Window;
astore 2
start local 2 2: new com.apple.laf.AquaCaret
dup
aload 2
aload 1
invokespecial com.apple.laf.AquaCaret.<init>:(Ljava/awt/Window;Ljavax/swing/text/JTextComponent;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaTextFieldUI;
1 3 1 c Ljavax/swing/text/JTextComponent;
2 3 2 owningWindow Ljava/awt/Window;
protected javax.swing.text.Highlighter createHighlighter();
descriptor: ()Ljavax/swing/text/Highlighter;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: new com.apple.laf.AquaHighlighter
dup
invokespecial com.apple.laf.AquaHighlighter.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaTextFieldUI;
protected void setPaintingDelegate(com.apple.laf.AquaUtils$JComponentPainter);
descriptor: (Lcom/apple/laf/AquaUtils$JComponentPainter;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.apple.laf.AquaTextFieldUI.delegate:Lcom/apple/laf/AquaUtils$JComponentPainter;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/AquaTextFieldUI;
0 2 1 delegate Lcom/apple/laf/AquaUtils$JComponentPainter;
MethodParameters:
Name Flags
delegate final
}
SourceFile: "AquaTextFieldUI.java"
InnerClasses:
abstract JComponentPainter = com.apple.laf.AquaUtils$JComponentPainter of com.apple.laf.AquaUtils