public abstract class com.sun.java.swing.ui.CommonToolBar extends javax.swing.JToolBar
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.java.swing.ui.CommonToolBar
super_class: javax.swing.JToolBar
{
protected com.sun.java.swing.action.ActionManager manager;
descriptor: Lcom/sun/java/swing/action/ActionManager;
flags: (0x0004) ACC_PROTECTED
private java.awt.Dimension buttonSize;
descriptor: Ljava/awt/Dimension;
flags: (0x0002) ACC_PRIVATE
private java.awt.Insets buttonInsets;
descriptor: Ljava/awt/Insets;
flags: (0x0002) ACC_PRIVATE
private com.sun.java.swing.ui.StatusBar statusBar;
descriptor: Lcom/sun/java/swing/ui/StatusBar;
flags: (0x0002) ACC_PRIVATE
protected void <init>(com.sun.java.swing.action.ActionManager);
descriptor: (Lcom/sun/java/swing/action/ActionManager;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.sun.java.swing.ui.StatusBar.getInstance:()Lcom/sun/java/swing/ui/StatusBar;
invokespecial com.sun.java.swing.ui.CommonToolBar.<init>:(Lcom/sun/java/swing/action/ActionManager;Lcom/sun/java/swing/ui/StatusBar;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/java/swing/ui/CommonToolBar;
0 2 1 manager Lcom/sun/java/swing/action/ActionManager;
MethodParameters:
Name Flags
manager
protected void <init>(com.sun.java.swing.action.ActionManager, com.sun.java.swing.ui.StatusBar);
descriptor: (Lcom/sun/java/swing/action/ActionManager;Lcom/sun/java/swing/ui/StatusBar;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial javax.swing.JToolBar.<init>:()V
1: aload 0
aload 1
putfield com.sun.java.swing.ui.CommonToolBar.manager:Lcom/sun/java/swing/action/ActionManager;
2: aload 0
aload 2
putfield com.sun.java.swing.ui.CommonToolBar.statusBar:Lcom/sun/java/swing/ui/StatusBar;
3: aload 0
new java.awt.Dimension
dup
invokestatic com.sun.java.swing.ui.CommonUI.getButtconPrefSize:()Ljava/awt/Dimension;
invokespecial java.awt.Dimension.<init>:(Ljava/awt/Dimension;)V
putfield com.sun.java.swing.ui.CommonToolBar.buttonSize:Ljava/awt/Dimension;
4: aload 0
new java.awt.Insets
dup
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial java.awt.Insets.<init>:(IIII)V
putfield com.sun.java.swing.ui.CommonToolBar.buttonInsets:Ljava/awt/Insets;
5: aload 0
invokevirtual com.sun.java.swing.ui.CommonToolBar.addComponents:()V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/java/swing/ui/CommonToolBar;
0 7 1 manager Lcom/sun/java/swing/action/ActionManager;
0 7 2 status Lcom/sun/java/swing/ui/StatusBar;
MethodParameters:
Name Flags
manager
status
protected abstract void addComponents();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected void addButton(javax.swing.Action);
descriptor: (Ljavax/swing/Action;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.java.swing.ui.CommonToolBar.add:(Ljavax/swing/Action;)Ljavax/swing/JButton;
astore 2
start local 2 1: aload 0
aload 2
aload 1
invokevirtual com.sun.java.swing.ui.CommonToolBar.configureButton:(Ljavax/swing/AbstractButton;Ljavax/swing/Action;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/java/swing/ui/CommonToolBar;
0 3 1 action Ljavax/swing/Action;
1 3 2 button Ljavax/swing/JButton;
MethodParameters:
Name Flags
action
protected void addToggleButton(com.sun.java.swing.action.StateChangeAction);
descriptor: (Lcom/sun/java/swing/action/StateChangeAction;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual com.sun.java.swing.ui.CommonToolBar.addToggleButton:(Lcom/sun/java/swing/action/StateChangeAction;Ljavax/swing/ButtonGroup;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/java/swing/ui/CommonToolBar;
0 2 1 a Lcom/sun/java/swing/action/StateChangeAction;
MethodParameters:
Name Flags
a
protected void addToggleButton(com.sun.java.swing.action.StateChangeAction, javax.swing.ButtonGroup);
descriptor: (Lcom/sun/java/swing/action/StateChangeAction;Ljavax/swing/ButtonGroup;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new javax.swing.JToggleButton
dup
aload 1
invokespecial javax.swing.JToggleButton.<init>:(Ljavax/swing/Action;)V
astore 3
start local 3 1: aload 3
aload 1
invokevirtual javax.swing.JToggleButton.addItemListener:(Ljava/awt/event/ItemListener;)V
2: aload 3
aload 1
invokevirtual com.sun.java.swing.action.StateChangeAction.isSelected:()Z
invokevirtual javax.swing.JToggleButton.setSelected:(Z)V
3: aload 2
ifnull 5
4: aload 2
aload 3
invokevirtual javax.swing.ButtonGroup.add:(Ljavax/swing/AbstractButton;)V
5: StackMap locals: javax.swing.JToggleButton
StackMap stack:
aload 0
aload 3
invokevirtual com.sun.java.swing.ui.CommonToolBar.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
6: aload 0
aload 3
aload 1
invokevirtual com.sun.java.swing.ui.CommonToolBar.configureToggleButton:(Ljavax/swing/JToggleButton;Ljavax/swing/Action;)V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/java/swing/ui/CommonToolBar;
0 8 1 a Lcom/sun/java/swing/action/StateChangeAction;
0 8 2 group Ljavax/swing/ButtonGroup;
1 8 3 button Ljavax/swing/JToggleButton;
MethodParameters:
Name Flags
a
group
protected void configureToggleButton(javax.swing.JToggleButton, javax.swing.Action);
descriptor: (Ljavax/swing/JToggleButton;Ljavax/swing/Action;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual com.sun.java.swing.ui.CommonToolBar.configureButton:(Ljavax/swing/AbstractButton;Ljavax/swing/Action;)V
1: aload 2
new com.sun.java.swing.ui.ToggleActionPropertyChangeListener
dup
aload 1
invokespecial com.sun.java.swing.ui.ToggleActionPropertyChangeListener.<init>:(Ljavax/swing/AbstractButton;)V
invokeinterface javax.swing.Action.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/java/swing/ui/CommonToolBar;
0 3 1 button Ljavax/swing/JToggleButton;
0 3 2 action Ljavax/swing/Action;
MethodParameters:
Name Flags
button
action
protected void configureButton(javax.swing.AbstractButton, javax.swing.Action);
descriptor: (Ljavax/swing/AbstractButton;Ljavax/swing/Action;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
ldc "Name"
invokeinterface javax.swing.Action.getValue:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual javax.swing.AbstractButton.setToolTipText:(Ljava/lang/String;)V
1: aload 1
ldc ""
invokevirtual javax.swing.AbstractButton.setText:(Ljava/lang/String;)V
2: aload 1
aload 0
getfield com.sun.java.swing.ui.CommonToolBar.statusBar:Lcom/sun/java/swing/ui/StatusBar;
invokevirtual javax.swing.AbstractButton.addMouseListener:(Ljava/awt/event/MouseListener;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/java/swing/ui/CommonToolBar;
0 4 1 button Ljavax/swing/AbstractButton;
0 4 2 action Ljavax/swing/Action;
MethodParameters:
Name Flags
button
action
}
SourceFile: "CommonToolBar.java"