public PropertiesGridPanel() { grid = new GridLayout(2, 1); grid.setWidth("100%"); addComponent(grid); setExpandRatio(grid, 0); }
private BSMDashletComponent(int rowCount, int columnCount) { m_gridLayout = new GridLayout(columnCount, rowCount); m_gridLayout.setCaption(getName()); m_gridLayout.setWidth("100%"); refresh(); }
protected GridLayout createInfoSectionLayout(int columns, int rows) { GridLayout layout = new GridLayout(columns, rows); layout.setSpacing(true); layout.setWidth(100, UNITS_PERCENTAGE); layout.setMargin(true, false, true, false); infoPanelLayout.addComponent(layout); return layout; }
private void init() { layout.setSpacing(true); layout.setMargin(true); layout.setWidth("100%"); this.addStyleName(ValoTheme.PANEL_BORDERLESS); this.setContent(layout); this.setSizeFull(); }
protected void initPeopleGrid() { peopleGrid = new GridLayout(); peopleGrid.setColumns(2); peopleGrid.setSpacing(true); peopleGrid.setMargin(true, false, false, false); peopleGrid.setWidth(100, UNITS_PERCENTAGE); peopleLayout.addComponent(peopleGrid); }
protected void initPeopleGrid() { peopleGrid = new GridLayout(); peopleGrid.setColumns(2); peopleGrid.setSpacing(true); peopleGrid.setMargin(true, false, false, false); peopleGrid.setWidth(100, UNITS_PERCENTAGE); layout.addComponent(peopleGrid); populatePeopleGrid(); }
protected void initSubTasksLayout() { subTaskLayout = new GridLayout(); subTaskLayout.setColumns(3); subTaskLayout.addStyleName(ExplorerLayout.STYLE_TASK_SUBTASKS_LIST); subTaskLayout.setWidth(99, UNITS_PERCENTAGE); subTaskLayout.setColumnExpandRatio(2, 1.0f); subTaskLayout.setSpacing(true); layout.addComponent(subTaskLayout); }
public UiLayout100() { this.layout = new GridLayout(3,1); layout.setMargin(true); layout.setSpacing(true); layout.setHideEmptyRowsAndColumns(true); layout.setColumnExpandRatio(0, 0.3f); layout.setColumnExpandRatio(1, 0.7f); layout.setColumnExpandRatio(2, 0); // layout.setSizeFull(); layout.setWidth("100%"); rows = 0; }
private void init() { setModal(true); setHeight("150px"); setWidth("300px"); this.layout = new GridLayout(1, 2); this.layout.setSpacing(true); this.layout.setWidth("95%"); this.layout.setMargin(true); this.setContent(this.layout); }
protected void initEventGrid() { eventGrid = new GridLayout(); eventGrid.setColumns(2); eventGrid.setSpacing(true); eventGrid.setMargin(true, false, false, false); eventGrid.setWidth("100%"); eventGrid.setColumnExpandRatio(1, 1.0f); eventGrid.addStyleName(ExplorerLayout.STYLE_TASK_EVENT_GRID); addComponent(eventGrid); }
private void init() { setModal(true); setHeight("150px"); setWidth("300px"); this.layout = new GridLayout(1, 2); this.layout.setSpacing(true); this.layout.setWidth("95%"); this.layout.setMargin(true); this.setContent(this.layout); }
public void init() { this.setModal(true); this.setResizable(false); this.setHeight("90%"); this.setWidth("90%"); GridLayout layout = new GridLayout(1, 1); layout.setWidth("100%"); CategorisedErrorOccurrenceViewPanel panel = new CategorisedErrorOccurrenceViewPanel(this.categorisedErrorOccurrence, this.errorReportingManagementService, this.hospitalManagementService, this.topologyService, this.exclusionManagementService, container); this.setContent(panel); }
public void init() { this.setModal(true); this.setResizable(false); this.setHeight("90%"); this.setWidth("90%"); GridLayout layout = new GridLayout(1, 1); layout.setWidth("100%"); layout.addComponent(createErrorOccurrenceDetailsPanel(), 0, 0); this.setContent(layout); }
public void init() { this.setModal(true); this.setResizable(false); this.setHeight("90%"); this.setWidth("90%"); GridLayout layout = new GridLayout(1, 1); layout.setWidth("100%"); layout.addComponent(createErrorOccurrenceDetailsPanel(), 0, 0); this.setContent(layout); }
public void init() { this.setModal(true); this.setResizable(false); this.setHeight("90%"); this.setWidth("90%"); GridLayout layout = new GridLayout(1, 1); layout.setWidth("100%"); layout.addComponent(createErrorOccurrenceDetailsPanel(), 0, 0); this.setContent(layout); }
public void init() { this.setModal(true); this.setResizable(false); this.setHeight("90%"); this.setWidth("90%"); GridLayout layout = new GridLayout(1, 1); layout.setWidth("100%"); layout.addComponent(createErrorOccurrenceDetailsPanel(), 0, 0); this.setContent(layout); }
public void createUi(VaadinFormBuilder builder) { layout = new GridLayout(); layout.setColumns(((LayoutComposite)getElement()).getColumns()); log().i("grid",layout.getColumns()); layout.setWidth("100%"); layout.setSpacing(true); addToCurrent(builder); }
public void refresh() { GridLayout layout = new GridLayout(); layout.setWidth("100%"); layout.setSpacing(true); layout.setMargin(true); Label configLabel = new Label("Solr Configuration"); configLabel.addStyleName(ValoTheme.LABEL_HUGE); configLabel.setSizeUndefined(); layout.addComponent(configLabel); layout.addComponent(this.createConfigurationPanel()); this.setContent(layout); }
public void refresh() { GridLayout layout = new GridLayout(); layout.setWidth("100%"); layout.setSpacing(true); layout.setMargin(true); Label configLabel = new Label("General Configuration"); configLabel.addStyleName(ValoTheme.LABEL_HUGE); configLabel.setSizeUndefined(); layout.addComponent(configLabel); layout.addComponent(this.createConfigurationPanel()); this.setContent(layout); } }
public void refresh() { GridLayout layout = new GridLayout(); layout.setWidth("100%"); layout.setSpacing(true); layout.setMargin(true); Label configLabel = new Label("Control Configuration"); configLabel.addStyleName(ValoTheme.LABEL_HUGE); configLabel.setSizeUndefined(); layout.addComponent(configLabel); layout.addComponent(this.createConfigurationPanel()); this.setContent(layout); } }