icon.addStyleName("icon");
final PLabel header = new PLabel(currency);
header.addStyleName("header");
final PAnchor close = new PAnchor();
close.addStyleName("close");
final PHTML buy = new PHTML("<div></div>");
buy.addStyleName("buy");
buy.addClickHandler(new PClickHandler() {
@Override
public void onClick(final PClickEvent clickEvent) {
PNotificationManager.showHumanizedNotification("Buy clicked!");
}
});
final PLabel buyPipHead = new PLabel("buy");
buyPipHead.addStyleName("buy_pip_head");
final PLabel buyNum = new PLabel("1.22");
buyNum.addStyleName("buy_num");
final PFlowPanel buyPipNum = new PFlowPanel();
buyPipNum.addStyleName("buy_pip_num");
final PElement buyPipNumStrong = new PElement("strong");
final PFlowPanel buyDirection = new PFlowPanel();
buyDirection.addStyleName("buy_direction");
final PHTML sell = new PHTML("<div></div>");
sell.addStyleName("sell");
sell.addClickHandler(new PClickHandler() {
@Override
public void onClick(final PClickEvent clickEvent) {
PNotificationManager.showHumanizedNotification("Sell clicked!");
}