210211212213214215216217218219220
if (lastSell < msg.sell) { sellDirection.removeStyleName("down"); sellDirection.addStyleName("up"); } else { sellDirection.removeStyleName("up"); sellDirection.addStyleName("down"); } lastBuy = msg.buy; lastSell = msg.sell; buyPipNumStrong.setInnerText(lastBuy + "");
6768697071727374757677
private PWidget buildBox(final String label) { final PLabel lbl = new PLabel(label); lbl.addStyleName("label"); final PFlowPanel box = new PFlowPanel(); box.addStyleName("ddbox"); box.add(lbl); box.addDomHandler(new PDragStartHandler() { @Override