public class javax.swing.text.StyledEditorKit$ItalicAction extends javax.swing.text.StyledEditorKit$StyledTextAction
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.StyledEditorKit$ItalicAction
super_class: javax.swing.text.StyledEditorKit$StyledTextAction
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 // javax.swing.text.StyledEditorKit$ItalicAction this
0: .line 793
aload 0 /* this */
ldc "font-italic"
invokespecial javax.swing.text.StyledEditorKit$StyledTextAction.<init>:(Ljava/lang/String;)V
1: .line 794
return
end local 0 // javax.swing.text.StyledEditorKit$ItalicAction this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/StyledEditorKit$ItalicAction;
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 // javax.swing.text.StyledEditorKit$ItalicAction this
start local 1 // java.awt.event.ActionEvent e
0: .line 802
aload 0 /* this */
aload 1 /* e */
invokevirtual javax.swing.text.StyledEditorKit$ItalicAction.getEditor:(Ljava/awt/event/ActionEvent;)Ljavax/swing/JEditorPane;
astore 2 /* editor */
start local 2 // javax.swing.JEditorPane editor
1: .line 803
aload 2 /* editor */
ifnull 10
2: .line 804
aload 0 /* this */
aload 2 /* editor */
invokevirtual javax.swing.text.StyledEditorKit$ItalicAction.getStyledEditorKit:(Ljavax/swing/JEditorPane;)Ljavax/swing/text/StyledEditorKit;
astore 3 /* kit */
start local 3 // javax.swing.text.StyledEditorKit kit
3: .line 805
aload 3 /* kit */
invokevirtual javax.swing.text.StyledEditorKit.getInputAttributes:()Ljavax/swing/text/MutableAttributeSet;
astore 4 /* attr */
start local 4 // javax.swing.text.MutableAttributeSet attr
4: .line 806
aload 4 /* attr */
invokestatic javax.swing.text.StyleConstants.isItalic:(Ljavax/swing/text/AttributeSet;)Z
ifeq 5
iconst_0
goto 6
StackMap locals: javax.swing.JEditorPane javax.swing.text.StyledEditorKit javax.swing.text.MutableAttributeSet
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: istore 5 /* italic */
start local 5 // boolean italic
7: .line 807
new javax.swing.text.SimpleAttributeSet
dup
invokespecial javax.swing.text.SimpleAttributeSet.<init>:()V
astore 6 /* sas */
start local 6 // javax.swing.text.SimpleAttributeSet sas
8: .line 808
aload 6 /* sas */
iload 5 /* italic */
invokestatic javax.swing.text.StyleConstants.setItalic:(Ljavax/swing/text/MutableAttributeSet;Z)V
9: .line 809
aload 0 /* this */
aload 2 /* editor */
aload 6 /* sas */
iconst_0
invokevirtual javax.swing.text.StyledEditorKit$ItalicAction.setCharacterAttributes:(Ljavax/swing/JEditorPane;Ljavax/swing/text/AttributeSet;Z)V
end local 6 // javax.swing.text.SimpleAttributeSet sas
end local 5 // boolean italic
end local 4 // javax.swing.text.MutableAttributeSet attr
end local 3 // javax.swing.text.StyledEditorKit kit
10: .line 811
StackMap locals:
StackMap stack:
return
end local 2 // javax.swing.JEditorPane editor
end local 1 // java.awt.event.ActionEvent e
end local 0 // javax.swing.text.StyledEditorKit$ItalicAction this
LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/text/StyledEditorKit$ItalicAction;
0 11 1 e Ljava/awt/event/ActionEvent;
1 11 2 editor Ljavax/swing/JEditorPane;
3 10 3 kit Ljavax/swing/text/StyledEditorKit;
4 10 4 attr Ljavax/swing/text/MutableAttributeSet;
7 10 5 italic Z
8 10 6 sas Ljavax/swing/text/SimpleAttributeSet;
MethodParameters:
Name Flags
e
}
SourceFile: "StyledEditorKit.java"
NestHost: javax.swing.text.StyledEditorKit
InnerClasses:
public ItalicAction = javax.swing.text.StyledEditorKit$ItalicAction of javax.swing.text.StyledEditorKit
public abstract StyledTextAction = javax.swing.text.StyledEditorKit$StyledTextAction of javax.swing.text.StyledEditorKit