88 lines
2.4 KiB
Java
88 lines
2.4 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*
|
|
* Could not load the following classes:
|
|
* javax.baja.security.BPassword
|
|
* javax.baja.sys.Sys
|
|
* javax.baja.sys.Type
|
|
* javax.baja.ui.BTextField
|
|
* javax.baja.ui.text.PasswordRenderer
|
|
* javax.baja.ui.text.PasswordTextController
|
|
* javax.baja.ui.text.TextController
|
|
* javax.baja.ui.text.TextRenderer
|
|
*/
|
|
package com.tridium.platcrypto.ui;
|
|
|
|
import javax.baja.security.BPassword;
|
|
import javax.baja.sys.Sys;
|
|
import javax.baja.sys.Type;
|
|
import javax.baja.ui.BTextField;
|
|
import javax.baja.ui.text.PasswordRenderer;
|
|
import javax.baja.ui.text.PasswordTextController;
|
|
import javax.baja.ui.text.TextController;
|
|
import javax.baja.ui.text.TextRenderer;
|
|
|
|
/*
|
|
* Illegal identifiers - consider using --renameillegalidents true
|
|
*/
|
|
public class BPasswordField
|
|
extends BTextField {
|
|
public static final Type TYPE;
|
|
static /* synthetic */ Class class$com$tridium$platcrypto$ui$BPasswordField;
|
|
|
|
public Type getType() {
|
|
return TYPE;
|
|
}
|
|
|
|
public BPassword getPassword() {
|
|
return BPassword.make((String)this.getText());
|
|
}
|
|
|
|
private final void initPasswordField() {
|
|
this.setRenderer((TextRenderer)new PasswordRenderer());
|
|
this.setController((TextController)new PasswordTextController());
|
|
this.setAllowCopying(false);
|
|
}
|
|
|
|
static /* synthetic */ Class class(String string, boolean bl) {
|
|
try {
|
|
Class<?> clazz = Class.forName(string);
|
|
if (!bl) {
|
|
clazz = clazz.getComponentType();
|
|
}
|
|
return clazz;
|
|
}
|
|
catch (ClassNotFoundException classNotFoundException) {
|
|
throw new NoClassDefFoundError(classNotFoundException.getMessage());
|
|
}
|
|
}
|
|
|
|
public BPasswordField(String string, int n, boolean bl) {
|
|
super(string, n, bl);
|
|
this.initPasswordField();
|
|
}
|
|
|
|
public BPasswordField(String string, int n) {
|
|
super(string, n);
|
|
this.initPasswordField();
|
|
}
|
|
|
|
public BPasswordField(String string) {
|
|
super(string);
|
|
this.initPasswordField();
|
|
}
|
|
|
|
public BPasswordField() {
|
|
this.initPasswordField();
|
|
}
|
|
|
|
static {
|
|
Class clazz = class$com$tridium$platcrypto$ui$BPasswordField;
|
|
if (clazz == null) {
|
|
clazz = class$com$tridium$platcrypto$ui$BPasswordField = BPasswordField.class("[Lcom.tridium.platcrypto.ui.BPasswordField;", false);
|
|
}
|
|
TYPE = Sys.loadType((Class)clazz);
|
|
}
|
|
}
|
|
|