tmap/smali_classes6/org/jdesktop/application/TextActions$TextComponentPCL.smali
2022-06-10 21:38:30 +09:00

85 lines
2.2 KiB
Smali

.class final Lorg/jdesktop/application/TextActions$TextComponentPCL;
.super Ljava/lang/Object;
.source "TextActions.java"
# interfaces
.implements Ljava/beans/PropertyChangeListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lorg/jdesktop/application/TextActions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x11
name = "TextComponentPCL"
.end annotation
# instance fields
.field public final synthetic this$0:Lorg/jdesktop/application/TextActions;
# direct methods
.method private constructor <init>(Lorg/jdesktop/application/TextActions;)V
.locals 0
.line 1
iput-object p1, p0, Lorg/jdesktop/application/TextActions$TextComponentPCL;->this$0:Lorg/jdesktop/application/TextActions;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lorg/jdesktop/application/TextActions;Lorg/jdesktop/application/TextActions$1;)V
.locals 0
.line 2
invoke-direct {p0, p1}, Lorg/jdesktop/application/TextActions$TextComponentPCL;-><init>(Lorg/jdesktop/application/TextActions;)V
return-void
.end method
# virtual methods
.method public propertyChange(Ljava/beans/PropertyChangeEvent;)V
.locals 2
.line 1
invoke-virtual {p1}, Ljava/beans/PropertyChangeEvent;->getPropertyName()Ljava/lang/String;
move-result-object v0
if-eqz v0, :cond_0
const-string v1, "editable"
.line 2
invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_1
.line 3
:cond_0
iget-object v0, p0, Lorg/jdesktop/application/TextActions$TextComponentPCL;->this$0:Lorg/jdesktop/application/TextActions;
invoke-virtual {p1}, Ljava/beans/PropertyChangeEvent;->getSource()Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljavax/swing/text/JTextComponent;
move-object v1, p1
check-cast v1, Ljavax/swing/text/JTextComponent;
invoke-static {v0, p1}, Lorg/jdesktop/application/TextActions;->access$400(Lorg/jdesktop/application/TextActions;Ljavax/swing/text/JTextComponent;)V
:cond_1
return-void
.end method