class javax.swing.text.DefaultEditorKit$ToggleComponentOrientationAction extends javax.swing.text.TextAction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.DefaultEditorKit$ToggleComponentOrientationAction
super_class: javax.swing.text.TextAction
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 // javax.swing.text.DefaultEditorKit$ToggleComponentOrientationAction this
0: .line 2317
aload 0 /* this */
ldc "toggle-componentOrientation"
invokespecial javax.swing.text.TextAction.<init>:(Ljava/lang/String;)V
1: .line 2318
return
end local 0 // javax.swing.text.DefaultEditorKit$ToggleComponentOrientationAction this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultEditorKit$ToggleComponentOrientationAction;
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 // javax.swing.text.DefaultEditorKit$ToggleComponentOrientationAction this
start local 1 // java.awt.event.ActionEvent e
0: .line 2322
aload 0 /* this */
aload 1 /* e */
invokevirtual javax.swing.text.DefaultEditorKit$ToggleComponentOrientationAction.getTextComponent:(Ljava/awt/event/ActionEvent;)Ljavax/swing/text/JTextComponent;
astore 2 /* target */
start local 2 // javax.swing.text.JTextComponent target
1: .line 2323
aload 2 /* target */
ifnull 9
2: .line 2324
aload 2 /* target */
invokevirtual javax.swing.text.JTextComponent.getComponentOrientation:()Ljava/awt/ComponentOrientation;
astore 3 /* last */
start local 3 // java.awt.ComponentOrientation last
3: .line 2326
aload 3 /* last */
getstatic java.awt.ComponentOrientation.RIGHT_TO_LEFT:Ljava/awt/ComponentOrientation;
if_acmpne 6
4: .line 2327
getstatic java.awt.ComponentOrientation.LEFT_TO_RIGHT:Ljava/awt/ComponentOrientation;
astore 4 /* next */
start local 4 // java.awt.ComponentOrientation next
5: goto 7
end local 4 // java.awt.ComponentOrientation next
6: .line 2329
StackMap locals: javax.swing.text.JTextComponent java.awt.ComponentOrientation
StackMap stack:
getstatic java.awt.ComponentOrientation.RIGHT_TO_LEFT:Ljava/awt/ComponentOrientation;
astore 4 /* next */
start local 4 // java.awt.ComponentOrientation next
7: .line 2330
StackMap locals: java.awt.ComponentOrientation
StackMap stack:
aload 2 /* target */
aload 4 /* next */
invokevirtual javax.swing.text.JTextComponent.setComponentOrientation:(Ljava/awt/ComponentOrientation;)V
8: .line 2331
aload 2 /* target */
invokevirtual javax.swing.text.JTextComponent.repaint:()V
end local 4 // java.awt.ComponentOrientation next
end local 3 // java.awt.ComponentOrientation last
9: .line 2333
StackMap locals:
StackMap stack:
return
end local 2 // javax.swing.text.JTextComponent target
end local 1 // java.awt.event.ActionEvent e
end local 0 // javax.swing.text.DefaultEditorKit$ToggleComponentOrientationAction this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/text/DefaultEditorKit$ToggleComponentOrientationAction;
0 10 1 e Ljava/awt/event/ActionEvent;
1 10 2 target Ljavax/swing/text/JTextComponent;
3 9 3 last Ljava/awt/ComponentOrientation;
5 6 4 next Ljava/awt/ComponentOrientation;
7 9 4 next Ljava/awt/ComponentOrientation;
MethodParameters:
Name Flags
e
}
SourceFile: "DefaultEditorKit.java"
NestHost: javax.swing.text.DefaultEditorKit
InnerClasses:
ToggleComponentOrientationAction = javax.swing.text.DefaultEditorKit$ToggleComponentOrientationAction of javax.swing.text.DefaultEditorKit