/** * Sets the object's height. This height does not include decorations such as * border, margin, and padding. * * @param height the object's new height, in absolute CSS units (e.g. "10px", * "1em" but not "50%") */ @Override public void setHeight(String height) { super.setHeight(height); }
@Override protected void onUpdate(double progress) { if (!isExpanding) { progress = 1.0 - progress; } int h = (int) (this.height * progress); content.setHeight(h + "px"); }
@Override protected void onUpdate(double progress) { if (!isExpanding) { progress = 1.0 - progress; } int h = (int) (this.height * progress); content.setHeight(h + "px"); }
/** * Sets the object's height. This height does not include decorations such as * border, margin, and padding. * * @param height the object's new height, in absolute CSS units (e.g. "10px", * "1em" but not "50%") */ @Override public void setHeight(String height) { super.setHeight(height); }
/** * Sets the object's height. This height does not include decorations such as * border, margin, and padding. * * @param height the object's new height, in absolute CSS units (e.g. "10px", * "1em" but not "50%") */ @Override public void setHeight(String height) { super.setHeight(height); }
@Override protected void onUpdate(double progress) { if (!isExpanding) { progress = 1.0 - progress; } int h = (int) (this.height * progress); content.setHeight(h + "px"); }
/** {@inheritDoc} */ public void setHeight(String height) { super.setHeight(height); this.height = height; prepareSelectedValue(); }
public void setPreferredHeight( final int height ) { sideBarContainer.setHeight( height + "px" ); bodyContainer.setHeight( height + "px" ); }
@Override protected void onComplete() { super.onComplete(); content.setVisible(isExpanding); content.getElement().getStyle().setOverflow(Overflow.VISIBLE); content.setHeight("100%"); } }
@Override protected void onComplete() { super.onComplete(); content.setVisible(isExpanding); content.getElement().getStyle().setOverflow(Overflow.VISIBLE); content.setHeight("100%"); } }
@Override protected void onComplete() { super.onComplete(); content.setVisible(isExpanding); content.getElement().getStyle().setOverflow(Overflow.VISIBLE); content.setHeight("100%"); }
public void setHeight(String height) { super.setHeight(height); panel.setHeight(height); cellFormat.setHeight(height); grid.table.getCellFormatter().setHeight(row, col, height); }
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; }
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"); }
wrapper.setHeight(wrapperHeight + "px");
wrapper.setHeight(wrapperHeight + "px");
m_mapPanel.setHeight("100%"); final Style mapStyle = m_mapPanel.getElement().getStyle(); mapStyle.setPosition(Position.ABSOLUTE);
m_mapPanel.setHeight("100%"); final Style mapStyle = m_mapPanel.getElement().getStyle(); mapStyle.setPosition(Position.ABSOLUTE);