use of com.extjs.gxt.ui.client.widget.layout.AnchorData in project activityinfo by bedatadriven.
the class LayersWidget method createBaseMapPanel.
private void createBaseMapPanel() {
baseMapPanel = new BaseMapPanel(service);
baseMapPanel.addValueChangeHandler(new ValueChangeHandler<String>() {
@Override
public void onValueChange(ValueChangeEvent<String> event) {
mapElement.setBaseMapId(event.getValue());
reportEventBus.fireChange();
}
});
AnchorData layoutData = new AnchorData();
layoutData.setAnchorSpec("100% none");
add(baseMapPanel, layoutData);
}
use of com.extjs.gxt.ui.client.widget.layout.AnchorData in project activityinfo by bedatadriven.
the class LayersWidget method createLayersPanel.
private void createLayersPanel() {
layersPanel = new ContentPanel();
layersPanel.setCollapsible(false);
layersPanel.setFrame(true);
layersPanel.setHeadingText(I18N.CONSTANTS.layers());
layersPanel.setBodyBorder(false);
layersPanel.setHeaderVisible(true);
layersPanel.setIcon(AbstractImagePrototype.create(MapResources.INSTANCE.layers()));
AnchorData layoutData = new AnchorData();
layoutData.setAnchorSpec("100% none");
add(layersPanel, layoutData);
}
Aggregations