listBox.getElement().getStyle().setPropertyPx("minWidth", 100); HorizontalPanel groupPanel = new HorizontalPanel(); groupPanel.setSpacing(15); groupPanel.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE); groupPanel.add(endpointGroupButton); keyHashPanel.setSpacing(15); keyHashPanel.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE); endpointKeyHashButton = new RadioButton("filter", Utils.constants.endpointKeyHash());
schemaButtonsPanel.setSpacing(6); downloadEndpointProfileJsonButton = new ImageTextButton( Utils.resources.download(), Utils.constants.downloadJson()); schemaButtonsPanel.setSpacing(6); downloadServerProfileJsonButton = new ImageTextButton( Utils.resources.download(), Utils.constants.downloadJson()); endpointConfigurationRecordTable.setWidth("100%"); schemaNamePanel.setSpacing(6); schemaNamePanel.setCellWidth(endpointConfigSchemaName, "200px"); schemaButtonsPanel = new HorizontalPanel(); schemaButtonsPanel.setSpacing(6); downloadEndpointConfigurationButton = new ImageTextButton( Utils.resources.download(), Utils.constants.downloadJson()); schemaNamePanel.setSpacing(6);
buttonsPanel.setSpacing(5);
panel.setSpacing(5);
@Override protected TreeItem createRootNode(SanTargetModel rootModel) { HorizontalPanel panel = new HorizontalPanel(); additemToRootNodePanel(panel, new StringValueLabel(), rootModel.getName(), "", TextAlignment.LEFT); //$NON-NLS-1$ additemToRootNodePanel(panel, new StringValueLabel(), rootModel.getAddress(), "210px", TextAlignment.LEFT); //$NON-NLS-1$ additemToRootNodePanel(panel, new StringValueLabel(), rootModel.getPort(), "60px", TextAlignment.LEFT); //$NON-NLS-1$ addLoginButton(panel, rootModel); panel.setSpacing(1); panel.setWidth("100%"); //$NON-NLS-1$ panel.getElement().getStyle().setTableLayout(TableLayout.FIXED); return new TreeItem(panel); }
hPanel.setSpacing(5); errorLbl.setStyleName("error");
public RuleNotificationViewElement(RuleNotificationView view,IConformityRule rule) { this.rule = rule; this.view = view; this.hp = new HorizontalPanel(); this.hp.setSpacing(10); this.ruleLevelImg = this.getRuleLevelImg(); this.ruleDescription = new Label(rule.getRuleDescription()); // if (rule instanceof IDiagramElementViewConformityRule) this.elementName = new Label(((IDiagramElementViewConformityRule)rule).getNonConformElement().getEditorModel().getName()); if (rule instanceof IDiagramElementViewConformityRule) this.elementType = new Label(((IDiagramElementViewConformityRule)rule).getNonConformElement().getName()+": "); this.quickFixAvailable = new Label(""+rule.canResolveNonConformity()); this.quickFixDescription = new Label(rule.getResolveConformityDescription()); this.hp.add(ruleLevelImg); if (rule instanceof IDiagramElementViewConformityRule) this.hp.add(elementType); // if (rule instanceof IDiagramElementViewConformityRule) this.hp.add(elementName); this.hp.add(ruleDescription); //this.hp.add(quickFixAvailable); initWidget(hp); }
horizontalPanel.setCellWidth(operatorButton, "30px"); horizontalPanel.setCellWidth(filterTextBox, "100%"); horizontalPanel.setSpacing(2); return horizontalPanel; } else {
infoPanel.setSpacing(5); infoPanel.setStyleName("bpm-header-right");
public Widget createFilterWidget() { primaryNumberBox = new TextBox(); primaryNumberBox.setWidth("100%"); primaryNumberBox.addStyleName("numberBox"); secondaryNumberBox = new TextBox(); secondaryNumberBox.setWidth("100%"); secondaryNumberBox.addStyleName("numberBox"); operatorButton = new PushButton(); setButtonText(operatorButton, operator); operatorButton.addClickListener(clickListener); operatorButton.addStyleName("operatorButton"); horizontalPanel.addStyleName("columnNumberFilter"); horizontalPanel.setVerticalAlignment(HorizontalPanel.ALIGN_MIDDLE); horizontalPanel.add(operatorButton); horizontalPanel.add(primaryNumberBox); horizontalPanel.add(secondaryNumberBox); horizontalPanel.setCellWidth(operatorButton, "30px"); horizontalPanel.setCellWidth(primaryNumberBox, "100%"); secondaryNumberBox.setVisible(false); horizontalPanel.setSpacing(2); primaryNumberBox.addKeyboardListener(keyboardListener); secondaryNumberBox.addKeyboardListener(keyboardListener); return horizontalPanel; }
HorizontalPanel hp = new HorizontalPanel(); hp.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE); hp.setSpacing(3); com.google.gwt.user.client.ui.Label lblUpload = new com.google.gwt.user.client.ui.Label( MESSAGES.uploadShapefileLabelText() + " : ");
HorizontalPanel hp = new HorizontalPanel(); hp.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE); hp.setSpacing(3); com.google.gwt.user.client.ui.Label lblUpload = new com.google.gwt.user.client.ui.Label( MESSAGES.uploadShapefileLabelText() + " : ");
boolean open = treeTable.isTreeOpen(); HorizontalPanel treeNode = new HorizontalPanel(); treeNode.setSpacing(0); treeNode.setVerticalAlignment(HorizontalPanel.ALIGN_MIDDLE); indent(treeNode, treeTableItem);
lastLink = new EnableHyperlink(constants.pageLast() + " >>",""); nextLink = new EnableHyperlink(constants.pageNext() + " >",""); pagingPanel.setSpacing(3);
buttonPanel.setSpacing(3); buttonPanel.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE); buttonPanel.add(firstPageButton);
buttonPanel.setSpacing(3); buttonPanel.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE); buttonPanel.add(firstPageButton);
buttonPanel.setSpacing(3); buttonPanel.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE); buttonPanel.add(firstPageButton);