89 lines
2.2 KiB
Java
89 lines
2.2 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package javax.baja.status;
|
|
|
|
import javax.baja.status.BStatus;
|
|
import javax.baja.status.BStatusValue;
|
|
import javax.baja.sys.BIcon;
|
|
import javax.baja.sys.BString;
|
|
import javax.baja.sys.BValue;
|
|
import javax.baja.sys.Context;
|
|
import javax.baja.sys.Property;
|
|
import javax.baja.sys.Sys;
|
|
import javax.baja.sys.Type;
|
|
|
|
/*
|
|
* Illegal identifiers - consider using --renameillegalidents true
|
|
*/
|
|
public class BStatusString
|
|
extends BStatusValue {
|
|
public static final Property value = BStatusString.newProperty(0, "", null);
|
|
public static final Type TYPE;
|
|
private static final BIcon icon;
|
|
static /* synthetic */ Class class$javax$baja$status$BStatusString;
|
|
|
|
public String getValue() {
|
|
return this.getString(value);
|
|
}
|
|
|
|
public void setValue(String string) {
|
|
this.setString(value, string, null);
|
|
}
|
|
|
|
public Type getType() {
|
|
return TYPE;
|
|
}
|
|
|
|
public final BValue getValueValue() {
|
|
return BString.make(this.getValue());
|
|
}
|
|
|
|
public final Property getValueProperty() {
|
|
return value;
|
|
}
|
|
|
|
public String valueToString(Context context) {
|
|
return this.getValue();
|
|
}
|
|
|
|
public BIcon getIcon() {
|
|
return icon;
|
|
}
|
|
|
|
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 BStatusString(String string, BStatus bStatus) {
|
|
super(bStatus);
|
|
this.setValue(string);
|
|
}
|
|
|
|
public BStatusString(String string) {
|
|
this.setValue(string);
|
|
}
|
|
|
|
public BStatusString() {
|
|
}
|
|
|
|
static {
|
|
Class clazz = class$javax$baja$status$BStatusString;
|
|
if (clazz == null) {
|
|
clazz = class$javax$baja$status$BStatusString = BStatusString.class("[Ljavax.baja.status.BStatusString;", false);
|
|
}
|
|
TYPE = Sys.loadType(clazz);
|
|
icon = BIcon.std("statusString.png");
|
|
}
|
|
}
|
|
|