public class javax.swing.text.StyledEditorKit$UnderlineAction 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$UnderlineAction
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$UnderlineAction this
0: .line 833
aload 0 /* this */
ldc "font-underline"
invokespecial javax.swing.text.StyledEditorKit$StyledTextAction.<init>:(Ljava/lang/String;)V
1: .line 834
return
end local 0 // javax.swing.text.StyledEditorKit$UnderlineAction this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/StyledEditorKit$UnderlineAction;
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$UnderlineAction this
start local 1 // java.awt.event.ActionEvent e
0: .line 842
aload 0 /* this */
aload 1 /* e */
invokevirtual javax.swing.text.StyledEditorKit$UnderlineAction.getEditor:(Ljava/awt/event/ActionEvent;)Ljavax/swing/JEditorPane;
astore 2 /* editor */
start local 2 // javax.swing.JEditorPane editor
1: .line 843
aload 2 /* editor */
ifnull 10
2: .line 844
aload 0 /* this */
aload 2 /* editor */
invokevirtual javax.swing.text.StyledEditorKit$UnderlineAction.getStyledEditorKit:(Ljavax/swing/JEditorPane;)Ljavax/swing/text/StyledEditorKit;
astore 3 /* kit */
start local 3 // javax.swing.text.StyledEditorKit kit
3: .line 845
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 846
aload 4 /* attr */
invokestatic javax.swing.text.StyleConstants.isUnderline:(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 /* underline */
start local 5 // boolean underline
7: .line 847
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 848
aload 6 /* sas */
iload 5 /* underline */
invokestatic javax.swing.text.StyleConstants.setUnderline:(Ljavax/swing/text/MutableAttributeSet;Z)V
9: .line 849
aload 0 /* this */
aload 2 /* editor */
aload 6 /* sas */
iconst_0
invokevirtual javax.swing.text.StyledEditorKit$UnderlineAction.setCharacterAttributes:(Ljavax/swing/JEditorPane;Ljavax/swing/text/AttributeSet;Z)V
end local 6 // javax.swing.text.SimpleAttributeSet sas
end local 5 // boolean underline
end local 4 // javax.swing.text.MutableAttributeSet attr
end local 3 // javax.swing.text.StyledEditorKit kit
10: .line 851
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$UnderlineAction this
LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/text/StyledEditorKit$UnderlineAction;
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 underline Z
8 10 6 sas Ljavax/swing/text/SimpleAttributeSet;
MethodParameters:
Name Flags
e
}
SourceFile: "StyledEditorKit.java"
NestHost: javax.swing.text.StyledEditorKit
InnerClasses:
public abstract StyledTextAction = javax.swing.text.StyledEditorKit$StyledTextAction of javax.swing.text.StyledEditorKit
public UnderlineAction = javax.swing.text.StyledEditorKit$UnderlineAction of javax.swing.text.StyledEditorKit