MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / RosterIcons

Method RosterIcons

src/main/java/images/RosterIcons.java:55–63  ·  view source on GitHub ↗

Creates a new instance of RosterIcons

()

Source from the content-addressed store, hash-verified

53 private Vector transpSkins;
54 /** Creates a new instance of RosterIcons */
55 private RosterIcons() {
56 super("/images/skin.png", 0, ICONS_IN_ROW);
57
58 transports=new StringLoader().hashtableLoader("/images/transports.txt"); //new Hashtable();
59 if (transports != null) { // without skin
60 transpSkins=new Vector(transports.size());
61 transports.put("conference", new Integer(ICON_GROUPCHAT_INDEX));
62 }
63 }
64
65 public int getTransportIndex(String name){
66 if (transports == null) return 0;

Callers

nothing calls this directly

Calls 3

hashtableLoaderMethod · 0.80
putMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected