public class javax.swing.text.StyledEditorKit extends javax.swing.text.DefaultEditorKit
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.StyledEditorKit
super_class: javax.swing.text.DefaultEditorKit
{
private static final javax.swing.text.ViewFactory defaultFactory;
descriptor: Ljavax/swing/text/ViewFactory;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
javax.swing.text.Element currentRun;
descriptor: Ljavax/swing/text/Element;
flags: (0x0000)
javax.swing.text.Element currentParagraph;
descriptor: Ljavax/swing/text/Element;
flags: (0x0000)
javax.swing.text.MutableAttributeSet inputAttributes;
descriptor: Ljavax/swing/text/MutableAttributeSet;
flags: (0x0000)
private javax.swing.text.StyledEditorKit$AttributeTracker inputAttributeUpdater;
descriptor: Ljavax/swing/text/StyledEditorKit$AttributeTracker;
flags: (0x0002) ACC_PRIVATE
private static final javax.swing.Action[] defaultActions;
descriptor: [Ljavax/swing/Action;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: new javax.swing.text.StyledEditorKit$StyledViewFactory
dup
invokespecial javax.swing.text.StyledEditorKit$StyledViewFactory.<init>:()V
putstatic javax.swing.text.StyledEditorKit.defaultFactory:Ljavax/swing/text/ViewFactory;
1: bipush 19
anewarray javax.swing.Action
dup
iconst_0
2: new javax.swing.text.StyledEditorKit$FontFamilyAction
dup
ldc "font-family-SansSerif"
ldc "SansSerif"
invokespecial javax.swing.text.StyledEditorKit$FontFamilyAction.<init>:(Ljava/lang/String;Ljava/lang/String;)V
aastore
dup
iconst_1
3: new javax.swing.text.StyledEditorKit$FontFamilyAction
dup
ldc "font-family-Monospaced"
ldc "Monospaced"
invokespecial javax.swing.text.StyledEditorKit$FontFamilyAction.<init>:(Ljava/lang/String;Ljava/lang/String;)V
aastore
dup
iconst_2
4: new javax.swing.text.StyledEditorKit$FontFamilyAction
dup
ldc "font-family-Serif"
ldc "Serif"
invokespecial javax.swing.text.StyledEditorKit$FontFamilyAction.<init>:(Ljava/lang/String;Ljava/lang/String;)V
aastore
dup
iconst_3
5: new javax.swing.text.StyledEditorKit$FontSizeAction
dup
ldc "font-size-8"
bipush 8
invokespecial javax.swing.text.StyledEditorKit$FontSizeAction.<init>:(Ljava/lang/String;I)V
aastore
dup
iconst_4
6: new javax.swing.text.StyledEditorKit$FontSizeAction
dup
ldc "font-size-10"
bipush 10
invokespecial javax.swing.text.StyledEditorKit$FontSizeAction.<init>:(Ljava/lang/String;I)V
aastore
dup
iconst_5
7: new javax.swing.text.StyledEditorKit$FontSizeAction
dup
ldc "font-size-12"
bipush 12
invokespecial javax.swing.text.StyledEditorKit$FontSizeAction.<init>:(Ljava/lang/String;I)V
aastore
dup
bipush 6
8: new javax.swing.text.StyledEditorKit$FontSizeAction
dup
ldc "font-size-14"
bipush 14
invokespecial javax.swing.text.StyledEditorKit$FontSizeAction.<init>:(Ljava/lang/String;I)V
aastore
dup
bipush 7
9: new javax.swing.text.StyledEditorKit$FontSizeAction
dup
ldc "font-size-16"
bipush 16
invokespecial javax.swing.text.StyledEditorKit$FontSizeAction.<init>:(Ljava/lang/String;I)V
aastore
dup
bipush 8
10: new javax.swing.text.StyledEditorKit$FontSizeAction
dup
ldc "font-size-18"
bipush 18
invokespecial javax.swing.text.StyledEditorKit$FontSizeAction.<init>:(Ljava/lang/String;I)V
aastore
dup
bipush 9
11: new javax.swing.text.StyledEditorKit$FontSizeAction
dup
ldc "font-size-24"
bipush 24
invokespecial javax.swing.text.StyledEditorKit$FontSizeAction.<init>:(Ljava/lang/String;I)V
aastore
dup
bipush 10
12: new javax.swing.text.StyledEditorKit$FontSizeAction
dup
ldc "font-size-36"
bipush 36
invokespecial javax.swing.text.StyledEditorKit$FontSizeAction.<init>:(Ljava/lang/String;I)V
aastore
dup
bipush 11
13: new javax.swing.text.StyledEditorKit$FontSizeAction
dup
ldc "font-size-48"
bipush 48
invokespecial javax.swing.text.StyledEditorKit$FontSizeAction.<init>:(Ljava/lang/String;I)V
aastore
dup
bipush 12
14: new javax.swing.text.StyledEditorKit$AlignmentAction
dup
ldc "left-justify"
iconst_0
invokespecial javax.swing.text.StyledEditorKit$AlignmentAction.<init>:(Ljava/lang/String;I)V
aastore
dup
bipush 13
15: new javax.swing.text.StyledEditorKit$AlignmentAction
dup
ldc "center-justify"
iconst_1
invokespecial javax.swing.text.StyledEditorKit$AlignmentAction.<init>:(Ljava/lang/String;I)V
aastore
dup
bipush 14
16: new javax.swing.text.StyledEditorKit$AlignmentAction
dup
ldc "right-justify"
iconst_2
invokespecial javax.swing.text.StyledEditorKit$AlignmentAction.<init>:(Ljava/lang/String;I)V
aastore
dup
bipush 15
17: new javax.swing.text.StyledEditorKit$BoldAction
dup
invokespecial javax.swing.text.StyledEditorKit$BoldAction.<init>:()V
aastore
dup
bipush 16
18: new javax.swing.text.StyledEditorKit$ItalicAction
dup
invokespecial javax.swing.text.StyledEditorKit$ItalicAction.<init>:()V
aastore
dup
bipush 17
19: new javax.swing.text.StyledEditorKit$StyledInsertBreakAction
dup
invokespecial javax.swing.text.StyledEditorKit$StyledInsertBreakAction.<init>:()V
aastore
dup
bipush 18
20: new javax.swing.text.StyledEditorKit$UnderlineAction
dup
invokespecial javax.swing.text.StyledEditorKit$UnderlineAction.<init>:()V
aastore
21: putstatic javax.swing.text.StyledEditorKit.defaultActions:[Ljavax/swing/Action;
22: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.text.DefaultEditorKit.<init>:()V
1: aload 0
invokevirtual javax.swing.text.StyledEditorKit.createInputAttributeUpdated:()V
2: aload 0
invokevirtual javax.swing.text.StyledEditorKit.createInputAttributes:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/StyledEditorKit;
public javax.swing.text.MutableAttributeSet getInputAttributes();
descriptor: ()Ljavax/swing/text/MutableAttributeSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.StyledEditorKit.inputAttributes:Ljavax/swing/text/MutableAttributeSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/StyledEditorKit;
public javax.swing.text.Element getCharacterAttributeRun();
descriptor: ()Ljavax/swing/text/Element;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.StyledEditorKit.currentRun:Ljavax/swing/text/Element;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/StyledEditorKit;
public javax.swing.Action[] getActions();
descriptor: ()[Ljavax/swing/Action;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.text.DefaultEditorKit.getActions:()[Ljavax/swing/Action;
getstatic javax.swing.text.StyledEditorKit.defaultActions:[Ljavax/swing/Action;
invokestatic javax.swing.text.TextAction.augmentList:([Ljavax/swing/Action;[Ljavax/swing/Action;)[Ljavax/swing/Action;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/StyledEditorKit;
public javax.swing.text.Document createDefaultDocument();
descriptor: ()Ljavax/swing/text/Document;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new javax.swing.text.DefaultStyledDocument
dup
invokespecial javax.swing.text.DefaultStyledDocument.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/StyledEditorKit;
public void install(javax.swing.JEditorPane);
descriptor: (Ljavax/swing/JEditorPane;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield javax.swing.text.StyledEditorKit.inputAttributeUpdater:Ljavax/swing/text/StyledEditorKit$AttributeTracker;
invokevirtual javax.swing.JEditorPane.addCaretListener:(Ljavax/swing/event/CaretListener;)V
1: aload 1
aload 0
getfield javax.swing.text.StyledEditorKit.inputAttributeUpdater:Ljavax/swing/text/StyledEditorKit$AttributeTracker;
invokevirtual javax.swing.JEditorPane.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
2: aload 1
invokevirtual javax.swing.JEditorPane.getCaret:()Ljavax/swing/text/Caret;
astore 2
start local 2 3: aload 2
ifnull 7
4: aload 0
getfield javax.swing.text.StyledEditorKit.inputAttributeUpdater:Ljavax/swing/text/StyledEditorKit$AttributeTracker;
5: aload 2
invokeinterface javax.swing.text.Caret.getDot:()I
aload 2
invokeinterface javax.swing.text.Caret.getMark:()I
aload 1
6: invokevirtual javax.swing.text.StyledEditorKit$AttributeTracker.updateInputAttributes:(IILjavax/swing/text/JTextComponent;)V
7: StackMap locals: javax.swing.text.Caret
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/StyledEditorKit;
0 8 1 c Ljavax/swing/JEditorPane;
3 8 2 caret Ljavax/swing/text/Caret;
MethodParameters:
Name Flags
c
public void deinstall(javax.swing.JEditorPane);
descriptor: (Ljavax/swing/JEditorPane;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield javax.swing.text.StyledEditorKit.inputAttributeUpdater:Ljavax/swing/text/StyledEditorKit$AttributeTracker;
invokevirtual javax.swing.JEditorPane.removeCaretListener:(Ljavax/swing/event/CaretListener;)V
1: aload 1
aload 0
getfield javax.swing.text.StyledEditorKit.inputAttributeUpdater:Ljavax/swing/text/StyledEditorKit$AttributeTracker;
invokevirtual javax.swing.JEditorPane.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
2: aload 0
aconst_null
putfield javax.swing.text.StyledEditorKit.currentRun:Ljavax/swing/text/Element;
3: aload 0
aconst_null
putfield javax.swing.text.StyledEditorKit.currentParagraph:Ljavax/swing/text/Element;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/StyledEditorKit;
0 5 1 c Ljavax/swing/JEditorPane;
MethodParameters:
Name Flags
c
public javax.swing.text.ViewFactory getViewFactory();
descriptor: ()Ljavax/swing/text/ViewFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic javax.swing.text.StyledEditorKit.defaultFactory:Ljavax/swing/text/ViewFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/StyledEditorKit;
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.text.DefaultEditorKit.clone:()Ljava/lang/Object;
checkcast javax.swing.text.StyledEditorKit
astore 1
start local 1 1: aload 1
aload 1
aconst_null
dup_x1
putfield javax.swing.text.StyledEditorKit.currentParagraph:Ljavax/swing/text/Element;
putfield javax.swing.text.StyledEditorKit.currentRun:Ljavax/swing/text/Element;
2: aload 1
invokevirtual javax.swing.text.StyledEditorKit.createInputAttributeUpdated:()V
3: aload 1
invokevirtual javax.swing.text.StyledEditorKit.createInputAttributes:()V
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/StyledEditorKit;
1 5 1 o Ljavax/swing/text/StyledEditorKit;
private void createInputAttributes();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new javax.swing.text.StyledEditorKit$1
dup
aload 0
invokespecial javax.swing.text.StyledEditorKit$1.<init>:(Ljavax/swing/text/StyledEditorKit;)V
putfield javax.swing.text.StyledEditorKit.inputAttributes:Ljavax/swing/text/MutableAttributeSet;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/StyledEditorKit;
private void createInputAttributeUpdated();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new javax.swing.text.StyledEditorKit$AttributeTracker
dup
aload 0
invokespecial javax.swing.text.StyledEditorKit$AttributeTracker.<init>:(Ljavax/swing/text/StyledEditorKit;)V
putfield javax.swing.text.StyledEditorKit.inputAttributeUpdater:Ljavax/swing/text/StyledEditorKit$AttributeTracker;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/StyledEditorKit;
protected void createInputAttributes(javax.swing.text.Element, javax.swing.text.MutableAttributeSet);
descriptor: (Ljavax/swing/text/Element;Ljavax/swing/text/MutableAttributeSet;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
invokeinterface javax.swing.text.AttributeSet.getAttributeCount:()I
ifgt 3
1: aload 1
invokeinterface javax.swing.text.Element.getEndOffset:()I
aload 1
invokeinterface javax.swing.text.Element.getStartOffset:()I
isub
iconst_1
if_icmpgt 3
2: aload 1
invokeinterface javax.swing.text.Element.getEndOffset:()I
aload 1
invokeinterface javax.swing.text.Element.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
if_icmpge 9
3: StackMap locals:
StackMap stack:
aload 2
aload 2
invokeinterface javax.swing.text.MutableAttributeSet.removeAttributes:(Ljavax/swing/text/AttributeSet;)V
4: aload 2
aload 1
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
invokeinterface javax.swing.text.MutableAttributeSet.addAttributes:(Ljavax/swing/text/AttributeSet;)V
5: aload 2
getstatic javax.swing.text.StyleConstants.ComponentAttribute:Ljava/lang/Object;
invokeinterface javax.swing.text.MutableAttributeSet.removeAttribute:(Ljava/lang/Object;)V
6: aload 2
getstatic javax.swing.text.StyleConstants.IconAttribute:Ljava/lang/Object;
invokeinterface javax.swing.text.MutableAttributeSet.removeAttribute:(Ljava/lang/Object;)V
7: aload 2
ldc "$ename"
invokeinterface javax.swing.text.MutableAttributeSet.removeAttribute:(Ljava/lang/Object;)V
8: aload 2
getstatic javax.swing.text.StyleConstants.ComposedTextAttribute:Ljava/lang/Object;
invokeinterface javax.swing.text.MutableAttributeSet.removeAttribute:(Ljava/lang/Object;)V
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/text/StyledEditorKit;
0 10 1 element Ljavax/swing/text/Element;
0 10 2 set Ljavax/swing/text/MutableAttributeSet;
MethodParameters:
Name Flags
element
set
}
SourceFile: "StyledEditorKit.java"
NestMembers:
javax.swing.text.StyledEditorKit$1 javax.swing.text.StyledEditorKit$AlignmentAction javax.swing.text.StyledEditorKit$AttributeTracker javax.swing.text.StyledEditorKit$BoldAction javax.swing.text.StyledEditorKit$FontFamilyAction javax.swing.text.StyledEditorKit$FontSizeAction javax.swing.text.StyledEditorKit$ForegroundAction javax.swing.text.StyledEditorKit$ItalicAction javax.swing.text.StyledEditorKit$StyledInsertBreakAction javax.swing.text.StyledEditorKit$StyledTextAction javax.swing.text.StyledEditorKit$StyledViewFactory javax.swing.text.StyledEditorKit$UnderlineAction
InnerClasses:
javax.swing.text.StyledEditorKit$1
public AlignmentAction = javax.swing.text.StyledEditorKit$AlignmentAction of javax.swing.text.StyledEditorKit
AttributeTracker = javax.swing.text.StyledEditorKit$AttributeTracker of javax.swing.text.StyledEditorKit
public BoldAction = javax.swing.text.StyledEditorKit$BoldAction of javax.swing.text.StyledEditorKit
public FontFamilyAction = javax.swing.text.StyledEditorKit$FontFamilyAction of javax.swing.text.StyledEditorKit
public FontSizeAction = javax.swing.text.StyledEditorKit$FontSizeAction of javax.swing.text.StyledEditorKit
public ForegroundAction = javax.swing.text.StyledEditorKit$ForegroundAction of javax.swing.text.StyledEditorKit
public ItalicAction = javax.swing.text.StyledEditorKit$ItalicAction of javax.swing.text.StyledEditorKit
StyledInsertBreakAction = javax.swing.text.StyledEditorKit$StyledInsertBreakAction of javax.swing.text.StyledEditorKit
public abstract StyledTextAction = javax.swing.text.StyledEditorKit$StyledTextAction of javax.swing.text.StyledEditorKit
StyledViewFactory = javax.swing.text.StyledEditorKit$StyledViewFactory of javax.swing.text.StyledEditorKit
public UnderlineAction = javax.swing.text.StyledEditorKit$UnderlineAction of javax.swing.text.StyledEditorKit