Creates a new instance of ArchiveList @param caretPos @param where @param t
(int caretPos, int where, TextBox t)
| 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(); |
nothing calls this directly
no test coverage detected