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

Method updateHeight

src/main/java/Messages/MessageItem.java:157–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

155 }
156
157 private void updateHeight() {
158 int height = 0;
159 int size = msg.itemCollapsed ? Math.min(msgLines.size(), 1) : msgLines.size();
160 for (int i = 0; i < size; ++i) {
161 ComplexString line=(ComplexString) msgLines.elementAt(i);
162 height += line.getVHeight();
163 }
164 itemHeight = height;
165 }
166
167 public Vector getUrlList() {
168 Vector urlList=new Vector();

Callers 2

parseMethod · 0.95
onSelectMethod · 0.95

Calls 2

getVHeightMethod · 0.95
sizeMethod · 0.45

Tested by

no test coverage detected