88 lines
2.6 KiB
Java
88 lines
2.6 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*
|
|
* Could not load the following classes:
|
|
* com.tridium.ui.UiEnv
|
|
* javax.baja.naming.BOrd
|
|
* javax.baja.sys.BComponent
|
|
* javax.baja.sys.BValue
|
|
* javax.baja.sys.Property
|
|
* javax.baja.sys.Slot
|
|
* javax.baja.sys.Sys
|
|
* javax.baja.sys.Type
|
|
*/
|
|
package com.tridium.alarm.ui;
|
|
|
|
import com.tridium.ui.UiEnv;
|
|
import javax.baja.naming.BOrd;
|
|
import javax.baja.sys.BComponent;
|
|
import javax.baja.sys.BValue;
|
|
import javax.baja.sys.Property;
|
|
import javax.baja.sys.Slot;
|
|
import javax.baja.sys.Sys;
|
|
import javax.baja.sys.Type;
|
|
|
|
public class BAlarmClassDef
|
|
extends BComponent {
|
|
public static final Property defName = BAlarmClassDef.newProperty((int)0, (String)"", null);
|
|
public static final Property alarmIcon = BAlarmClassDef.newProperty((int)0, (BValue)BOrd.NULL, null);
|
|
public static final Property alarmUrl = BAlarmClassDef.newProperty((int)0, (BValue)BOrd.NULL, null);
|
|
public static final Property alarmSound = BAlarmClassDef.newProperty((int)0, (BValue)BOrd.NULL, null);
|
|
public static final Type TYPE = Sys.loadType((Class)(class$com$tridium$alarm$ui$BAlarmClassDef == null ? (class$com$tridium$alarm$ui$BAlarmClassDef = BAlarmClassDef.class$("com.tridium.alarm.ui.BAlarmClassDef")) : class$com$tridium$alarm$ui$BAlarmClassDef));
|
|
public static BAlarmClassDef DEFAULT = new BAlarmClassDef();
|
|
static /* synthetic */ Class class$com$tridium$alarm$ui$BAlarmClassDef;
|
|
|
|
public String getDefName() {
|
|
return this.getString(defName);
|
|
}
|
|
|
|
public void setDefName(String string) {
|
|
this.setString(defName, string, null);
|
|
}
|
|
|
|
public BOrd getAlarmIcon() {
|
|
return (BOrd)this.get(alarmIcon);
|
|
}
|
|
|
|
public void setAlarmIcon(BOrd bOrd) {
|
|
this.set(alarmIcon, (BValue)bOrd, null);
|
|
}
|
|
|
|
public BOrd getAlarmUrl() {
|
|
return (BOrd)this.get(alarmUrl);
|
|
}
|
|
|
|
public void setAlarmUrl(BOrd bOrd) {
|
|
this.set(alarmUrl, (BValue)bOrd, null);
|
|
}
|
|
|
|
public BOrd getAlarmSound() {
|
|
return (BOrd)this.get(alarmSound);
|
|
}
|
|
|
|
public void setAlarmSound(BOrd bOrd) {
|
|
this.set(alarmSound, (BValue)bOrd, null);
|
|
}
|
|
|
|
public Type getType() {
|
|
return TYPE;
|
|
}
|
|
|
|
public BAlarmClassDef() {
|
|
if (UiEnv.get().isMicroEdition()) {
|
|
int n = this.getFlags((Slot)alarmSound);
|
|
this.setFlags((Slot)alarmSound, n | 4);
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ Class class$(String string) {
|
|
try {
|
|
return Class.forName(string);
|
|
}
|
|
catch (ClassNotFoundException classNotFoundException) {
|
|
throw new NoClassDefFoundError(classNotFoundException.getMessage());
|
|
}
|
|
}
|
|
}
|
|
|