/** * Sets the object's width. This width does not include decorations such as * border, margin, and padding. * * @param width the object's new width, in absolute CSS units (e.g. "10px", * "1em", but not "50%") */ @Override public void setWidth(String width) { super.setWidth(width); }
/** * Sets the object's width. This width does not include decorations such as * border, margin, and padding. * * @param width the object's new width, in absolute CSS units (e.g. "10px", * "1em", but not "50%") */ @Override public void setWidth(String width) { super.setWidth(width); }
/** * Sets the object's width. This width does not include decorations such as * border, margin, and padding. * * @param width the object's new width, in absolute CSS units (e.g. "10px", * "1em", but not "50%") */ @Override public void setWidth(String width) { super.setWidth(width); }
@Inject public GuidedRuleEditorViewImpl() { panel.setWidth("100%"); initWidget(panel); }
/** {@inheritDoc} */ public void setWidth(String width) { super.setWidth(width); this.width = width; prepareSelectedValue(); }
@Inject public GuidedRuleEditorViewImpl() { panel.setWidth("100%"); initWidget(panel); }
public GuidedRuleTemplateEditorViewImpl() { panel.setWidth( "100%" ); initWidget( panel ); }
public void setProgress(long done, long total) { if (statusBar == null) { return; } int percent = Utils.getPercent(done, total); statusBar.setWidth(percent + "px"); statusMsg.setText(percent + "%"); } }
public BasicProgressBar() { this.setWidth("100px"); this.setStyleName("prgbar-back"); this.add(statusBar); this.add(statusMsg); statusBar.setStyleName("prgbar-done"); statusBar.setWidth("0px"); statusMsg.setStyleName("prgbar-msg"); }
public static SimplePanel createDrape() { SimplePanel drapePanel = new SimplePanel(); Style drapeStyle = drapePanel.getElement().getStyle(); drapeStyle.setProperty("position", "absolute"); drapeStyle.setProperty("top", "0px"); drapeStyle.setProperty("left", "0px"); drapePanel.setWidth("100%"); drapePanel.setHeight("100%"); drapePanel.setStyleName("WSWindowPanel-drape"); Effects.setOpacity(drapePanel.getElement(), 20); return drapePanel; }
private void setSlidersWidth() { slider.clear(); westPanel = new SimplePanel(); int width = getPivot() - getMin(); westPanel.setWidth((width < 0 ? 0 : width) + "px"); //$NON-NLS-1$ percentLabel.setText(getPercent() + "%"); //$NON-NLS-1$ centerPanel = new SimplePanel(); width = getMax() - getMin(); centerPanel.setWidth((width < 0 ? 0 : width) + "px"); //$NON-NLS-1$ slider.addWest(westPanel, getPivot() - getMin()); slider.add(centerPanel); }
m_componentTracker.track(SearchStateManager.class); m_mapPanel.setWidth("100%"); m_mapPanel.setHeight("100%"); final Style mapStyle = m_mapPanel.getElement().getStyle();
m_componentTracker.track(SearchStateManager.class); m_mapPanel.setWidth("100%"); m_mapPanel.setHeight("100%"); final Style mapStyle = m_mapPanel.getElement().getStyle();
pagingPanel.add(lastLink); panel.setWidget(text); panel.setWidth("100px"); pagingPanel.setCellHorizontalAlignment(panel, HorizontalPanel.ALIGN_CENTER); firstLink.setEnabled(false);