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

Method addPopup

src/main/java/ui/controls/PopUp.java:76–82  ·  view source on GitHub ↗
(int type, String contact, String message)

Source from the content-addressed store, hash-verified

74 public boolean handled = false;
75
76 synchronized public void addPopup(int type, String contact, String message){
77 if (message!=null) {
78 //popUps.addElement(new PopUpElement(type, contact, StringUtils.parseMessage(message, width-border-padding, height-border-padding, false, font)));
79 font=FontCache.getFont(false, FontCache.baloon); //Issue 88
80 popUps.addElement(new PopUpElement(type, contact, StringUtils.parseMessage(message, width-border-padding, font)));
81 }
82 }
83
84 private PopUp() {
85 popUps = new Vector();

Callers 3

sendNotifyMethod · 0.80
showInfoMethod · 0.80
showAlertMethod · 0.80

Calls 3

getFontMethod · 0.95
parseMessageMethod · 0.95
addElementMethod · 0.80

Tested by

no test coverage detected