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

Method getItemRef

src/main/java/ui/controls/form/DefForm.java:73–78  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

71 }
72
73 public VirtualElement getItemRef(int index) {
74 if (index >= getItemCount()) {
75 return null;
76 }
77 return (VirtualElement) itemsList.elementAt(index);
78 }
79
80 public void menuAction(MenuCommand command, VirtualList displayable) {
81 if (command == cmdCancel) {

Callers

nothing calls this directly

Calls 1

getItemCountMethod · 0.95

Tested by

no test coverage detected