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

Method MoodList

src/main/java/PEP/MoodList.java:34–45  ·  view source on GitHub ↗

Creates a new instance of MoodList

()

Source from the content-addressed store, hash-verified

32 /** Creates a new instance of MoodList */
33
34 public MoodList() {
35 super(SR.MS_USERMOOD);
36
37 int count=Moods.getInstance().moodValue.size();
38
39 for (int i=0; i<count; i++) {
40 itemsList.addElement(new MoodItem(i));
41 }
42
43 sort(itemsList);
44 enableListWrapping(true);
45 }
46
47 public void cmdOk() {
48 eventOk();

Callers

nothing calls this directly

Calls 5

getInstanceMethod · 0.95
addElementMethod · 0.80
sortMethod · 0.80
enableListWrappingMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected