if (element == null) { VerticalPanel panel = new VerticalPanel(); panel.setWidth("" + config.width + "px"); panel.setHeight("" + config.height + "px"); panel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER); } else { VerticalPanel panel = new VerticalPanel(); panel.setWidth("" + config.width + "px"); panel.setHeight("" + config.height + "px"); panel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
if (element == null) { VerticalPanel panel = new VerticalPanel(); panel.setWidth("" + config.width + "px"); panel.setHeight("" + config.height + "px"); panel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER); } else { VerticalPanel panel = new VerticalPanel(); panel.setWidth("" + config.width + "px"); panel.setHeight("" + config.height + "px"); panel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
@Override protected int initDetailsTableImpl() { int row = -1; Label schemaLabel = new Label(Utils.constants.schemaVersion()); detailsTable.setWidget(++row, 0, schemaLabel); if (create) { schemaLabel.addStyleName(Utils.avroUiStyle.requiredField()); schema = new VersionListBox(); schema.setWidth("80px"); VerticalPanel panel = new VerticalPanel(); panel.setWidth("100%"); panel.add(schema); panel.add(new HTML(" ")); detailsTable.setWidget(row, 1, panel); schema.addValueChangeHandler(this); } else { schemaVersion = new KaaAdminSizedTextBox(-1, false); schemaVersion.setWidth("100%"); detailsTable.setWidget(row, 1, schemaVersion); } return row; }
public GuidedRuleEditorViewImpl() { panel.setWidth( "100%" ); initWidget( panel ); }
public PrettyFormLayout() { layout.setWidth("100%"); initWidget(layout); }
public MetadataWidget() { layout.setWidth( "100%" ); initWidget( layout ); }
public GuidedDecisionTableEditorViewImpl() { panel.setWidth( "100%" ); initWidget( panel ); }
public PrettyFormLayout() { layout.setWidth("100%"); initWidget(layout); }
public TempSearchBackedTable(){ super(); redraw(); layout.setWidth("100%"); initWidget(layout); }
public SearchResultsTable(){ super(); redraw(); layout.setWidth("100%"); initWidget(layout); }
@Inject public InboxView(Caller<InboxService> s) { this.inboxService = s; layout = new VerticalPanel(); layout.setWidth( "100%" ); initWidget( layout ); setWidth( "100%" ); }
@Inject public M2RepoEditorView( Caller<M2RepoService> s ) { this.m2RepoService = s; layout = new VerticalPanel(); doSearch(); layout.setWidth( "100%" ); initWidget( layout ); setWidth( "100%" ); }
public FullHeightLayoutPanel() { SimpleLayoutPanel s = new SimpleLayoutPanel(); s.add( panel ); panel.setWidth( "100%" ); panel.setHeight( "100%" ); initWidget( s ); }
@Override public void onMouseOver(MouseOverEvent event) { label.setVisible(false); listPanel.setVisible(true); listPanel.setWidth(String.valueOf(fp.getOffsetWidth())+"px"); Scheduler.get().scheduleDeferred(new ScheduledCommand() { @Override public void execute() { RootPanel.get().setWidgetPosition(listPanel, fp.getAbsoluteLeft(), fp.getAbsoluteTop()+fp.getOffsetHeight()); } }); // TODO Auto-generated method stub } };
public FullHeightLayoutPanel() { SimpleLayoutPanel s = new SimpleLayoutPanel(); s.add( panel ); panel.setWidth( "100%" ); panel.setHeight( "100%" ); initWidget( s ); }
public StatusText() { setText(DEFAULT_EMPTY_TEXT); verticalPanel = new VerticalPanel(); verticalPanel.setHeight("50px"); verticalPanel.setWidth("100%"); verticalPanel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER); verticalPanel.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE); }
@Override public void showEmpty(Displayer displayer) { currentDisplayer = null; VerticalPanel centeredPanel = new VerticalPanel(); centeredPanel.setWidth("100%"); centeredPanel.setHeight("100%"); centeredPanel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER); centeredPanel.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE); Label noDataLabel = new Label(DashboardConstants.INSTANCE.noData()); centeredPanel.add(noDataLabel); displayerPanel.clear(); displayerPanel.add(centeredPanel); }
public WorkPanel() { setElement(vPanel.getElement()); vPanel.setWidth("100%"); SimplePanel title = new SimplePanel(); vPanel.add(title); vPanel.add(mainPanel); title.setHeight("25px"); vPanel.setCellHeight(title, "25px"); titleLabel.setStyleName("WS-WorkPanel-title-label"); title.setStyleName("WS-WorkPanel-title"); vPanel.setStyleName("WS-WorkPanel-area"); titleInternal.add(titleLabel); title.setWidget(titleInternal); getElement().getStyle().setProperty("overflow", "scroll"); }
@Override public void showLoading(Displayer displayer) { currentDisplayer = null; VerticalPanel centeredPanel = new VerticalPanel(); centeredPanel.setWidth("100%"); centeredPanel.setHeight("100%"); centeredPanel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER); centeredPanel.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE); Image loadingIcon = new Image(DataSetClientResources.INSTANCE.images().loadingIcon().getSafeUri()); loadingIcon.setTitle(DashboardConstants.INSTANCE.loading()); loadingIcon.setAltText(DashboardConstants.INSTANCE.loading()); centeredPanel.add(loadingIcon); displayerPanel.clear(); displayerPanel.add(centeredPanel); }