class javax.swing.text.StyledEditorKit$StyledInsertBreakAction extends javax.swing.text.StyledEditorKit$StyledTextAction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.StyledEditorKit$StyledInsertBreakAction
super_class: javax.swing.text.StyledEditorKit$StyledTextAction
{
private javax.swing.text.SimpleAttributeSet tempSet;
descriptor: Ljavax/swing/text/SimpleAttributeSet;
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 // javax.swing.text.StyledEditorKit$StyledInsertBreakAction this
0: .line 853
aload 0 /* this */
ldc "insert-break"
invokespecial javax.swing.text.StyledEditorKit$StyledTextAction.<init>:(Ljava/lang/String;)V
1: .line 854
return
end local 0 // javax.swing.text.StyledEditorKit$StyledInsertBreakAction this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/StyledEditorKit$StyledInsertBreakAction;
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 // javax.swing.text.StyledEditorKit$StyledInsertBreakAction this
start local 1 // java.awt.event.ActionEvent e
0: .line 857
aload 0 /* this */
aload 1 /* e */
invokevirtual javax.swing.text.StyledEditorKit$StyledInsertBreakAction.getEditor:(Ljava/awt/event/ActionEvent;)Ljavax/swing/JEditorPane;
astore 2 /* target */
start local 2 // javax.swing.JEditorPane target
1: .line 859
aload 2 /* target */
ifnull 17
2: .line 860
aload 2 /* target */
invokevirtual javax.swing.JEditorPane.isEditable:()Z
ifeq 3
aload 2 /* target */
invokevirtual javax.swing.JEditorPane.isEnabled:()Z
ifne 5
3: .line 861
StackMap locals: javax.swing.JEditorPane
StackMap stack:
invokestatic javax.swing.UIManager.getLookAndFeel:()Ljavax/swing/LookAndFeel;
aload 2 /* target */
invokevirtual javax.swing.LookAndFeel.provideErrorFeedback:(Ljava/awt/Component;)V
4: .line 862
return
5: .line 864
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 2 /* target */
invokevirtual javax.swing.text.StyledEditorKit$StyledInsertBreakAction.getStyledEditorKit:(Ljavax/swing/JEditorPane;)Ljavax/swing/text/StyledEditorKit;
astore 3 /* sek */
start local 3 // javax.swing.text.StyledEditorKit sek
6: .line 866
aload 0 /* this */
getfield javax.swing.text.StyledEditorKit$StyledInsertBreakAction.tempSet:Ljavax/swing/text/SimpleAttributeSet;
ifnull 9
7: .line 867
aload 0 /* this */
getfield javax.swing.text.StyledEditorKit$StyledInsertBreakAction.tempSet:Ljavax/swing/text/SimpleAttributeSet;
aload 0 /* this */
getfield javax.swing.text.StyledEditorKit$StyledInsertBreakAction.tempSet:Ljavax/swing/text/SimpleAttributeSet;
invokevirtual javax.swing.text.SimpleAttributeSet.removeAttributes:(Ljavax/swing/text/AttributeSet;)V
8: .line 868
goto 10
9: .line 870
StackMap locals: javax.swing.text.StyledEditorKit
StackMap stack:
aload 0 /* this */
new javax.swing.text.SimpleAttributeSet
dup
invokespecial javax.swing.text.SimpleAttributeSet.<init>:()V
putfield javax.swing.text.StyledEditorKit$StyledInsertBreakAction.tempSet:Ljavax/swing/text/SimpleAttributeSet;
10: .line 872
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield javax.swing.text.StyledEditorKit$StyledInsertBreakAction.tempSet:Ljavax/swing/text/SimpleAttributeSet;
aload 3 /* sek */
invokevirtual javax.swing.text.StyledEditorKit.getInputAttributes:()Ljavax/swing/text/MutableAttributeSet;
invokevirtual javax.swing.text.SimpleAttributeSet.addAttributes:(Ljavax/swing/text/AttributeSet;)V
11: .line 873
aload 2 /* target */
ldc "\n"
invokevirtual javax.swing.JEditorPane.replaceSelection:(Ljava/lang/String;)V
12: .line 875
aload 3 /* sek */
invokevirtual javax.swing.text.StyledEditorKit.getInputAttributes:()Ljavax/swing/text/MutableAttributeSet;
astore 4 /* ia */
start local 4 // javax.swing.text.MutableAttributeSet ia
13: .line 877
aload 4 /* ia */
aload 4 /* ia */
invokeinterface javax.swing.text.MutableAttributeSet.removeAttributes:(Ljavax/swing/text/AttributeSet;)V
14: .line 878
aload 4 /* ia */
aload 0 /* this */
getfield javax.swing.text.StyledEditorKit$StyledInsertBreakAction.tempSet:Ljavax/swing/text/SimpleAttributeSet;
invokeinterface javax.swing.text.MutableAttributeSet.addAttributes:(Ljavax/swing/text/AttributeSet;)V
15: .line 879
aload 0 /* this */
getfield javax.swing.text.StyledEditorKit$StyledInsertBreakAction.tempSet:Ljavax/swing/text/SimpleAttributeSet;
aload 0 /* this */
getfield javax.swing.text.StyledEditorKit$StyledInsertBreakAction.tempSet:Ljavax/swing/text/SimpleAttributeSet;
invokevirtual javax.swing.text.SimpleAttributeSet.removeAttributes:(Ljavax/swing/text/AttributeSet;)V
end local 4 // javax.swing.text.MutableAttributeSet ia
end local 3 // javax.swing.text.StyledEditorKit sek
16: .line 880
goto 23
17: .line 883
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 1 /* e */
invokevirtual javax.swing.text.StyledEditorKit$StyledInsertBreakAction.getTextComponent:(Ljava/awt/event/ActionEvent;)Ljavax/swing/text/JTextComponent;
astore 3 /* text */
start local 3 // javax.swing.text.JTextComponent text
18: .line 885
aload 3 /* text */
ifnull 23
19: .line 886
aload 3 /* text */
invokevirtual javax.swing.text.JTextComponent.isEditable:()Z
ifeq 20
aload 3 /* text */
invokevirtual javax.swing.text.JTextComponent.isEnabled:()Z
ifne 22
20: .line 887
StackMap locals: javax.swing.text.JTextComponent
StackMap stack:
invokestatic javax.swing.UIManager.getLookAndFeel:()Ljavax/swing/LookAndFeel;
aload 2 /* target */
invokevirtual javax.swing.LookAndFeel.provideErrorFeedback:(Ljava/awt/Component;)V
21: .line 888
return
22: .line 890
StackMap locals:
StackMap stack:
aload 3 /* text */
ldc "\n"
invokevirtual javax.swing.text.JTextComponent.replaceSelection:(Ljava/lang/String;)V
end local 3 // javax.swing.text.JTextComponent text
23: .line 893
StackMap locals:
StackMap stack:
return
end local 2 // javax.swing.JEditorPane target
end local 1 // java.awt.event.ActionEvent e
end local 0 // javax.swing.text.StyledEditorKit$StyledInsertBreakAction this
LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljavax/swing/text/StyledEditorKit$StyledInsertBreakAction;
0 24 1 e Ljava/awt/event/ActionEvent;
1 24 2 target Ljavax/swing/JEditorPane;
6 16 3 sek Ljavax/swing/text/StyledEditorKit;
13 16 4 ia Ljavax/swing/text/MutableAttributeSet;
18 23 3 text Ljavax/swing/text/JTextComponent;
MethodParameters:
Name Flags
e
}
SourceFile: "StyledEditorKit.java"
NestHost: javax.swing.text.StyledEditorKit
InnerClasses:
StyledInsertBreakAction = javax.swing.text.StyledEditorKit$StyledInsertBreakAction of javax.swing.text.StyledEditorKit
public abstract StyledTextAction = javax.swing.text.StyledEditorKit$StyledTextAction of javax.swing.text.StyledEditorKit