public class javax.swing.plaf.basic.BasicEditorPaneUI extends javax.swing.plaf.basic.BasicTextUI
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.basic.BasicEditorPaneUI
super_class: javax.swing.plaf.basic.BasicTextUI
{
private static final java.lang.String FONT_ATTRIBUTE_KEY;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "FONT_ATTRIBUTE_KEY"
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/plaf/ComponentUI;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new javax.swing.plaf.basic.BasicEditorPaneUI
dup
invokespecial javax.swing.plaf.basic.BasicEditorPaneUI.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
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.plaf.basic.BasicTextUI.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicEditorPaneUI;
protected java.lang.String getPropertyPrefix();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "EditorPane"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicEditorPaneUI;
public void installUI(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.plaf.basic.BasicTextUI.installUI:(Ljavax/swing/JComponent;)V
1: aload 0
aload 1
invokevirtual javax.swing.JComponent.getFont:()Ljava/awt/Font;
2: aload 1
invokevirtual javax.swing.JComponent.getForeground:()Ljava/awt/Color;
3: invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.updateDisplayProperties:(Ljava/awt/Font;Ljava/awt/Color;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicEditorPaneUI;
0 5 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
public void uninstallUI(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.cleanDisplayProperties:()V
1: aload 0
aload 1
invokespecial javax.swing.plaf.basic.BasicTextUI.uninstallUI:(Ljavax/swing/JComponent;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicEditorPaneUI;
0 3 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
public javax.swing.text.EditorKit getEditorKit(javax.swing.text.JTextComponent);
descriptor: (Ljavax/swing/text/JTextComponent;)Ljavax/swing/text/EditorKit;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.getComponent:()Ljavax/swing/text/JTextComponent;
checkcast javax.swing.JEditorPane
astore 2
start local 2 1: aload 2
invokevirtual javax.swing.JEditorPane.getEditorKit:()Ljavax/swing/text/EditorKit;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicEditorPaneUI;
0 2 1 tc Ljavax/swing/text/JTextComponent;
1 2 2 pane Ljavax/swing/JEditorPane;
MethodParameters:
Name Flags
tc
javax.swing.ActionMap getActionMap();
descriptor: ()Ljavax/swing/ActionMap;
flags: (0x0000)
Code:
stack=5, locals=4, args_size=1
start local 0 0: new javax.swing.plaf.ActionMapUIResource
dup
invokespecial javax.swing.plaf.ActionMapUIResource.<init>:()V
astore 1
start local 1 1: aload 1
ldc "requestFocus"
new javax.swing.plaf.basic.BasicTextUI$FocusAction
dup
aload 0
invokespecial javax.swing.plaf.basic.BasicTextUI$FocusAction.<init>:(Ljavax/swing/plaf/basic/BasicTextUI;)V
invokevirtual javax.swing.ActionMap.put:(Ljava/lang/Object;Ljavax/swing/Action;)V
2: aload 0
aload 0
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.getComponent:()Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.getEditorKit:(Ljavax/swing/text/JTextComponent;)Ljavax/swing/text/EditorKit;
astore 2
start local 2 3: aload 2
ifnull 7
4: aload 2
invokevirtual javax.swing.text.EditorKit.getActions:()[Ljavax/swing/Action;
astore 3
start local 3 5: aload 3
ifnull 7
6: aload 0
aload 1
aload 3
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.addActions:(Ljavax/swing/ActionMap;[Ljavax/swing/Action;)V
end local 3 7: StackMap locals: javax.swing.ActionMap javax.swing.text.EditorKit
StackMap stack:
aload 1
invokestatic javax.swing.TransferHandler.getCutAction:()Ljavax/swing/Action;
ldc "Name"
invokeinterface javax.swing.Action.getValue:(Ljava/lang/String;)Ljava/lang/Object;
8: invokestatic javax.swing.TransferHandler.getCutAction:()Ljavax/swing/Action;
9: invokevirtual javax.swing.ActionMap.put:(Ljava/lang/Object;Ljavax/swing/Action;)V
10: aload 1
invokestatic javax.swing.TransferHandler.getCopyAction:()Ljavax/swing/Action;
ldc "Name"
invokeinterface javax.swing.Action.getValue:(Ljava/lang/String;)Ljava/lang/Object;
11: invokestatic javax.swing.TransferHandler.getCopyAction:()Ljavax/swing/Action;
12: invokevirtual javax.swing.ActionMap.put:(Ljava/lang/Object;Ljavax/swing/Action;)V
13: aload 1
invokestatic javax.swing.TransferHandler.getPasteAction:()Ljavax/swing/Action;
ldc "Name"
invokeinterface javax.swing.Action.getValue:(Ljava/lang/String;)Ljava/lang/Object;
14: invokestatic javax.swing.TransferHandler.getPasteAction:()Ljavax/swing/Action;
15: invokevirtual javax.swing.ActionMap.put:(Ljava/lang/Object;Ljavax/swing/Action;)V
16: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljavax/swing/plaf/basic/BasicEditorPaneUI;
1 17 1 am Ljavax/swing/ActionMap;
3 17 2 editorKit Ljavax/swing/text/EditorKit;
5 7 3 actions [Ljavax/swing/Action;
protected void propertyChange(java.beans.PropertyChangeEvent);
descriptor: (Ljava/beans/PropertyChangeEvent;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.plaf.basic.BasicTextUI.propertyChange:(Ljava/beans/PropertyChangeEvent;)V
1: aload 1
invokevirtual java.beans.PropertyChangeEvent.getPropertyName:()Ljava/lang/String;
astore 2
start local 2 2: ldc "editorKit"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
3: aload 0
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.getComponent:()Ljavax/swing/text/JTextComponent;
invokestatic javax.swing.SwingUtilities.getUIActionMap:(Ljavax/swing/JComponent;)Ljavax/swing/ActionMap;
astore 3
start local 3 4: aload 3
ifnull 15
5: aload 1
invokevirtual java.beans.PropertyChangeEvent.getOldValue:()Ljava/lang/Object;
astore 4
start local 4 6: aload 4
instanceof javax.swing.text.EditorKit
ifeq 10
7: aload 4
checkcast javax.swing.text.EditorKit
invokevirtual javax.swing.text.EditorKit.getActions:()[Ljavax/swing/Action;
astore 5
start local 5 8: aload 5
ifnull 10
9: aload 0
aload 3
aload 5
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.removeActions:(Ljavax/swing/ActionMap;[Ljavax/swing/Action;)V
end local 5 10: StackMap locals: java.lang.String javax.swing.ActionMap java.lang.Object
StackMap stack:
aload 1
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
astore 5
start local 5 11: aload 5
instanceof javax.swing.text.EditorKit
ifeq 15
12: aload 5
checkcast javax.swing.text.EditorKit
invokevirtual javax.swing.text.EditorKit.getActions:()[Ljavax/swing/Action;
astore 6
start local 6 13: aload 6
ifnull 15
14: aload 0
aload 3
aload 6
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.addActions:(Ljavax/swing/ActionMap;[Ljavax/swing/Action;)V
end local 6 end local 5 end local 4 15: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.updateFocusTraversalKeys:()V
end local 3 16: goto 40
StackMap locals:
StackMap stack:
17: ldc "editable"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
18: aload 0
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.updateFocusTraversalKeys:()V
19: goto 40
StackMap locals:
StackMap stack:
20: ldc "foreground"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 25
21: ldc "font"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 25
22: ldc "document"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 25
23: ldc "JEditorPane.w3cLengthUnits"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 25
24: ldc "JEditorPane.honorDisplayProperties"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 40
25: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.getComponent:()Ljavax/swing/text/JTextComponent;
astore 3
start local 3 26: aload 0
aload 3
invokevirtual javax.swing.JComponent.getFont:()Ljava/awt/Font;
aload 3
invokevirtual javax.swing.JComponent.getForeground:()Ljava/awt/Color;
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.updateDisplayProperties:(Ljava/awt/Font;Ljava/awt/Color;)V
27: ldc "JEditorPane.w3cLengthUnits"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 29
28: ldc "JEditorPane.honorDisplayProperties"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 30
29: StackMap locals: javax.swing.JComponent
StackMap stack:
aload 0
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.modelChanged:()V
30: StackMap locals:
StackMap stack:
ldc "foreground"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 40
31: aload 3
32: ldc "JEditorPane.honorDisplayProperties"
invokevirtual javax.swing.JComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
33: astore 4
start local 4 34: iconst_0
istore 5
start local 5 35: aload 4
instanceof java.lang.Boolean
ifeq 38
36: aload 4
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
37: istore 5
38: StackMap locals: java.lang.Object int
StackMap stack:
iload 5
ifeq 40
39: aload 0
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.modelChanged:()V
end local 5 end local 4 end local 3 40: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Ljavax/swing/plaf/basic/BasicEditorPaneUI;
0 41 1 evt Ljava/beans/PropertyChangeEvent;
2 41 2 name Ljava/lang/String;
4 16 3 map Ljavax/swing/ActionMap;
6 15 4 oldValue Ljava/lang/Object;
8 10 5 actions [Ljavax/swing/Action;
11 15 5 newValue Ljava/lang/Object;
13 15 6 actions [Ljavax/swing/Action;
26 40 3 c Ljavax/swing/JComponent;
34 40 4 honorDisplayPropertiesObject Ljava/lang/Object;
35 40 5 honorDisplayProperties Z
MethodParameters:
Name Flags
evt
void removeActions(javax.swing.ActionMap, javax.swing.Action[]);
descriptor: (Ljavax/swing/ActionMap;[Ljavax/swing/Action;)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
arraylength
istore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 6
3: StackMap locals: int int
StackMap stack:
aload 2
iload 4
aaload
astore 5
start local 5 4: aload 1
aload 5
ldc "Name"
invokeinterface javax.swing.Action.getValue:(Ljava/lang/String;)Ljava/lang/Object;
invokevirtual javax.swing.ActionMap.remove:(Ljava/lang/Object;)V
end local 5 5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 3
if_icmplt 3
end local 4 7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/plaf/basic/BasicEditorPaneUI;
0 8 1 map Ljavax/swing/ActionMap;
0 8 2 actions [Ljavax/swing/Action;
1 8 3 n I
2 7 4 i I
4 5 5 a Ljavax/swing/Action;
MethodParameters:
Name Flags
map
actions
void addActions(javax.swing.ActionMap, javax.swing.Action[]);
descriptor: (Ljavax/swing/ActionMap;[Ljavax/swing/Action;)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
arraylength
istore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 6
3: StackMap locals: int int
StackMap stack:
aload 2
iload 4
aaload
astore 5
start local 5 4: aload 1
aload 5
ldc "Name"
invokeinterface javax.swing.Action.getValue:(Ljava/lang/String;)Ljava/lang/Object;
aload 5
invokevirtual javax.swing.ActionMap.put:(Ljava/lang/Object;Ljavax/swing/Action;)V
end local 5 5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 3
if_icmplt 3
end local 4 7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/plaf/basic/BasicEditorPaneUI;
0 8 1 map Ljavax/swing/ActionMap;
0 8 2 actions [Ljavax/swing/Action;
1 8 3 n I
2 7 4 i I
4 5 5 a Ljavax/swing/Action;
MethodParameters:
Name Flags
map
actions
void updateDisplayProperties(java.awt.Font, java.awt.Color);
descriptor: (Ljava/awt/Font;Ljava/awt/Color;)V
flags: (0x0000)
Code:
stack=3, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.getComponent:()Ljavax/swing/text/JTextComponent;
astore 3
start local 3 1: aload 3
2: ldc "JEditorPane.honorDisplayProperties"
invokevirtual javax.swing.JComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
3: astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: aload 3
ldc "JEditorPane.w3cLengthUnits"
invokevirtual javax.swing.JComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 6: iconst_0
istore 7
start local 7 7: aload 4
instanceof java.lang.Boolean
ifeq 10
8: aload 4
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
9: istore 5
10: StackMap locals: javax.swing.plaf.basic.BasicEditorPaneUI java.awt.Font java.awt.Color javax.swing.JComponent java.lang.Object int java.lang.Object int
StackMap stack:
aload 6
instanceof java.lang.Boolean
ifeq 12
11: aload 6
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 7
12: StackMap locals:
StackMap stack:
aload 0
instanceof javax.swing.plaf.basic.BasicTextPaneUI
ifne 14
13: iload 5
ifeq 22
14: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.getComponent:()Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
astore 8
start local 8 15: aload 8
instanceof javax.swing.text.StyledDocument
ifeq 23
16: aload 8
instanceof javax.swing.text.html.HTMLDocument
ifeq 20
17: iload 5
ifeq 20
18: aload 0
aload 1
aload 2
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.updateCSS:(Ljava/awt/Font;Ljava/awt/Color;)V
19: goto 23
20: StackMap locals: javax.swing.text.Document
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.updateStyle:(Ljava/awt/Font;Ljava/awt/Color;)V
end local 8 21: goto 23
22: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.cleanDisplayProperties:()V
23: StackMap locals:
StackMap stack:
iload 7
ifeq 30
24: aload 0
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.getComponent:()Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
astore 8
start local 8 25: aload 8
instanceof javax.swing.text.html.HTMLDocument
ifeq 35
26: aload 8
checkcast javax.swing.text.html.HTMLDocument
invokevirtual javax.swing.text.html.HTMLDocument.getStyleSheet:()Ljavax/swing/text/html/StyleSheet;
27: astore 9
start local 9 28: aload 9
ldc "W3C_LENGTH_UNITS_ENABLE"
invokevirtual javax.swing.text.html.StyleSheet.addRule:(Ljava/lang/String;)V
end local 9 end local 8 29: goto 35
30: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.getComponent:()Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
astore 8
start local 8 31: aload 8
instanceof javax.swing.text.html.HTMLDocument
ifeq 35
32: aload 8
checkcast javax.swing.text.html.HTMLDocument
invokevirtual javax.swing.text.html.HTMLDocument.getStyleSheet:()Ljavax/swing/text/html/StyleSheet;
33: astore 9
start local 9 34: aload 9
ldc "W3C_LENGTH_UNITS_DISABLE"
invokevirtual javax.swing.text.html.StyleSheet.addRule:(Ljava/lang/String;)V
end local 9 end local 8 35: StackMap locals:
StackMap stack:
return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Ljavax/swing/plaf/basic/BasicEditorPaneUI;
0 36 1 font Ljava/awt/Font;
0 36 2 fg Ljava/awt/Color;
1 36 3 c Ljavax/swing/JComponent;
4 36 4 honorDisplayPropertiesObject Ljava/lang/Object;
5 36 5 honorDisplayProperties Z
6 36 6 w3cLengthUnitsObject Ljava/lang/Object;
7 36 7 w3cLengthUnits Z
15 21 8 doc Ljavax/swing/text/Document;
25 29 8 doc Ljavax/swing/text/Document;
28 29 9 documentStyleSheet Ljavax/swing/text/html/StyleSheet;
31 35 8 doc Ljavax/swing/text/Document;
34 35 9 documentStyleSheet Ljavax/swing/text/html/StyleSheet;
MethodParameters:
Name Flags
font
fg
void cleanDisplayProperties();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=8, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.getComponent:()Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
astore 1
start local 1 1: aload 1
instanceof javax.swing.text.html.HTMLDocument
ifeq 17
2: aload 1
checkcast javax.swing.text.html.HTMLDocument
invokevirtual javax.swing.text.html.HTMLDocument.getStyleSheet:()Ljavax/swing/text/html/StyleSheet;
3: astore 2
start local 2 4: aload 2
invokevirtual javax.swing.text.html.StyleSheet.getStyleSheets:()[Ljavax/swing/text/html/StyleSheet;
astore 3
start local 3 5: aload 3
ifnull 14
6: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 13
StackMap locals: javax.swing.plaf.basic.BasicEditorPaneUI javax.swing.text.Document javax.swing.text.html.StyleSheet javax.swing.text.html.StyleSheet[] top int int javax.swing.text.html.StyleSheet[]
StackMap stack:
7: aload 7
iload 5
aaload
astore 4
start local 4 8: aload 4
instanceof javax.swing.plaf.basic.BasicEditorPaneUI$StyleSheetUIResource
ifeq 12
9: aload 2
aload 4
invokevirtual javax.swing.text.html.StyleSheet.removeStyleSheet:(Ljavax/swing/text/html/StyleSheet;)V
10: aload 2
ldc "BASE_SIZE_DISABLE"
invokevirtual javax.swing.text.html.StyleSheet.addRule:(Ljava/lang/String;)V
11: goto 14
end local 4 12: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
13: iload 5
iload 6
if_icmplt 7
14: StackMap locals: javax.swing.plaf.basic.BasicEditorPaneUI javax.swing.text.Document javax.swing.text.html.StyleSheet javax.swing.text.html.StyleSheet[]
StackMap stack:
aload 1
checkcast javax.swing.text.StyledDocument
ldc "default"
invokeinterface javax.swing.text.StyledDocument.getStyle:(Ljava/lang/String;)Ljavax/swing/text/Style;
astore 4
start local 4 15: aload 4
ldc "FONT_ATTRIBUTE_KEY"
invokeinterface javax.swing.text.Style.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 17
16: aload 4
ldc "FONT_ATTRIBUTE_KEY"
invokeinterface javax.swing.text.Style.removeAttribute:(Ljava/lang/Object;)V
end local 4 end local 3 end local 2 17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/swing/plaf/basic/BasicEditorPaneUI;
1 18 1 document Ljavax/swing/text/Document;
4 17 2 documentStyleSheet Ljavax/swing/text/html/StyleSheet;
5 17 3 styleSheets [Ljavax/swing/text/html/StyleSheet;
8 12 4 s Ljavax/swing/text/html/StyleSheet;
15 17 4 style Ljavax/swing/text/Style;
private void updateCSS(java.awt.Font, java.awt.Color);
descriptor: (Ljava/awt/Font;Ljava/awt/Color;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.getComponent:()Ljavax/swing/text/JTextComponent;
astore 3
start local 3 1: aload 3
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
astore 4
start local 4 2: aload 4
instanceof javax.swing.text.html.HTMLDocument
ifeq 26
3: new javax.swing.plaf.basic.BasicEditorPaneUI$StyleSheetUIResource
dup
invokespecial javax.swing.plaf.basic.BasicEditorPaneUI$StyleSheetUIResource.<init>:()V
astore 5
start local 5 4: aload 4
checkcast javax.swing.text.html.HTMLDocument
invokevirtual javax.swing.text.html.HTMLDocument.getStyleSheet:()Ljavax/swing/text/html/StyleSheet;
5: astore 6
start local 6 6: aload 6
invokevirtual javax.swing.text.html.StyleSheet.getStyleSheets:()[Ljavax/swing/text/html/StyleSheet;
astore 7
start local 7 7: aload 7
ifnull 14
8: aload 7
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 13
StackMap locals: javax.swing.plaf.basic.BasicEditorPaneUI java.awt.Font java.awt.Color javax.swing.text.JTextComponent javax.swing.text.Document javax.swing.text.html.StyleSheet javax.swing.text.html.StyleSheet javax.swing.text.html.StyleSheet[] top int int javax.swing.text.html.StyleSheet[]
StackMap stack:
9: aload 11
iload 9
aaload
astore 8
start local 8 10: aload 8
instanceof javax.swing.plaf.basic.BasicEditorPaneUI$StyleSheetUIResource
ifeq 12
11: aload 6
aload 8
invokevirtual javax.swing.text.html.StyleSheet.removeStyleSheet:(Ljavax/swing/text/html/StyleSheet;)V
end local 8 12: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
13: iload 9
iload 10
if_icmplt 9
14: StackMap locals: javax.swing.plaf.basic.BasicEditorPaneUI java.awt.Font java.awt.Color javax.swing.text.JTextComponent javax.swing.text.Document javax.swing.text.html.StyleSheet javax.swing.text.html.StyleSheet javax.swing.text.html.StyleSheet[]
StackMap stack:
aload 1
15: aload 2
16: invokestatic sun.swing.SwingUtilities2.displayPropertiesToCSS:(Ljava/awt/Font;Ljava/awt/Color;)Ljava/lang/String;
17: astore 8
start local 8 18: aload 5
aload 8
invokevirtual javax.swing.text.html.StyleSheet.addRule:(Ljava/lang/String;)V
19: aload 6
aload 5
invokevirtual javax.swing.text.html.StyleSheet.addStyleSheet:(Ljavax/swing/text/html/StyleSheet;)V
20: aload 6
new java.lang.StringBuilder
dup
ldc "BASE_SIZE "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
21: aload 3
invokevirtual javax.swing.text.JTextComponent.getFont:()Ljava/awt/Font;
invokevirtual java.awt.Font.getSize:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
22: invokevirtual javax.swing.text.html.StyleSheet.addRule:(Ljava/lang/String;)V
23: aload 4
checkcast javax.swing.text.StyledDocument
ldc "default"
invokeinterface javax.swing.text.StyledDocument.getStyle:(Ljava/lang/String;)Ljavax/swing/text/Style;
astore 9
start local 9 24: aload 1
aload 9
ldc "FONT_ATTRIBUTE_KEY"
invokeinterface javax.swing.text.Style.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual java.awt.Font.equals:(Ljava/lang/Object;)Z
ifne 26
25: aload 9
ldc "FONT_ATTRIBUTE_KEY"
aload 1
invokeinterface javax.swing.text.Style.addAttribute:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 9 end local 8 end local 7 end local 6 end local 5 26: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljavax/swing/plaf/basic/BasicEditorPaneUI;
0 27 1 font Ljava/awt/Font;
0 27 2 fg Ljava/awt/Color;
1 27 3 component Ljavax/swing/text/JTextComponent;
2 27 4 document Ljavax/swing/text/Document;
4 26 5 styleSheet Ljavax/swing/text/html/StyleSheet;
6 26 6 documentStyleSheet Ljavax/swing/text/html/StyleSheet;
7 26 7 styleSheets [Ljavax/swing/text/html/StyleSheet;
10 12 8 s Ljavax/swing/text/html/StyleSheet;
18 26 8 cssRule Ljava/lang/String;
24 26 9 style Ljavax/swing/text/Style;
MethodParameters:
Name Flags
font
fg
private void updateStyle(java.awt.Font, java.awt.Color);
descriptor: (Ljava/awt/Font;Ljava/awt/Color;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.updateFont:(Ljava/awt/Font;)V
1: aload 0
aload 2
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.updateForeground:(Ljava/awt/Color;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicEditorPaneUI;
0 3 1 font Ljava/awt/Font;
0 3 2 fg Ljava/awt/Color;
MethodParameters:
Name Flags
font
fg
private void updateForeground(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.getComponent:()Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
checkcast javax.swing.text.StyledDocument
astore 2
start local 2 1: aload 2
ldc "default"
invokeinterface javax.swing.text.StyledDocument.getStyle:(Ljava/lang/String;)Ljavax/swing/text/Style;
astore 3
start local 3 2: aload 3
ifnonnull 4
3: return
4: StackMap locals: javax.swing.text.StyledDocument javax.swing.text.Style
StackMap stack:
aload 1
ifnonnull 8
5: aload 3
getstatic javax.swing.text.StyleConstants.Foreground:Ljava/lang/Object;
invokeinterface javax.swing.text.Style.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 10
6: aload 3
getstatic javax.swing.text.StyleConstants.Foreground:Ljava/lang/Object;
invokeinterface javax.swing.text.Style.removeAttribute:(Ljava/lang/Object;)V
7: goto 10
8: StackMap locals:
StackMap stack:
aload 1
aload 3
invokestatic javax.swing.text.StyleConstants.getForeground:(Ljavax/swing/text/AttributeSet;)Ljava/awt/Color;
invokevirtual java.awt.Color.equals:(Ljava/lang/Object;)Z
ifne 10
9: aload 3
aload 1
invokestatic javax.swing.text.StyleConstants.setForeground:(Ljavax/swing/text/MutableAttributeSet;Ljava/awt/Color;)V
10: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/plaf/basic/BasicEditorPaneUI;
0 11 1 color Ljava/awt/Color;
1 11 2 doc Ljavax/swing/text/StyledDocument;
2 11 3 style Ljavax/swing/text/Style;
MethodParameters:
Name Flags
color
private void updateFont(java.awt.Font);
descriptor: (Ljava/awt/Font;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicEditorPaneUI.getComponent:()Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
checkcast javax.swing.text.StyledDocument
astore 2
start local 2 1: aload 2
ldc "default"
invokeinterface javax.swing.text.StyledDocument.getStyle:(Ljava/lang/String;)Ljavax/swing/text/Style;
astore 3
start local 3 2: aload 3
ifnonnull 4
3: return
4: StackMap locals: javax.swing.text.StyledDocument javax.swing.text.Style
StackMap stack:
aload 3
getstatic javax.swing.text.StyleConstants.FontFamily:Ljava/lang/Object;
invokeinterface javax.swing.text.Style.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 5: aload 3
getstatic javax.swing.text.StyleConstants.FontSize:Ljava/lang/Object;
invokeinterface javax.swing.text.Style.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 5
start local 5 6: aload 3
getstatic javax.swing.text.StyleConstants.Bold:Ljava/lang/Object;
invokeinterface javax.swing.text.Style.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 6
start local 6 7: aload 3
getstatic javax.swing.text.StyleConstants.Italic:Ljava/lang/Object;
invokeinterface javax.swing.text.Style.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 7
start local 7 8: aload 3
ldc "FONT_ATTRIBUTE_KEY"
invokeinterface javax.swing.text.Style.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.awt.Font
astore 8
start local 8 9: aload 1
ifnonnull 21
10: aload 4
ifnull 12
11: aload 3
getstatic javax.swing.text.StyleConstants.FontFamily:Ljava/lang/Object;
invokeinterface javax.swing.text.Style.removeAttribute:(Ljava/lang/Object;)V
12: StackMap locals: javax.swing.plaf.basic.BasicEditorPaneUI java.awt.Font javax.swing.text.StyledDocument javax.swing.text.Style java.lang.String java.lang.Integer java.lang.Boolean java.lang.Boolean java.awt.Font
StackMap stack:
aload 5
ifnull 14
13: aload 3
getstatic javax.swing.text.StyleConstants.FontSize:Ljava/lang/Object;
invokeinterface javax.swing.text.Style.removeAttribute:(Ljava/lang/Object;)V
14: StackMap locals:
StackMap stack:
aload 6
ifnull 16
15: aload 3
getstatic javax.swing.text.StyleConstants.Bold:Ljava/lang/Object;
invokeinterface javax.swing.text.Style.removeAttribute:(Ljava/lang/Object;)V
16: StackMap locals:
StackMap stack:
aload 7
ifnull 18
17: aload 3
getstatic javax.swing.text.StyleConstants.Italic:Ljava/lang/Object;
invokeinterface javax.swing.text.Style.removeAttribute:(Ljava/lang/Object;)V
18: StackMap locals:
StackMap stack:
aload 8
ifnull 34
19: aload 3
ldc "FONT_ATTRIBUTE_KEY"
invokeinterface javax.swing.text.Style.removeAttribute:(Ljava/lang/Object;)V
20: goto 34
21: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.Font.getName:()Ljava/lang/String;
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 23
22: aload 3
aload 1
invokevirtual java.awt.Font.getName:()Ljava/lang/String;
invokestatic javax.swing.text.StyleConstants.setFontFamily:(Ljavax/swing/text/MutableAttributeSet;Ljava/lang/String;)V
23: StackMap locals:
StackMap stack:
aload 5
ifnull 25
24: aload 5
invokevirtual java.lang.Integer.intValue:()I
aload 1
invokevirtual java.awt.Font.getSize:()I
if_icmpeq 26
25: StackMap locals:
StackMap stack:
aload 3
aload 1
invokevirtual java.awt.Font.getSize:()I
invokestatic javax.swing.text.StyleConstants.setFontSize:(Ljavax/swing/text/MutableAttributeSet;I)V
26: StackMap locals:
StackMap stack:
aload 6
ifnull 28
27: aload 6
invokevirtual java.lang.Boolean.booleanValue:()Z
aload 1
invokevirtual java.awt.Font.isBold:()Z
if_icmpeq 29
28: StackMap locals:
StackMap stack:
aload 3
aload 1
invokevirtual java.awt.Font.isBold:()Z
invokestatic javax.swing.text.StyleConstants.setBold:(Ljavax/swing/text/MutableAttributeSet;Z)V
29: StackMap locals:
StackMap stack:
aload 7
ifnull 31
30: aload 7
invokevirtual java.lang.Boolean.booleanValue:()Z
aload 1
invokevirtual java.awt.Font.isItalic:()Z
if_icmpeq 32
31: StackMap locals:
StackMap stack:
aload 3
aload 1
invokevirtual java.awt.Font.isItalic:()Z
invokestatic javax.swing.text.StyleConstants.setItalic:(Ljavax/swing/text/MutableAttributeSet;Z)V
32: StackMap locals:
StackMap stack:
aload 1
aload 8
invokevirtual java.awt.Font.equals:(Ljava/lang/Object;)Z
ifne 34
33: aload 3
ldc "FONT_ATTRIBUTE_KEY"
aload 1
invokeinterface javax.swing.text.Style.addAttribute:(Ljava/lang/Object;Ljava/lang/Object;)V
34: StackMap locals:
StackMap stack:
return
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Ljavax/swing/plaf/basic/BasicEditorPaneUI;
0 35 1 font Ljava/awt/Font;
1 35 2 doc Ljavax/swing/text/StyledDocument;
2 35 3 style Ljavax/swing/text/Style;
5 35 4 fontFamily Ljava/lang/String;
6 35 5 fontSize Ljava/lang/Integer;
7 35 6 isBold Ljava/lang/Boolean;
8 35 7 isItalic Ljava/lang/Boolean;
9 35 8 fontAttribute Ljava/awt/Font;
MethodParameters:
Name Flags
font
}
SourceFile: "BasicEditorPaneUI.java"
NestMembers:
javax.swing.plaf.basic.BasicEditorPaneUI$StyleSheetUIResource
InnerClasses:
StyleSheetUIResource = javax.swing.plaf.basic.BasicEditorPaneUI$StyleSheetUIResource of javax.swing.plaf.basic.BasicEditorPaneUI
FocusAction = javax.swing.plaf.basic.BasicTextUI$FocusAction of javax.swing.plaf.basic.BasicTextUI