79 lines
1.9 KiB
Java
79 lines
1.9 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package javax.baja.nav;
|
|
|
|
import javax.baja.naming.BOrd;
|
|
import javax.baja.nav.BNavContainer;
|
|
import javax.baja.nav.NavEvent;
|
|
import javax.baja.sys.BIcon;
|
|
import javax.baja.sys.Sys;
|
|
import javax.baja.sys.Type;
|
|
|
|
/*
|
|
* Illegal identifiers - consider using --renameillegalidents true
|
|
*/
|
|
public class BNavFileNode
|
|
extends BNavContainer {
|
|
public static final Type TYPE;
|
|
static final BIcon defaultIcon;
|
|
BIcon icon;
|
|
BOrd navOrd;
|
|
BOrd ordInSession;
|
|
static /* synthetic */ Class class$javax$baja$nav$BNavFileNode;
|
|
|
|
public BOrd getNavOrd() {
|
|
return this.navOrd;
|
|
}
|
|
|
|
public BOrd getOrdInSession() {
|
|
if (this.ordInSession == null) {
|
|
this.ordInSession = this.navOrd.relativizeToSession();
|
|
}
|
|
return this.ordInSession;
|
|
}
|
|
|
|
protected void fireNavEvent(NavEvent navEvent) {
|
|
}
|
|
|
|
public BIcon getIcon() {
|
|
return this.icon;
|
|
}
|
|
|
|
public Type getType() {
|
|
return TYPE;
|
|
}
|
|
|
|
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 BNavFileNode(String string, BOrd bOrd, BIcon bIcon) {
|
|
super(string);
|
|
if (bIcon == null || bIcon.isNull()) {
|
|
bIcon = defaultIcon;
|
|
}
|
|
this.navOrd = bOrd;
|
|
this.icon = bIcon;
|
|
}
|
|
|
|
static {
|
|
Class clazz = class$javax$baja$nav$BNavFileNode;
|
|
if (clazz == null) {
|
|
clazz = class$javax$baja$nav$BNavFileNode = BNavFileNode.class("[Ljavax.baja.nav.BNavFileNode;", false);
|
|
}
|
|
TYPE = Sys.loadType(clazz);
|
|
defaultIcon = BIcon.std("folder.png");
|
|
}
|
|
}
|
|
|