List of usage examples for com.google.gwt.user.client.ui HorizontalSplitPanel add
@Override public void add(Widget w)
From source file:edu.caltech.ipac.firefly.ui.panels.LinksPanel.java
public LinksPanel() { HorizontalSplitPanel mainPanel = new HorizontalSplitPanel(); initWidget(mainPanel);/*from w ww . j ava 2s . c o m*/ //lst.setStyleName("link-list"); lst.addClickHandler(new ClickHandler() { public void onClick(ClickEvent ev) { selectLink(lst.getLastClicked()); } }); //linkPanel.add(lst); deckPanel.setStyleName("content-panel"); //mainPanel.add(linkPanel); mainPanel.add(lst); mainPanel.setSplitPosition("25%"); mainPanel.add(deckPanel); // mainPanel.setStyleName("links-panel"); }