Added: SetTabIndex tag has its parameters visible in the tag tree

This commit is contained in:
Jindra Petřík
2025-07-28 16:41:21 +02:00
parent dea30c0051
commit 2cbcd96750

View File

@@ -24,6 +24,7 @@ import com.jpexs.decompiler.flash.types.annotations.SWFType;
import com.jpexs.decompiler.flash.types.annotations.SWFVersion;
import com.jpexs.helpers.ByteArrayRange;
import java.io.IOException;
import java.util.Map;
/**
* SetTabIndex tag - sets the index of an object within the tab order.
@@ -87,4 +88,12 @@ public class SetTabIndexTag extends Tag {
sos.writeUI16(depth);
sos.writeUI16(tabIndex);
}
@Override
public Map<String, String> getNameProperties() {
Map<String, String> ret = super.getNameProperties();
ret.put("dpt", "" + depth);
ret.put("ti", "" + tabIndex);
return ret;
}
}