public class com.apple.laf.AquaTextFieldSearch
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.apple.laf.AquaTextFieldSearch
super_class: java.lang.Object
{
private static final java.lang.String VARIANT_KEY;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "JTextField.variant"
private static final java.lang.String SEARCH_VARIANT_VALUE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "search"
private static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "JTextField.Search.FindPopup"
private static final java.lang.String FIND_ACTION_KEY;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "JTextField.Search.FindAction"
private static final java.lang.String CANCEL_ACTION_KEY;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "JTextField.Search.CancelAction"
private static final java.lang.String PROMPT_KEY;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "JTextField.Search.Prompt"
private static final com.apple.laf.AquaTextFieldSearch$SearchFieldPropertyListener SEARCH_FIELD_PROPERTY_LISTENER;
descriptor: Lcom/apple/laf/AquaTextFieldSearch$SearchFieldPropertyListener;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected static final com.apple.laf.AquaUtils$RecyclableSingleton<com.apple.laf.AquaTextFieldSearch$SearchFieldBorder> instance;
descriptor: Lcom/apple/laf/AquaUtils$RecyclableSingleton;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
Signature: Lcom/apple/laf/AquaUtils$RecyclableSingleton<Lcom/apple/laf/AquaTextFieldSearch$SearchFieldBorder;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.apple.laf.AquaTextFieldSearch$SearchFieldPropertyListener
dup
invokespecial com.apple.laf.AquaTextFieldSearch$SearchFieldPropertyListener.<init>:()V
putstatic com.apple.laf.AquaTextFieldSearch.SEARCH_FIELD_PROPERTY_LISTENER:Lcom/apple/laf/AquaTextFieldSearch$SearchFieldPropertyListener;
1: new com.apple.laf.AquaUtils$RecyclableSingletonFromDefaultConstructor
dup
ldc Lcom/apple/laf/AquaTextFieldSearch$SearchFieldBorder;
invokespecial com.apple.laf.AquaUtils$RecyclableSingletonFromDefaultConstructor.<init>:(Ljava/lang/Class;)V
putstatic com.apple.laf.AquaTextFieldSearch.instance:Lcom/apple/laf/AquaUtils$RecyclableSingleton;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaTextFieldSearch;
protected static void installSearchFieldListener(javax.swing.text.JTextComponent);
descriptor: (Ljavax/swing/text/JTextComponent;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic com.apple.laf.AquaTextFieldSearch.SEARCH_FIELD_PROPERTY_LISTENER:Lcom/apple/laf/AquaTextFieldSearch$SearchFieldPropertyListener;
invokevirtual javax.swing.text.JTextComponent.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 c Ljavax/swing/text/JTextComponent;
MethodParameters:
Name Flags
c final
protected static void uninstallSearchFieldListener(javax.swing.text.JTextComponent);
descriptor: (Ljavax/swing/text/JTextComponent;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic com.apple.laf.AquaTextFieldSearch.SEARCH_FIELD_PROPERTY_LISTENER:Lcom/apple/laf/AquaTextFieldSearch$SearchFieldPropertyListener;
invokevirtual javax.swing.text.JTextComponent.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 c Ljavax/swing/text/JTextComponent;
MethodParameters:
Name Flags
c final
protected static boolean wantsToBeASearchField(javax.swing.text.JTextComponent);
descriptor: (Ljavax/swing/text/JTextComponent;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: ldc "search"
aload 0
ldc "JTextField.variant"
invokevirtual javax.swing.text.JTextComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljavax/swing/text/JTextComponent;
MethodParameters:
Name Flags
c final
protected static boolean (javax.swing.text.JTextComponent);
descriptor: (Ljavax/swing/text/JTextComponent;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "JTextField.Search.FindPopup"
invokevirtual javax.swing.text.JTextComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
instanceof javax.swing.JPopupMenu
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljavax/swing/text/JTextComponent;
MethodParameters:
Name Flags
c final
public static com.apple.laf.AquaTextFieldSearch$SearchFieldBorder getSearchTextFieldBorder();
descriptor: ()Lcom/apple/laf/AquaTextFieldSearch$SearchFieldBorder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.apple.laf.AquaTextFieldSearch.instance:Lcom/apple/laf/AquaUtils$RecyclableSingleton;
invokevirtual com.apple.laf.AquaUtils$RecyclableSingleton.get:()Ljava/lang/Object;
checkcast com.apple.laf.AquaTextFieldSearch$SearchFieldBorder
areturn
LocalVariableTable:
Start End Slot Name Signature
protected static void installSearchField(javax.swing.text.JTextComponent);
descriptor: (Ljavax/swing/text/JTextComponent;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: invokestatic com.apple.laf.AquaTextFieldSearch.getSearchTextFieldBorder:()Lcom/apple/laf/AquaTextFieldSearch$SearchFieldBorder;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual javax.swing.text.JTextComponent.setBorder:(Ljavax/swing/border/Border;)V
2: aload 0
aload 1
invokevirtual com.apple.laf.AquaTextFieldSearch$SearchFieldBorder.getCustomLayout:()Ljava/awt/LayoutManager;
invokevirtual javax.swing.text.JTextComponent.setLayout:(Ljava/awt/LayoutManager;)V
3: aload 0
aload 0
invokestatic com.apple.laf.AquaTextFieldSearch.getFindButton:(Ljavax/swing/text/JTextComponent;)Ljavax/swing/JButton;
ldc "West"
invokevirtual javax.swing.text.JTextComponent.add:(Ljava/awt/Component;Ljava/lang/Object;)V
4: aload 0
aload 0
invokestatic com.apple.laf.AquaTextFieldSearch.getCancelButton:(Ljavax/swing/text/JTextComponent;)Ljavax/swing/JButton;
ldc "East"
invokevirtual javax.swing.text.JTextComponent.add:(Ljava/awt/Component;Ljava/lang/Object;)V
5: aload 0
aload 0
invokestatic com.apple.laf.AquaTextFieldSearch.getPromptLabel:(Ljavax/swing/text/JTextComponent;)Ljava/awt/Component;
ldc "Center"
invokevirtual javax.swing.text.JTextComponent.add:(Ljava/awt/Component;Ljava/lang/Object;)V
6: aload 0
invokevirtual javax.swing.text.JTextComponent.getUI:()Ljavax/swing/plaf/TextUI;
astore 2
start local 2 7: aload 2
instanceof com.apple.laf.AquaTextFieldUI
ifeq 9
8: aload 2
checkcast com.apple.laf.AquaTextFieldUI
aload 1
invokevirtual com.apple.laf.AquaTextFieldUI.setPaintingDelegate:(Lcom/apple/laf/AquaUtils$JComponentPainter;)V
9: StackMap locals: com.apple.laf.AquaTextFieldSearch$SearchFieldBorder javax.swing.plaf.TextUI
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 c Ljavax/swing/text/JTextComponent;
1 10 1 border Lcom/apple/laf/AquaTextFieldSearch$SearchFieldBorder;
7 10 2 ui Ljavax/swing/plaf/TextUI;
MethodParameters:
Name Flags
c final
protected static void uninstallSearchField(javax.swing.text.JTextComponent);
descriptor: (Ljavax/swing/text/JTextComponent;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ldc "TextField.border"
invokestatic javax.swing.UIManager.getBorder:(Ljava/lang/Object;)Ljavax/swing/border/Border;
invokevirtual javax.swing.text.JTextComponent.setBorder:(Ljavax/swing/border/Border;)V
1: aload 0
invokevirtual javax.swing.text.JTextComponent.removeAll:()V
2: aload 0
invokevirtual javax.swing.text.JTextComponent.getUI:()Ljavax/swing/plaf/TextUI;
astore 1
start local 1 3: aload 1
instanceof com.apple.laf.AquaTextFieldUI
ifeq 5
4: aload 1
checkcast com.apple.laf.AquaTextFieldUI
aconst_null
invokevirtual com.apple.laf.AquaTextFieldUI.setPaintingDelegate:(Lcom/apple/laf/AquaUtils$JComponentPainter;)V
5: StackMap locals: javax.swing.plaf.TextUI
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 c Ljavax/swing/text/JTextComponent;
3 6 1 ui Ljavax/swing/plaf/TextUI;
MethodParameters:
Name Flags
c final
protected static com.apple.laf.AquaIcon$DynamicallySizingJRSUIIcon getFindIcon(javax.swing.text.JTextComponent);
descriptor: (Ljavax/swing/text/JTextComponent;)Lcom/apple/laf/AquaIcon$DynamicallySizingJRSUIIcon;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=9, locals=1, args_size=1
start local 0 0: aload 0
ldc "JTextField.Search.FindPopup"
invokevirtual javax.swing.text.JTextComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 3
1: new com.apple.laf.AquaTextFieldSearch$1
dup
new com.apple.laf.AquaUtilControlSize$SizeDescriptor
dup
new com.apple.laf.AquaUtilControlSize$SizeVariant
dup
bipush 25
bipush 22
invokespecial com.apple.laf.AquaUtilControlSize$SizeVariant.<init>:(II)V
iconst_0
iconst_4
iconst_0
bipush -5
invokevirtual com.apple.laf.AquaUtilControlSize$SizeVariant.alterMargins:(IIII)Lcom/apple/laf/AquaUtilControlSize$SizeVariant;
invokespecial com.apple.laf.AquaUtilControlSize$SizeDescriptor.<init>:(Lcom/apple/laf/AquaUtilControlSize$SizeVariant;)V
invokespecial com.apple.laf.AquaTextFieldSearch$1.<init>:(Lcom/apple/laf/AquaUtilControlSize$SizeDescriptor;)V
2: goto 4
3: StackMap locals:
StackMap stack:
new com.apple.laf.AquaTextFieldSearch$2
dup
new com.apple.laf.AquaUtilControlSize$SizeDescriptor
dup
new com.apple.laf.AquaUtilControlSize$SizeVariant
dup
bipush 25
bipush 22
invokespecial com.apple.laf.AquaUtilControlSize$SizeVariant.<init>:(II)V
iconst_0
iconst_4
iconst_0
iconst_2
invokevirtual com.apple.laf.AquaUtilControlSize$SizeVariant.alterMargins:(IIII)Lcom/apple/laf/AquaUtilControlSize$SizeVariant;
invokespecial com.apple.laf.AquaUtilControlSize$SizeDescriptor.<init>:(Lcom/apple/laf/AquaUtilControlSize$SizeVariant;)V
invokespecial com.apple.laf.AquaTextFieldSearch$2.<init>:(Lcom/apple/laf/AquaUtilControlSize$SizeDescriptor;)V
4: StackMap locals:
StackMap stack: com.apple.laf.AquaIcon$DynamicallySizingJRSUIIcon
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 text Ljavax/swing/text/JTextComponent;
MethodParameters:
Name Flags
text final
protected static com.apple.laf.AquaIcon$DynamicallySizingJRSUIIcon getCancelIcon();
descriptor: ()Lcom/apple/laf/AquaIcon$DynamicallySizingJRSUIIcon;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=9, locals=0, args_size=0
0: new com.apple.laf.AquaTextFieldSearch$3
dup
new com.apple.laf.AquaUtilControlSize$SizeDescriptor
dup
new com.apple.laf.AquaUtilControlSize$SizeVariant
dup
bipush 22
bipush 22
invokespecial com.apple.laf.AquaUtilControlSize$SizeVariant.<init>:(II)V
iconst_0
iconst_0
iconst_0
iconst_4
invokevirtual com.apple.laf.AquaUtilControlSize$SizeVariant.alterMargins:(IIII)Lcom/apple/laf/AquaUtilControlSize$SizeVariant;
invokespecial com.apple.laf.AquaUtilControlSize$SizeDescriptor.<init>:(Lcom/apple/laf/AquaUtilControlSize$SizeVariant;)V
invokespecial com.apple.laf.AquaTextFieldSearch$3.<init>:(Lcom/apple/laf/AquaUtilControlSize$SizeDescriptor;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
protected static apple.laf.JRSUIConstants$State getState(javax.swing.JButton);
descriptor: (Ljavax/swing/JButton;)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 1
getstatic apple.laf.JRSUIConstants$State.INACTIVE:Lapple/laf/JRSUIConstants$State;
areturn
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.JButton.getModel:()Ljavax/swing/ButtonModel;
invokeinterface javax.swing.ButtonModel.isPressed:()Z
ifeq 2
getstatic apple.laf.JRSUIConstants$State.PRESSED:Lapple/laf/JRSUIConstants$State;
areturn
2: 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 3 0 b Ljavax/swing/JButton;
MethodParameters:
Name Flags
b final
protected static javax.swing.JButton createButton(javax.swing.text.JTextComponent, com.apple.laf.AquaIcon$DynamicallySizingJRSUIIcon);
descriptor: (Ljavax/swing/text/JTextComponent;Lcom/apple/laf/AquaIcon$DynamicallySizingJRSUIIcon;)Ljavax/swing/JButton;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: new javax.swing.JButton
dup
invokespecial javax.swing.JButton.<init>:()V
astore 2
start local 2 1: aload 1
getfield com.apple.laf.AquaIcon$DynamicallySizingJRSUIIcon.sizeVariant:Lcom/apple/laf/AquaUtilControlSize$SizeVariant;
getfield com.apple.laf.AquaUtilControlSize$SizeVariant.margins:Ljava/awt/Insets;
astore 3
start local 3 2: aload 2
aload 3
getfield java.awt.Insets.top:I
aload 3
getfield java.awt.Insets.left:I
aload 3
getfield java.awt.Insets.bottom:I
aload 3
getfield java.awt.Insets.right:I
invokestatic javax.swing.BorderFactory.createEmptyBorder:(IIII)Ljavax/swing/border/Border;
invokevirtual javax.swing.JButton.setBorder:(Ljavax/swing/border/Border;)V
3: aload 2
aload 1
invokevirtual javax.swing.JButton.setIcon:(Ljavax/swing/Icon;)V
4: aload 2
iconst_0
invokevirtual javax.swing.JButton.setBorderPainted:(Z)V
5: aload 2
iconst_0
invokevirtual javax.swing.JButton.setFocusable:(Z)V
6: aload 2
new java.awt.Cursor
dup
iconst_0
invokespecial java.awt.Cursor.<init>:(I)V
invokevirtual javax.swing.JButton.setCursor:(Ljava/awt/Cursor;)V
7: aload 2
new com.apple.laf.AquaTextFieldSearch$4
dup
aload 1
aload 2
invokespecial com.apple.laf.AquaTextFieldSearch$4.<init>:(Lcom/apple/laf/AquaIcon$DynamicallySizingJRSUIIcon;Ljavax/swing/JButton;)V
invokevirtual javax.swing.JButton.addChangeListener:(Ljavax/swing/event/ChangeListener;)V
8: aload 2
new com.apple.laf.AquaTextFieldSearch$5
dup
aload 0
invokespecial com.apple.laf.AquaTextFieldSearch$5.<init>:(Ljavax/swing/text/JTextComponent;)V
invokevirtual javax.swing.JButton.addMouseListener:(Ljava/awt/event/MouseListener;)V
9: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 c Ljavax/swing/text/JTextComponent;
0 10 1 icon Lcom/apple/laf/AquaIcon$DynamicallySizingJRSUIIcon;
1 10 2 b Ljavax/swing/JButton;
2 10 3 i Ljava/awt/Insets;
MethodParameters:
Name Flags
c final
icon final
protected static javax.swing.JButton getFindButton(javax.swing.text.JTextComponent);
descriptor: (Ljavax/swing/text/JTextComponent;)Ljavax/swing/JButton;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
invokestatic com.apple.laf.AquaTextFieldSearch.getFindIcon:(Ljavax/swing/text/JTextComponent;)Lcom/apple/laf/AquaIcon$DynamicallySizingJRSUIIcon;
astore 1
start local 1 1: aload 0
aload 1
invokestatic com.apple.laf.AquaTextFieldSearch.createButton:(Ljavax/swing/text/JTextComponent;Lcom/apple/laf/AquaIcon$DynamicallySizingJRSUIIcon;)Ljavax/swing/JButton;
astore 2
start local 2 2: aload 2
ldc "find"
invokevirtual javax.swing.JButton.setName:(Ljava/lang/String;)V
3: aload 0
ldc "JTextField.Search.FindPopup"
invokevirtual javax.swing.text.JTextComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 4: aload 3
instanceof javax.swing.JPopupMenu
ifeq 7
5: aload 1
getfield com.apple.laf.AquaIcon$DynamicallySizingJRSUIIcon.painter:Lcom/apple/laf/AquaPainter;
getfield com.apple.laf.AquaPainter.state:Lapple/laf/JRSUIState;
getstatic apple.laf.JRSUIConstants$Variant.MENU_GLYPH:Lapple/laf/JRSUIConstants$Variant;
invokevirtual apple.laf.JRSUIState.set:(Lapple/laf/JRSUIConstants$Property;)V
6: aload 2
new com.apple.laf.AquaTextFieldSearch$6
dup
aload 3
aload 2
aload 0
invokespecial com.apple.laf.AquaTextFieldSearch$6.<init>:(Ljava/lang/Object;Ljavax/swing/JButton;Ljavax/swing/text/JTextComponent;)V
invokevirtual javax.swing.JButton.addMouseListener:(Ljava/awt/event/MouseListener;)V
7: StackMap locals: com.apple.laf.AquaIcon$DynamicallySizingJRSUIIcon javax.swing.JButton java.lang.Object
StackMap stack:
aload 0
ldc "JTextField.Search.FindAction"
invokevirtual javax.swing.text.JTextComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 8: aload 4
instanceof java.awt.event.ActionListener
ifeq 10
9: aload 2
aload 4
checkcast java.awt.event.ActionListener
invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
10: StackMap locals: java.lang.Object
StackMap stack:
aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 c Ljavax/swing/text/JTextComponent;
1 11 1 findIcon Lcom/apple/laf/AquaIcon$DynamicallySizingJRSUIIcon;
2 11 2 b Ljavax/swing/JButton;
4 11 3 findPopup Ljava/lang/Object;
8 11 4 findAction Ljava/lang/Object;
MethodParameters:
Name Flags
c final
private static java.awt.Component getPromptLabel(javax.swing.text.JTextComponent);
descriptor: (Ljavax/swing/text/JTextComponent;)Ljava/awt/Component;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new javax.swing.JLabel
dup
invokespecial javax.swing.JLabel.<init>:()V
astore 1
start local 1 1: aload 1
ldc "TextField.inactiveForeground"
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
invokevirtual javax.swing.JLabel.setForeground:(Ljava/awt/Color;)V
2: aload 0
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
new com.apple.laf.AquaTextFieldSearch$7
dup
aload 1
aload 0
invokespecial com.apple.laf.AquaTextFieldSearch$7.<init>:(Ljavax/swing/JLabel;Ljavax/swing/text/JTextComponent;)V
invokeinterface javax.swing.text.Document.addDocumentListener:(Ljavax/swing/event/DocumentListener;)V
3: aload 0
new com.apple.laf.AquaTextFieldSearch$8
dup
aload 1
aload 0
invokespecial com.apple.laf.AquaTextFieldSearch$8.<init>:(Ljavax/swing/JLabel;Ljavax/swing/text/JTextComponent;)V
invokevirtual javax.swing.text.JTextComponent.addFocusListener:(Ljava/awt/event/FocusListener;)V
4: aload 1
aload 0
invokestatic com.apple.laf.AquaTextFieldSearch.updatePromptLabel:(Ljavax/swing/JLabel;Ljavax/swing/text/JTextComponent;)V
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 c Ljavax/swing/text/JTextComponent;
1 6 1 label Ljavax/swing/JLabel;
MethodParameters:
Name Flags
c final
static void updatePromptLabel(javax.swing.JLabel, javax.swing.text.JTextComponent);
descriptor: (Ljavax/swing/JLabel;Ljavax/swing/text/JTextComponent;)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: invokestatic javax.swing.SwingUtilities.isEventDispatchThread:()Z
ifeq 3
1: aload 0
aload 1
invokestatic com.apple.laf.AquaTextFieldSearch.updatePromptLabelOnEDT:(Ljavax/swing/JLabel;Ljavax/swing/text/JTextComponent;)V
2: goto 4
3: StackMap locals:
StackMap stack:
new com.apple.laf.AquaTextFieldSearch$9
dup
aload 0
aload 1
invokespecial com.apple.laf.AquaTextFieldSearch$9.<init>:(Ljavax/swing/JLabel;Ljavax/swing/text/JTextComponent;)V
invokestatic javax.swing.SwingUtilities.invokeLater:(Ljava/lang/Runnable;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 label Ljavax/swing/JLabel;
0 5 1 text Ljavax/swing/text/JTextComponent;
MethodParameters:
Name Flags
label final
text final
static void updatePromptLabelOnEDT(javax.swing.JLabel, javax.swing.text.JTextComponent);
descriptor: (Ljavax/swing/JLabel;Ljavax/swing/text/JTextComponent;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: ldc " "
astore 2
start local 2 1: aload 1
invokevirtual javax.swing.text.JTextComponent.hasFocus:()Z
ifne 4
ldc ""
aload 1
invokevirtual javax.swing.text.JTextComponent.getText:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
2: aload 1
ldc "JTextField.Search.Prompt"
invokevirtual javax.swing.text.JTextComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 3: aload 3
ifnull 4
aload 3
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 2
end local 3 4: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 2
invokevirtual javax.swing.JLabel.setText:(Ljava/lang/String;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 label Ljavax/swing/JLabel;
0 6 1 text Ljavax/swing/text/JTextComponent;
1 6 2 promptText Ljava/lang/String;
3 4 3 prompt Ljava/lang/Object;
MethodParameters:
Name Flags
label final
text final
protected static javax.swing.JButton getCancelButton(javax.swing.text.JTextComponent);
descriptor: (Ljavax/swing/text/JTextComponent;)Ljavax/swing/JButton;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokestatic com.apple.laf.AquaTextFieldSearch.getCancelIcon:()Lcom/apple/laf/AquaIcon$DynamicallySizingJRSUIIcon;
invokestatic com.apple.laf.AquaTextFieldSearch.createButton:(Ljavax/swing/text/JTextComponent;Lcom/apple/laf/AquaIcon$DynamicallySizingJRSUIIcon;)Ljavax/swing/JButton;
astore 1
start local 1 1: aload 1
ldc "cancel"
invokevirtual javax.swing.JButton.setName:(Ljava/lang/String;)V
2: aload 0
ldc "JTextField.Search.CancelAction"
invokevirtual javax.swing.text.JTextComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 3: aload 2
instanceof java.awt.event.ActionListener
ifeq 5
4: aload 1
aload 2
checkcast java.awt.event.ActionListener
invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
5: StackMap locals: javax.swing.JButton java.lang.Object
StackMap stack:
aload 1
new com.apple.laf.AquaTextFieldSearch$10
dup
ldc "cancel"
aload 0
invokespecial com.apple.laf.AquaTextFieldSearch$10.<init>:(Ljava/lang/String;Ljavax/swing/text/JTextComponent;)V
invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
6: aload 0
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
new com.apple.laf.AquaTextFieldSearch$11
dup
aload 1
aload 0
invokespecial com.apple.laf.AquaTextFieldSearch$11.<init>:(Ljavax/swing/JButton;Ljavax/swing/text/JTextComponent;)V
invokeinterface javax.swing.text.Document.addDocumentListener:(Ljavax/swing/event/DocumentListener;)V
7: aload 1
aload 0
invokestatic com.apple.laf.AquaTextFieldSearch.updateCancelIcon:(Ljavax/swing/JButton;Ljavax/swing/text/JTextComponent;)V
8: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 c Ljavax/swing/text/JTextComponent;
1 9 1 b Ljavax/swing/JButton;
3 9 2 cancelAction Ljava/lang/Object;
MethodParameters:
Name Flags
c final
static void updateCancelIcon(javax.swing.JButton, javax.swing.text.JTextComponent);
descriptor: (Ljavax/swing/JButton;Ljavax/swing/text/JTextComponent;)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: invokestatic javax.swing.SwingUtilities.isEventDispatchThread:()Z
ifeq 3
1: aload 0
aload 1
invokestatic com.apple.laf.AquaTextFieldSearch.updateCancelIconOnEDT:(Ljavax/swing/JButton;Ljavax/swing/text/JTextComponent;)V
2: goto 4
3: StackMap locals:
StackMap stack:
new com.apple.laf.AquaTextFieldSearch$12
dup
aload 0
aload 1
invokespecial com.apple.laf.AquaTextFieldSearch$12.<init>:(Ljavax/swing/JButton;Ljavax/swing/text/JTextComponent;)V
invokestatic javax.swing.SwingUtilities.invokeLater:(Ljava/lang/Runnable;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 button Ljavax/swing/JButton;
0 5 1 text Ljavax/swing/text/JTextComponent;
MethodParameters:
Name Flags
button final
text final
static void updateCancelIconOnEDT(javax.swing.JButton, javax.swing.text.JTextComponent);
descriptor: (Ljavax/swing/JButton;Ljavax/swing/text/JTextComponent;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc ""
aload 1
invokevirtual javax.swing.text.JTextComponent.getText:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: javax.swing.JButton
1: iconst_1
StackMap locals: javax.swing.JButton javax.swing.text.JTextComponent
StackMap stack: javax.swing.JButton int
2: invokevirtual javax.swing.JButton.setVisible:(Z)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 button Ljavax/swing/JButton;
0 4 1 text Ljavax/swing/text/JTextComponent;
MethodParameters:
Name Flags
button final
text final
}
SourceFile: "AquaTextFieldSearch.java"
NestMembers:
com.apple.laf.AquaTextFieldSearch$1 com.apple.laf.AquaTextFieldSearch$10 com.apple.laf.AquaTextFieldSearch$11 com.apple.laf.AquaTextFieldSearch$12 com.apple.laf.AquaTextFieldSearch$2 com.apple.laf.AquaTextFieldSearch$3 com.apple.laf.AquaTextFieldSearch$4 com.apple.laf.AquaTextFieldSearch$5 com.apple.laf.AquaTextFieldSearch$6 com.apple.laf.AquaTextFieldSearch$7 com.apple.laf.AquaTextFieldSearch$8 com.apple.laf.AquaTextFieldSearch$9 com.apple.laf.AquaTextFieldSearch$SearchFieldBorder com.apple.laf.AquaTextFieldSearch$SearchFieldBorder$1 com.apple.laf.AquaTextFieldSearch$SearchFieldPropertyListener
InnerClasses:
public State = apple.laf.JRSUIConstants$State of apple.laf.JRSUIConstants
public Variant = apple.laf.JRSUIConstants$Variant of apple.laf.JRSUIConstants
abstract DynamicallySizingJRSUIIcon = com.apple.laf.AquaIcon$DynamicallySizingJRSUIIcon of com.apple.laf.AquaIcon
com.apple.laf.AquaTextFieldSearch$1
com.apple.laf.AquaTextFieldSearch$10
com.apple.laf.AquaTextFieldSearch$11
com.apple.laf.AquaTextFieldSearch$12
com.apple.laf.AquaTextFieldSearch$2
com.apple.laf.AquaTextFieldSearch$3
com.apple.laf.AquaTextFieldSearch$4
com.apple.laf.AquaTextFieldSearch$5
com.apple.laf.AquaTextFieldSearch$6
com.apple.laf.AquaTextFieldSearch$7
com.apple.laf.AquaTextFieldSearch$8
com.apple.laf.AquaTextFieldSearch$9
SearchFieldBorder = com.apple.laf.AquaTextFieldSearch$SearchFieldBorder of com.apple.laf.AquaTextFieldSearch
SearchFieldPropertyListener = com.apple.laf.AquaTextFieldSearch$SearchFieldPropertyListener of com.apple.laf.AquaTextFieldSearch
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 JComponentPainter = com.apple.laf.AquaUtils$JComponentPainter of com.apple.laf.AquaUtils
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