MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / ArchiveList

Method ArchiveList

src/main/java/Archive/ArchiveList.java:69–80  ·  view source on GitHub ↗

Creates a new instance of ArchiveList @param caretPos @param where @param t

(int caretPos, int where, TextBox t)

Source from the content-addressed store, hash-verified

67 * @param t
68 */
69 public ArchiveList(int caretPos, int where, TextBox t) {
70 super(new Vector());
71 this.where = where;
72 this.caretPos = caretPos;
73 this.t = t;
74 archive = new MessageArchive(where);
75 mainbar = new MainBar((where == 1) ? SR.MS_ARCHIVE : SR.MS_TEMPLATE);
76 mainbar.addElement(null);
77 mainbar.addRAlign();
78 mainbar.addElement(null);
79 mainbar.addElement(SR.MS_FREE /*"free "*/);
80 }
81
82 public final void commandState() {
83 menuCommands.removeAllElements();

Callers

nothing calls this directly

Calls 2

addElementMethod · 0.80
addRAlignMethod · 0.80

Tested by

no test coverage detected