109 lines
2.7 KiB
Java
109 lines
2.7 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.BBoolean;
|
|
import javax.baja.sys.BEnum;
|
|
import javax.baja.sys.BFacets;
|
|
import javax.baja.sys.BIBoolean;
|
|
import javax.baja.sys.BIcon;
|
|
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 BStatusBoolean
|
|
extends BStatusValue
|
|
implements BIBoolean {
|
|
public static final Property value = BStatusBoolean.newProperty(0, false, null);
|
|
public static final Type TYPE;
|
|
private static final BIcon icon;
|
|
static /* synthetic */ Class class$javax$baja$status$BStatusBoolean;
|
|
|
|
public boolean getValue() {
|
|
return this.getBoolean(value);
|
|
}
|
|
|
|
public void setValue(boolean bl) {
|
|
this.setBoolean(value, bl, null);
|
|
}
|
|
|
|
public Type getType() {
|
|
return TYPE;
|
|
}
|
|
|
|
public final boolean getBoolean() {
|
|
return this.getValue();
|
|
}
|
|
|
|
public final BFacets getBooleanFacets() {
|
|
return BFacets.NULL;
|
|
}
|
|
|
|
public final BEnum getEnum() {
|
|
return BBoolean.make(this.getValue());
|
|
}
|
|
|
|
public final BFacets getEnumFacets() {
|
|
return BBoolean.make(this.getValue()).getEnumFacets();
|
|
}
|
|
|
|
public final BValue getValueValue() {
|
|
return BBoolean.make(this.getValue());
|
|
}
|
|
|
|
public final Property getValueProperty() {
|
|
return value;
|
|
}
|
|
|
|
public String valueToString(Context context) {
|
|
return BBoolean.toString(this.getValue(), context);
|
|
}
|
|
|
|
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 BStatusBoolean(boolean bl, BStatus bStatus) {
|
|
super(bStatus);
|
|
this.setValue(bl);
|
|
}
|
|
|
|
public BStatusBoolean(boolean bl) {
|
|
this.setValue(bl);
|
|
}
|
|
|
|
public BStatusBoolean() {
|
|
}
|
|
|
|
static {
|
|
Class clazz = class$javax$baja$status$BStatusBoolean;
|
|
if (clazz == null) {
|
|
clazz = class$javax$baja$status$BStatusBoolean = BStatusBoolean.class("[Ljavax.baja.status.BStatusBoolean;", false);
|
|
}
|
|
TYPE = Sys.loadType(clazz);
|
|
icon = BIcon.std("statusBoolean.png");
|
|
}
|
|
}
|
|
|