public class javax.swing.JToolBar extends javax.swing.JComponent implements javax.swing.SwingConstants, javax.accessibility.Accessible
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.JToolBar
super_class: javax.swing.JComponent
{
private static final java.lang.String uiClassID;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "ToolBarUI"
private boolean paintBorder;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.awt.Insets margin;
descriptor: Ljava/awt/Insets;
flags: (0x0002) ACC_PRIVATE
private boolean floatable;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int orientation;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokespecial javax.swing.JToolBar.<init>:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JToolBar;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
iload 1
invokespecial javax.swing.JToolBar.<init>:(Ljava/lang/String;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JToolBar;
0 2 1 orientation I
MethodParameters:
Name Flags
orientation
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokespecial javax.swing.JToolBar.<init>:(Ljava/lang/String;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JToolBar;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial javax.swing.JComponent.<init>:()V
1: aload 0
iconst_1
putfield javax.swing.JToolBar.paintBorder:Z
2: aload 0
aconst_null
putfield javax.swing.JToolBar.margin:Ljava/awt/Insets;
3: aload 0
iconst_1
putfield javax.swing.JToolBar.floatable:Z
4: aload 0
iconst_0
putfield javax.swing.JToolBar.orientation:I
5: aload 0
aload 1
invokevirtual javax.swing.JToolBar.setName:(Ljava/lang/String;)V
6: aload 0
iload 2
invokevirtual javax.swing.JToolBar.checkOrientation:(I)V
7: aload 0
iload 2
putfield javax.swing.JToolBar.orientation:I
8: new javax.swing.JToolBar$DefaultToolBarLayout
dup
aload 0
iload 2
invokespecial javax.swing.JToolBar$DefaultToolBarLayout.<init>:(Ljavax/swing/JToolBar;I)V
astore 3
start local 3 9: aload 0
aload 3
invokevirtual javax.swing.JToolBar.setLayout:(Ljava/awt/LayoutManager;)V
10: aload 0
aload 3
invokevirtual javax.swing.JToolBar.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
11: aload 0
invokevirtual javax.swing.JToolBar.updateUI:()V
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/JToolBar;
0 13 1 name Ljava/lang/String;
0 13 2 orientation I
9 13 3 layout Ljavax/swing/JToolBar$DefaultToolBarLayout;
MethodParameters:
Name Flags
name
orientation
public javax.swing.plaf.ToolBarUI getUI();
descriptor: ()Ljavax/swing/plaf/ToolBarUI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JToolBar.ui:Ljavax/swing/plaf/ComponentUI;
checkcast javax.swing.plaf.ToolBarUI
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JToolBar;
public void setUI(javax.swing.plaf.ToolBarUI);
descriptor: (Ljavax/swing/plaf/ToolBarUI;)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 javax.swing.JComponent.setUI:(Ljavax/swing/plaf/ComponentUI;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JToolBar;
0 2 1 ui Ljavax/swing/plaf/ToolBarUI;
RuntimeVisibleAnnotations:
java.beans.BeanProperty(hidden = true, visualUpdate = true, description = "The UI object that implements the Component's LookAndFeel.")
MethodParameters:
Name Flags
ui
public void updateUI();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokestatic javax.swing.UIManager.getUI:(Ljavax/swing/JComponent;)Ljavax/swing/plaf/ComponentUI;
checkcast javax.swing.plaf.ToolBarUI
invokevirtual javax.swing.JToolBar.setUI:(Ljavax/swing/plaf/ToolBarUI;)V
1: aload 0
invokevirtual javax.swing.JToolBar.getLayout:()Ljava/awt/LayoutManager;
ifnonnull 3
2: aload 0
new javax.swing.JToolBar$DefaultToolBarLayout
dup
aload 0
aload 0
invokevirtual javax.swing.JToolBar.getOrientation:()I
invokespecial javax.swing.JToolBar$DefaultToolBarLayout.<init>:(Ljavax/swing/JToolBar;I)V
invokevirtual javax.swing.JToolBar.setLayout:(Ljava/awt/LayoutManager;)V
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.JToolBar.invalidate:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/JToolBar;
public java.lang.String getUIClassID();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "ToolBarUI"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JToolBar;
RuntimeVisibleAnnotations:
java.beans.BeanProperty(bound = false)
public int getComponentIndex(java.awt.Component);
descriptor: (Ljava/awt/Component;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.JToolBar.getComponentCount:()I
istore 2
start local 2 1: aload 0
invokevirtual javax.swing.JToolBar.getComponents:()[Ljava/awt/Component;
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 8
4: StackMap locals: int java.awt.Component[] int
StackMap stack:
aload 3
iload 4
aaload
astore 5
start local 5 5: aload 5
aload 1
if_acmpne 7
6: iload 4
ireturn
end local 5 7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 2
if_icmplt 4
end local 4 9: iconst_m1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/JToolBar;
0 10 1 c Ljava/awt/Component;
1 10 2 ncomponents I
2 10 3 component [Ljava/awt/Component;
3 9 4 i I
5 7 5 comp Ljava/awt/Component;
MethodParameters:
Name Flags
c
public java.awt.Component getComponentAtIndex(int);
descriptor: (I)Ljava/awt/Component;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.JToolBar.getComponentCount:()I
istore 2
start local 2 1: iload 1
iflt 4
iload 1
iload 2
if_icmpge 4
2: aload 0
invokevirtual javax.swing.JToolBar.getComponents:()[Ljava/awt/Component;
astore 3
start local 3 3: aload 3
iload 1
aaload
areturn
end local 3 4: StackMap locals: int
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/JToolBar;
0 5 1 i I
1 5 2 ncomponents I
3 4 3 component [Ljava/awt/Component;
MethodParameters:
Name Flags
i
public void setMargin(java.awt.Insets);
descriptor: (Ljava/awt/Insets;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JToolBar.margin:Ljava/awt/Insets;
astore 2
start local 2 1: aload 0
aload 1
putfield javax.swing.JToolBar.margin:Ljava/awt/Insets;
2: aload 0
ldc "margin"
aload 2
aload 1
invokevirtual javax.swing.JToolBar.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
3: aload 0
invokevirtual javax.swing.JToolBar.revalidate:()V
4: aload 0
invokevirtual javax.swing.JToolBar.repaint:()V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/JToolBar;
0 6 1 m Ljava/awt/Insets;
1 6 2 old Ljava/awt/Insets;
RuntimeVisibleAnnotations:
java.beans.BeanProperty(expert = true, description = "The margin between the tool bar's border and contents")
MethodParameters:
Name Flags
m
public java.awt.Insets getMargin();
descriptor: ()Ljava/awt/Insets;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JToolBar.margin:Ljava/awt/Insets;
ifnonnull 2
1: new java.awt.Insets
dup
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial java.awt.Insets.<init>:(IIII)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JToolBar.margin:Ljava/awt/Insets;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JToolBar;
public boolean isBorderPainted();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JToolBar.paintBorder:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JToolBar;
public void setBorderPainted(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JToolBar.paintBorder:Z
iload 1
if_icmpeq 6
1: aload 0
getfield javax.swing.JToolBar.paintBorder:Z
istore 2
start local 2 2: aload 0
iload 1
putfield javax.swing.JToolBar.paintBorder:Z
3: aload 0
ldc "borderPainted"
iload 2
iload 1
invokevirtual javax.swing.JToolBar.firePropertyChange:(Ljava/lang/String;ZZ)V
4: aload 0
invokevirtual javax.swing.JToolBar.revalidate:()V
5: aload 0
invokevirtual javax.swing.JToolBar.repaint:()V
end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/JToolBar;
0 7 1 b Z
2 6 2 old Z
RuntimeVisibleAnnotations:
java.beans.BeanProperty(expert = true, description = "Does the tool bar paint its borders?")
MethodParameters:
Name Flags
b
protected void paintBorder(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
invokevirtual javax.swing.JToolBar.isBorderPainted:()Z
ifeq 2
1: aload 0
aload 1
invokespecial javax.swing.JComponent.paintBorder:(Ljava/awt/Graphics;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JToolBar;
0 3 1 g Ljava/awt/Graphics;
MethodParameters:
Name Flags
g
public boolean isFloatable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JToolBar.floatable:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JToolBar;
public void setFloatable(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JToolBar.floatable:Z
iload 1
if_icmpeq 6
1: aload 0
getfield javax.swing.JToolBar.floatable:Z
istore 2
start local 2 2: aload 0
iload 1
putfield javax.swing.JToolBar.floatable:Z
3: aload 0
ldc "floatable"
iload 2
iload 1
invokevirtual javax.swing.JToolBar.firePropertyChange:(Ljava/lang/String;ZZ)V
4: aload 0
invokevirtual javax.swing.JToolBar.revalidate:()V
5: aload 0
invokevirtual javax.swing.JToolBar.repaint:()V
end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/JToolBar;
0 7 1 b Z
2 6 2 old Z
RuntimeVisibleAnnotations:
java.beans.BeanProperty(preferred = true, description = "Can the tool bar be made to float by the user?")
MethodParameters:
Name Flags
b
public int getOrientation();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JToolBar.orientation:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JToolBar;
public void setOrientation(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual javax.swing.JToolBar.checkOrientation:(I)V
1: aload 0
getfield javax.swing.JToolBar.orientation:I
iload 1
if_icmpeq 7
2: aload 0
getfield javax.swing.JToolBar.orientation:I
istore 2
start local 2 3: aload 0
iload 1
putfield javax.swing.JToolBar.orientation:I
4: aload 0
ldc "orientation"
iload 2
iload 1
invokevirtual javax.swing.JToolBar.firePropertyChange:(Ljava/lang/String;II)V
5: aload 0
invokevirtual javax.swing.JToolBar.revalidate:()V
6: aload 0
invokevirtual javax.swing.JToolBar.repaint:()V
end local 2 7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/JToolBar;
0 8 1 o I
3 7 2 old I
RuntimeVisibleAnnotations:
java.beans.BeanProperty(preferred = true, enumerationValues = {"SwingConstants.HORIZONTAL", "SwingConstants.VERTICAL"}, description = "The current orientation of the tool bar")
MethodParameters:
Name Flags
o
public void setRollover(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "JToolBar.isRollover"
1: iload 1
ifeq 2
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
goto 3
StackMap locals: javax.swing.JToolBar int
StackMap stack: javax.swing.JToolBar java.lang.String
2: getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
3: StackMap locals: javax.swing.JToolBar int
StackMap stack: javax.swing.JToolBar java.lang.String java.lang.Boolean
invokevirtual javax.swing.JToolBar.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/JToolBar;
0 5 1 rollover Z
RuntimeVisibleAnnotations:
java.beans.BeanProperty(preferred = true, visualUpdate = true, description = "Will draw rollover button borders in the toolbar.")
MethodParameters:
Name Flags
rollover
public boolean isRollover();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ldc "JToolBar.isRollover"
invokevirtual javax.swing.JToolBar.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
3: StackMap locals: java.lang.Boolean
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/JToolBar;
1 4 1 rollover Ljava/lang/Boolean;
private void checkOrientation(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
tableswitch { // 0 - 1
0: 1
1: 1
default: 2
}
1: StackMap locals:
StackMap stack:
goto 3
2: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "orientation must be one of: VERTICAL, HORIZONTAL"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/JToolBar;
0 4 1 orientation I
MethodParameters:
Name Flags
orientation
public void addSeparator();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual javax.swing.JToolBar.addSeparator:(Ljava/awt/Dimension;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JToolBar;
public void addSeparator(java.awt.Dimension);
descriptor: (Ljava/awt/Dimension;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new javax.swing.JToolBar$Separator
dup
aload 1
invokespecial javax.swing.JToolBar$Separator.<init>:(Ljava/awt/Dimension;)V
astore 2
start local 2 1: aload 0
aload 2
invokevirtual javax.swing.JToolBar.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JToolBar;
0 3 1 size Ljava/awt/Dimension;
1 3 2 s Ljavax/swing/JToolBar$Separator;
MethodParameters:
Name Flags
size
public javax.swing.JButton add(javax.swing.Action);
descriptor: (Ljavax/swing/Action;)Ljavax/swing/JButton;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.JToolBar.createActionComponent:(Ljavax/swing/Action;)Ljavax/swing/JButton;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual javax.swing.JButton.setAction:(Ljavax/swing/Action;)V
2: aload 0
aload 2
invokevirtual javax.swing.JToolBar.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/JToolBar;
0 4 1 a Ljavax/swing/Action;
1 4 2 b Ljavax/swing/JButton;
MethodParameters:
Name Flags
a
protected javax.swing.JButton createActionComponent(javax.swing.Action);
descriptor: (Ljavax/swing/Action;)Ljavax/swing/JButton;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new javax.swing.JToolBar$1
dup
aload 0
invokespecial javax.swing.JToolBar$1.<init>:(Ljavax/swing/JToolBar;)V
astore 2
start local 2 1: aload 1
ifnull 4
aload 1
ldc "SmallIcon"
invokeinterface javax.swing.Action.getValue:(Ljava/lang/String;)Ljava/lang/Object;
ifnonnull 3
2: aload 1
ldc "SwingLargeIconKey"
invokeinterface javax.swing.Action.getValue:(Ljava/lang/String;)Ljava/lang/Object;
ifnull 4
3: StackMap locals: javax.swing.JButton
StackMap stack:
aload 2
iconst_1
invokevirtual javax.swing.JButton.setHideActionText:(Z)V
4: StackMap locals:
StackMap stack:
aload 2
iconst_0
invokevirtual javax.swing.JButton.setHorizontalTextPosition:(I)V
5: aload 2
iconst_3
invokevirtual javax.swing.JButton.setVerticalTextPosition:(I)V
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/JToolBar;
0 7 1 a Ljavax/swing/Action;
1 7 2 b Ljavax/swing/JButton;
MethodParameters:
Name Flags
a
protected java.beans.PropertyChangeListener createActionChangeListener(javax.swing.JButton);
descriptor: (Ljavax/swing/JButton;)Ljava/beans/PropertyChangeListener;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JToolBar;
0 1 1 b Ljavax/swing/JButton;
MethodParameters:
Name Flags
b
protected void addImpl(java.awt.Component, java.lang.Object, int);
descriptor: (Ljava/awt/Component;Ljava/lang/Object;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
instanceof javax.swing.JToolBar$Separator
ifeq 5
1: aload 0
invokevirtual javax.swing.JToolBar.getOrientation:()I
iconst_1
if_icmpne 4
2: aload 1
checkcast javax.swing.JToolBar$Separator
iconst_0
invokevirtual javax.swing.JToolBar$Separator.setOrientation:(I)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.swing.JToolBar$Separator
iconst_1
invokevirtual javax.swing.JToolBar$Separator.setOrientation:(I)V
5: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iload 3
invokespecial javax.swing.JComponent.addImpl:(Ljava/awt/Component;Ljava/lang/Object;I)V
6: aload 1
instanceof javax.swing.JButton
ifeq 8
7: aload 1
checkcast javax.swing.JButton
iconst_0
invokevirtual javax.swing.JButton.setDefaultCapable:(Z)V
8: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/JToolBar;
0 9 1 comp Ljava/awt/Component;
0 9 2 constraints Ljava/lang/Object;
0 9 3 index I
MethodParameters:
Name Flags
comp
constraints
index
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: aload 0
invokevirtual javax.swing.JToolBar.getUIClassID:()Ljava/lang/String;
ldc "ToolBarUI"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
2: aload 0
invokestatic javax.swing.JComponent.getWriteObjCounter:(Ljavax/swing/JComponent;)B
istore 2
start local 2 3: aload 0
iload 2
iconst_1
isub
i2b
dup
istore 2
invokestatic javax.swing.JComponent.setWriteObjCounter:(Ljavax/swing/JComponent;B)V
4: iload 2
ifne 6
aload 0
getfield javax.swing.JToolBar.ui:Ljavax/swing/plaf/ComponentUI;
ifnull 6
5: aload 0
getfield javax.swing.JToolBar.ui:Ljavax/swing/plaf/ComponentUI;
aload 0
invokevirtual javax.swing.plaf.ComponentUI.installUI:(Ljavax/swing/JComponent;)V
end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/JToolBar;
0 7 1 s Ljava/io/ObjectOutputStream;
3 6 2 count B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
protected java.lang.String paramString();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
getfield javax.swing.JToolBar.paintBorder:Z
ifeq 2
1: ldc "true"
goto 3
StackMap locals:
StackMap stack:
2: ldc "false"
3: StackMap locals:
StackMap stack: java.lang.String
astore 1
start local 1 4: aload 0
getfield javax.swing.JToolBar.margin:Ljava/awt/Insets;
ifnull 6
5: aload 0
getfield javax.swing.JToolBar.margin:Ljava/awt/Insets;
invokevirtual java.awt.Insets.toString:()Ljava/lang/String;
goto 7
StackMap locals: java.lang.String
StackMap stack:
6: ldc ""
7: StackMap locals:
StackMap stack: java.lang.String
astore 2
start local 2 8: aload 0
getfield javax.swing.JToolBar.floatable:Z
ifeq 10
9: ldc "true"
goto 11
StackMap locals: java.lang.String
StackMap stack:
10: ldc "false"
11: StackMap locals:
StackMap stack: java.lang.String
astore 3
start local 3 12: aload 0
getfield javax.swing.JToolBar.orientation:I
ifne 14
13: ldc "HORIZONTAL"
goto 15
StackMap locals: java.lang.String
StackMap stack:
14: ldc "VERTICAL"
15: StackMap locals:
StackMap stack: java.lang.String
astore 4
start local 4 16: new java.lang.StringBuilder
dup
aload 0
invokespecial javax.swing.JComponent.paramString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
17: ldc ",floatable="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: ldc ",margin="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
19: ldc ",orientation="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
20: ldc ",paintBorder="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
21: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljavax/swing/JToolBar;
4 22 1 paintBorderString Ljava/lang/String;
8 22 2 marginString Ljava/lang/String;
12 22 3 floatableString Ljava/lang/String;
16 22 4 orientationString Ljava/lang/String;
public void setLayout(java.awt.LayoutManager);
descriptor: (Ljava/awt/LayoutManager;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.JToolBar.getLayout:()Ljava/awt/LayoutManager;
astore 2
start local 2 1: aload 2
instanceof java.beans.PropertyChangeListener
ifeq 3
2: aload 0
aload 2
checkcast java.beans.PropertyChangeListener
invokevirtual javax.swing.JToolBar.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
3: StackMap locals: java.awt.LayoutManager
StackMap stack:
aload 0
aload 1
invokespecial javax.swing.JComponent.setLayout:(Ljava/awt/LayoutManager;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/JToolBar;
0 5 1 mgr Ljava/awt/LayoutManager;
1 5 2 oldMgr Ljava/awt/LayoutManager;
MethodParameters:
Name Flags
mgr
public javax.accessibility.AccessibleContext getAccessibleContext();
descriptor: ()Ljavax/accessibility/AccessibleContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JToolBar.accessibleContext:Ljavax/accessibility/AccessibleContext;
ifnonnull 2
1: aload 0
new javax.swing.JToolBar$AccessibleJToolBar
dup
aload 0
invokespecial javax.swing.JToolBar$AccessibleJToolBar.<init>:(Ljavax/swing/JToolBar;)V
putfield javax.swing.JToolBar.accessibleContext:Ljavax/accessibility/AccessibleContext;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JToolBar.accessibleContext:Ljavax/accessibility/AccessibleContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JToolBar;
RuntimeVisibleAnnotations:
java.beans.BeanProperty(bound = false)
public javax.swing.plaf.ComponentUI getUI();
descriptor: ()Ljavax/swing/plaf/ComponentUI;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual javax.swing.JToolBar.getUI:()Ljavax/swing/plaf/ToolBarUI;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "JToolBar.java"
NestMembers:
javax.swing.JToolBar$1 javax.swing.JToolBar$AccessibleJToolBar javax.swing.JToolBar$DefaultToolBarLayout javax.swing.JToolBar$Separator
InnerClasses:
javax.swing.JToolBar$1
protected AccessibleJToolBar = javax.swing.JToolBar$AccessibleJToolBar of javax.swing.JToolBar
private DefaultToolBarLayout = javax.swing.JToolBar$DefaultToolBarLayout of javax.swing.JToolBar
public Separator = javax.swing.JToolBar$Separator of javax.swing.JToolBar
RuntimeVisibleAnnotations:
java.beans.JavaBean(defaultProperty = "UI", description = "A component which displays commonly used controls or Actions.")
javax.swing.SwingContainer()