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

Method loadItemsFrom

src/main/java/ui/controls/form/DefForm.java:89–101  ·  view source on GitHub ↗
(Vector items)

Source from the content-addressed store, hash-verified

87 }
88
89 public final void loadItemsFrom(Vector items) {
90 synchronized (itemsList) {
91 if (items == null) {
92 return;
93 }
94 int count = items.size();
95 itemsList.removeAllElements();
96 for (int i = 0; i < count; i++) {
97 itemsList.addElement(items.elementAt(i));
98 }
99 redraw();
100 }
101 }
102
103 public void cmdOk() {
104 destroyView();

Callers 6

showResultsMethod · 0.80
TransferManagerMethod · 0.80
declineCurrentMethod · 0.80
menuActionMethod · 0.80
MessageUrlMethod · 0.80
runMethod · 0.80

Calls 3

addElementMethod · 0.80
sizeMethod · 0.45
redrawMethod · 0.45

Tested by

no test coverage detected