@UiConstructor
  public PreviewResourceView(CollectionItemDo collectionItemDo, int itemIndex) {
    initWidget(uiBinder.createAndBindUi(this));
    resourceThumbContainer.getElement().setId("fpnlResourceThumbContainer");
    resourceImageContainer.getElement().setId("fpnlResourceImageContainer");
    resourceThumbnail.getElement().setId("imgResourceThumbnail");
    resourceTypeImage.getElement().setId("lblResourceTypeImage");
    resourceNumber.getElement().setId("lblResourceNumber");
    resourceTitle.getElement().setId("htmlResourceTitle");
    resourceIndex.getElement().setId("lblResourceIndex");
    resourceHoverTitle.getElement().setId("htmlResourceHoverTitle");
    resourceCategory.getElement().setId("lblResourceCategory");
    resourceSourceName.getElement().setId("lblResourceSourceName");
    ratingWidgetPanel.getElement().setId("fpnlRatingWidgetPanel");
    this.collectionItemDo = collectionItemDo;
    setNavigationResourceTitle(collectionItemDo.getResource().getTitle());
    if (collectionItemDo.getResource().getResourceFormat() != null) {
      setResourceTypeIcon(collectionItemDo.getResource().getResourceFormat().getDisplayName());
    }
    setResourceCategory();
    setReourceSourceName();
    setResourceSequence(itemIndex + 1);
    setResourcePlayLink();

    if (AppClientFactory.getCurrentPlaceToken().equalsIgnoreCase(PlaceTokens.COLLECTION_PLAY)) {
      setAvgRatingWidget();
      AppClientFactory.getEventBus()
          .addHandler(UpdateRatingsInRealTimeEvent.TYPE, setRatingWidgetMetaData);
    }
  }
Exemplo n.º 2
0
 public PageFormAppearance() {
   FlowPanel panel = new FlowPanel();
   panel.getElement().setAttribute("role", "form");
   heading = Document.get().createHElement(3);
   panel.getElement().appendChild(heading);
   main = panel;
   inputPanel = new FlowPanel();
   panel.add(inputPanel);
   inputSize = ColumnSize.MD_12.getCssName();
   buttonStyle = ButtonSize.LARGE.getCssName();
 }
 public PreviewResourceView() {
   initWidget(uiBinder.createAndBindUi(this));
   resourceThumbContainer.getElement().setId("fpnlResourceThumbContainer");
   resourceImageContainer.getElement().setId("fpnlResourceImageContainer");
   resourceThumbnail.getElement().setId("imgResourceThumbnail");
   resourceTypeImage.getElement().setId("lblResourceTypeImage");
   resourceNumber.getElement().setId("lblResourceNumber");
   resourceTitle.getElement().setId("htmlResourceTitle");
   resourceIndex.getElement().setId("lblResourceIndex");
   resourceHoverTitle.getElement().setId("htmlResourceHoverTitle");
   resourceCategory.getElement().setId("lblResourceCategory");
   resourceSourceName.getElement().setId("lblResourceSourceName");
   ratingWidgetPanel.getElement().setId("fpnlRatingWidgetPanel");
 }
Exemplo n.º 4
0
  public SimpleComposite() {

    label = new Label();

    img = new Image("img/logo.PNG");
    img.getElement().setId("pc-template-img");

    // The wrapper panel
    FlowPanel panel = new FlowPanel();
    panel.getElement().setClassName("composite");
    panel.add(img);
    panel.add(label);

    // All composites must call initWidget() in their constructors.
    initWidget(panel);

    // Add mouse move handler to the image
    img.addMouseMoveHandler(
        new MouseMoveHandler() {

          public void onMouseMove(MouseMoveEvent event) {
            label.setText("mouse moved on picture !");
          }
        });
  }
 public void setResourcePlayLink() {
   Anchor resourceAnchor = new Anchor();
   resourceAnchor.setHref(getResourceLink());
   resourceAnchor.setStyleName("");
   resourceAnchor.getElement().appendChild(resourceImageContainer.getElement());
   resourceThumbContainer.insert(resourceAnchor, 0);
 }
  public PlaceBookEntryPreview(final Entry entry) {
    initWidget(uiBinder.createAndBindUi(this));

    container
        .getElement()
        .getStyle()
        .setBackgroundImage(
            "url(" + Resources.IMAGES.placebook_open().getSafeUri().asString() + ")");

    title.setText(entry.getTitle());
    description.setText(entry.getDescription());
    author.setText(entry.getOwnerName());

    if (entry.getPreviewImage() != null) {
      image.setUrl(
          PlaceBooks.getServer().getHostURL()
              + "media?hash="
              + entry.getPreviewImage()
              + "&type=imageitem");
    } else {
      image.setVisible(false);
    }

    container.addDomHandler(
        new ClickHandler() {
          @Override
          public void onClick(final ClickEvent event) {
            PlaceBooks.goTo(new PlaceBookPage(entry.getKey()));
          }
        },
        ClickEvent.getType());
  }
  /**
   * @function setLabelsAndIds
   * @created_date : Jan 2, 2014
   * @description To set Labels and Id for buttons.
   * @parm(s) :
   * @return : void
   * @throws : <Mentioned if any exceptions>
   */
  private void setLabelsAndIds() {
    btnResourceLink.setText(i18n.GL0548());
    btnResourceLink.getElement().setId("btnResourceLink");
    btnResourceLink.getElement().setAttribute("alt", i18n.GL0548());
    btnResourceLink.getElement().setAttribute("title", i18n.GL0548());

    lblGooruFieldTrip.setText(i18n.GL0549());
    lblGooruFieldTrip.getElement().setId("lblGooruFieldTrip");
    lblGooruFieldTrip.getElement().setAttribute("alt", i18n.GL0549());
    lblGooruFieldTrip.getElement().setAttribute("title", i18n.GL0549());

    // lblGooruFieldTripDescUnforseen.setText(i18n.GL0550);
    // lblGooruFieldTripDescOriginal.setText(i18n.GL0552);
    lblGooruFieldTripDescOriginal.setText("");
    lblGooruFieldTripDescOriginal.getElement().setId("lblGooruFieldTripDescOriginal");
    lblGooruFieldTripDescOriginal.getElement().setAttribute("alt", "");
    lblGooruFieldTripDescOriginal.getElement().setAttribute("title", "");

    lblDontForget.setText(i18n.GL0551());
    lblDontForget.getElement().setId("lblDontForget");
    lblDontForget.getElement().setAttribute("alt", i18n.GL0551());
    lblDontForget.getElement().setAttribute("title", i18n.GL0551());

    imgFieldTrip.getElement().setId("imgFieldTrip");
    imgFieldTrip.setUrl("images/framebraker/field-trip.png");

    resoruceFrameBrakerContainer.getElement().setId("fpnlResoruceFrameBrakerContainer");
    resourceCategory.getElement().setId("pnlResourceCategory");
    lblGooruFieldTripDescUnforseen.getElement().setId("lblGooruFieldTripDescUnforseen");
    supportTip.getElement().setId("lblSupportTip");
    //		learnMoreLbl.setText("Learn more.");
  }
Exemplo n.º 8
0
  /**
   * Removes a widget from the button panel.
   *
   * <p>
   *
   * @param w the widget to remove
   */
  public void removeButton(Widget w) {

    m_buttonPanel.remove(w);
    if (CmsCoreProvider.get().isIe7()) {
      m_buttonPanel.getElement().getStyle().setWidth(m_buttonPanel.getWidgetCount() * 22, Unit.PX);
    }
  }
Exemplo n.º 9
0
  /**
   * Adds a widget to the front of the button panel.
   *
   * <p>
   *
   * @param w the widget to add
   */
  public void addButtonToFront(Widget w) {

    m_buttonPanel.insert(w, 0);
    if (CmsCoreProvider.get().isIe7()) {
      m_buttonPanel.getElement().getStyle().setWidth(m_buttonPanel.getWidgetCount() * 22, Unit.PX);
    }
  }
Exemplo n.º 10
0
 public final BuilderPanel setHorizontal(boolean horizontal) {
   this.horizontal = horizontal;
   if (horizontal) {
     panel.getElement().getStyle().setProperty("display", "table");
   }
   return this;
 }
 /**
  * Instantiates a new xml tree view.
  *
  * @param cellTreeNode the cell tree node
  */
 public XmlTreeView(CellTreeNode cellTreeNode) {
   clearMessages();
   createRootNode(cellTreeNode);
   addHandlers();
   mainPanel.getElement().setId("mainPanel_FlowPanel");
   saveBtn.getElement().setId("saveBtn_Button");
   buttonExpand.getElement().setId("buttonExpand_Button");
   buttonCollapse.getElement().setId("buttonCollapse_Button");
 }
Exemplo n.º 12
0
  public void show(Widget widget, Position position, String style) {
    NotificationConfigurationBean styleSetup = getUiState(style);
    setWaiAriaRole(styleSetup);

    FlowPanel panel = new FlowPanel();
    if (styleSetup.hasAssistivePrefix()) {
      panel.add(new Label(styleSetup.getAssistivePrefix()));
      AriaHelper.setVisibleForAssistiveDevicesOnly(panel.getElement(), true);
    }

    panel.add(widget);

    if (styleSetup.hasAssistivePostfix()) {
      panel.add(new Label(styleSetup.getAssistivePostfix()));
      AriaHelper.setVisibleForAssistiveDevicesOnly(panel.getElement(), true);
    }
    setWidget(panel);
    show(position, style);
  }
Exemplo n.º 13
0
  private TestFlows() {
    FlowPanel root = new FlowPanel();
    Util.addText(root.getElement(), "Div root");

    FlowPanel div1 = new FlowPanel();
    Util.addText(div1.getElement(), "Div1");
    root.add(div1);

    FlowPanel div2 = new FlowPanel();
    Util.addText(div2.getElement(), "Div2");
    div1.add(div2);

    InlineLabel span1 = new InlineLabel();
    span1.setText("Span1");
    div1.add(span1);

    FlowPanel anon = new FlowPanel();
    Util.addText(anon.getElement(), "Div anon");
    root.add(anon);

    FlowPanel div3 = new FlowPanel();
    Util.addText(div3.getElement(), "Div3");
    anon.add(div3);

    FlowPanel div4 = new FlowPanel();
    Util.addText(div4.getElement(), "Div4");
    div3.add(div4);

    InlineLabel span2 = new InlineLabel();
    span2.setText("Span2");
    div3.add(span2);

    Util.addText(div1.getElement(), " Div1 end");
    Util.addText(div3.getElement(), " Div3 end");
    Util.addText(anon.getElement(), " Div anon end");
    Util.addText(root.getElement(), " Div root end");

    initWidget(root);
  }
Exemplo n.º 14
0
  private Widget getRadioGroupPanel() {
    FlowPanel buttonsPanel = new FlowPanel();
    buttonsPanel
        .getElement()
        .getStyle()
        .setProperty("marginLeft", "auto"); // $NON-NLS-1$ //$NON-NLS-2$
    buttonsPanel
        .getElement()
        .getStyle()
        .setProperty("marginRight", "auto"); // $NON-NLS-1$ //$NON-NLS-2$

    for (ViewFilter<K> item : items) {
      RadioButton radioButton = new RadioButton("viewRadioGroup", item.toString()); // $NON-NLS-1$
      radioButton.getElement().getStyle().setMarginRight(20, Unit.PX);
      radioButton.setText(item.getText());
      buttons.put(item.getValue(), radioButton);
      buttonsPanel.add(radioButton);
    }

    setSelectedValue(items.get(0).getValue());

    return buttonsPanel;
  }
Exemplo n.º 15
0
  protected void init(final ArcadeData data) {
    clear();
    add(_header = new FBGameHeaderPanel());
    _header.initWithCards(data.allGames);

    // top games
    FlowPanel topGames = MsoyUI.createFlowPanel("TopGames");
    topGames.add(MsoyUI.createLabel("Top 10 Games", "title"));
    add(topGames);
    DOM.setStyleAttribute(topGames.getElement(), "position", "absolute");
    int ii;
    for (ii = 0; ii < data.topGames.size(); ii++) {
      topGames.add(createTopGameWidget(ii + 1, data.topGames.get(ii)));
    }

    // pad out for testing
    if (data.topGames.size() > 0) {
      for (; ii < 10; ++ii) {
        int rnd = (int) (Math.random() * data.topGames.size());
        topGames.add(createTopGameWidget(ii + 1, data.topGames.get(rnd)));
      }
    }

    // featured games
    // add(new FBFeaturedGamePanel(data.featuredGames));
    add(new FBMochiGamePanel(data.mochiGames));

    // game wall
    AbsolutePanel gameWall = new AbsolutePanel();
    gameWall.setStyleName("GameWall");
    gameWall.add(MsoyUI.createLabel("Featured Games", "title"));
    SmartTable grid = new SmartTable("Grid", 0, 0);
    gameWall.add(grid);
    int cell = 1;
    for (GameCard wallGame : data.gameWall) {
      grid.setWidget(cell / 3, cell % 3, createWallGameWidget(wallGame), 1, "WallCell");
      cell++;
    }

    // pad out for testing
    if (data.topGames.size() > 0) {
      for (; cell <= 20; cell++) {
        int rnd = (int) (Math.random() * data.topGames.size());
        grid.setWidget(
            cell / 3, cell % 3, createWallGameWidget(data.topGames.get(rnd)), 1, "WallCell");
      }
    }

    add(gameWall);
  }
Exemplo n.º 16
0
 private void initStyle() {
   MyResource.INSTANCE.getStlModel().ensureInjected();
   pnlOperacion.getElement().getStyle().setTextAlign(Style.TextAlign.CENTER);
   btnOperacion.setWidth("90%");
   form.getPnlUnion().setWidth("100%");
   btnBack.addStyleName(MyResource.INSTANCE.getStlModel().pushButton());
   lblCenter.getElement().getStyle().setFontWeight(Style.FontWeight.BOLD);
   form.getPnlBusqueda().setHeight("80px");
   form.getPnlBusqueda().getElement().getStyle().setMarginBottom(10, Style.Unit.PX);
   form.getPnlTabla().setHeight("400px");
   MyResource.INSTANCE.getStlModel().ensureInjected();
   txtBuscar.getElement().getFirstChild().getFirstChild().removeFromParent();
   pnlHeader.setWidth("100%");
 }
 public ProgressBar(String text) {
   FlowPanel pane = new FlowPanel();
   pane.getElement().getStyle().setPosition(Position.RELATIVE);
   initWidget(pane);
   progress = new HTML();
   HTML content = new HTML(text);
   content.setStyleName("progress-text");
   pane.add(progress);
   pane.add(content);
   content.setWidth("100%");
   setStyleName("progress-bar");
   progress.setStyleName("progress");
   progress.setHeight("100%");
 }
  public void hide() {

    int wdgtCnt = priLvlCntnrWdgt.getWidgetCount();
    for (int i = 0; i < wdgtCnt; i++) {
      if (priLvlCntnrWdgt.getWidget(i) instanceof SwitchButton) {
        if (!((SwitchButton) priLvlCntnrWdgt.getWidget(i)).isEnable()) {
          ((SwitchButton) priLvlCntnrWdgt.getWidget(i)).enable();
        }
      }
    }

    mainPnl.getElement().getStyle().setDisplay(Display.NONE);
    visible = false;
  }
Exemplo n.º 19
0
  @Inject
  public QuestionResourceView() {
    setWidget(uiBinder.createAndBindUi(this));
    questiontext.getElement().setInnerHTML(i18n.GL0308());
    questiontext.getElement().setId("pnlQuestiontext");
    questiontext.getElement().setAttribute("alt", i18n.GL0308());
    questiontext.getElement().setAttribute("title", i18n.GL0308());

    hintsButton.setText(i18n.GL0667());
    hintsButton.getElement().setId("btnHintsButton");
    hintsButton.getElement().setAttribute("alt", i18n.GL0667());
    hintsButton.getElement().setAttribute("title", i18n.GL0667());

    explanaionButton.setText(i18n.GL0316());
    explanaionButton.getElement().setId("btnexplanaionButton");
    explanaionButton.getElement().setAttribute("alt", i18n.GL0316());
    explanaionButton.getElement().setAttribute("title", i18n.GL0316());

    openEndedQuestionText.getElement().setId("htmlOpenEndedQuestionText");
    questionContainer.getElement().setId("fpnlQuestionContainer");
    openEndedQuestionImage.getElement().setId("imgOpenEndedQuestionImage");
    hintsContainer.getElement().setId("fpnlHintsContainer");
    explanationContainer.getElement().setId("pnlExplanationContainer");
  }
Exemplo n.º 20
0
  public CollaboratorsUc(CollectionSearchResultDo collectionResultDo) {
    initWidget(uiBinder.createAndBindUi(this));
    teamContainer.getElement().setId("fpnlTeamContainer");
    AppClientFactory.getInjector()
        .getCollaboratorsService()
        .getAssociatedCollaborators(
            collectionResultDo.getGooruOid(),
            "active",
            new SimpleAsyncCallback<Map<String, ArrayList<CollaboratorsDo>>>() {

              @Override
              public void onSuccess(Map<String, ArrayList<CollaboratorsDo>> result) {
                renderTeamNames(teamContainer, getTeamMembersNames(result.get("active")));
              }
            });
  }
Exemplo n.º 21
0
  @Inject
  public AddCollectionView() {
    setWidget(uiBinder.createAndBindUi(this));
    hideText.setText(i18n.GL0592());
    hideText.getElement().setId("lblHideText");
    hideText.getElement().setAttribute("alt", i18n.GL0592());
    hideText.getElement().setAttribute("title", i18n.GL0592());

    addcollectionText.getElement().setInnerHTML(i18n.GL0690());
    addcollectionText.getElement().setId("pnlAddcollectionText");
    addcollectionText.getElement().setAttribute("alt", i18n.GL0690());
    addcollectionText.getElement().setAttribute("title", i18n.GL0690());

    renameText.setText(i18n.GL0593());
    renameText.getElement().setId("lblRenameText");
    renameText.getElement().setAttribute("alt", i18n.GL0593());
    renameText.getElement().setAttribute("title", i18n.GL0593());

    addToShelfCollectionButton.setText(i18n.GL0590());
    addToShelfCollectionButton.getElement().setId("btnAddToShelfCollectionButton");
    addToShelfCollectionButton.getElement().setAttribute("alt", i18n.GL0590());
    addToShelfCollectionButton.getElement().setAttribute("title", i18n.GL0590());

    collectionAddedSuccessMessageContainer.setVisible(false);
    getAddToShelfCollectionButton().addClickHandler(new OnAddCollectionClick());
    collectionTitleInCoverPage.addKeyUpHandler(new onKeyErrorMsg());
    workSpaceLink.setText(i18n.GL0589());
    workSpaceLink.getElement().setId("lnkWorkSpaceLink");
    workSpaceLink.getElement().setAttribute("alt", i18n.GL0589());
    workSpaceLink.getElement().setAttribute("title", i18n.GL0589());

    addToCollectionWidgetContainer.getElement().setId("pnlAddToCollectionWidgetContainer");
    collectionAddImageContainer.getElement().setId("pnlCollectionAddImageContainer");
    addResourceInsteadLabelContainerInCollectionImage
        .getElement()
        .setId("pnlAddResourceInsteadLabelContainerInCollectionImage");
    collectionAddedSuccessMessageContainer
        .getElement()
        .setId("pnlCollectionAddedSuccessMessageContainer");
    successMessageLabelText.getElement().setId("lblSuccessMessageLabelText");
    addCollectionInsteadLabelContainer.getElement().setId("pnlAddCollectionInsteadLabelContainer");
    collectionTitleInCoverPage.getElement().setId("txtCollectionTitleInCoverPage");
    StringUtil.setAttributes(collectionTitleInCoverPage, true);
    addingLabel.getElement().setId("lblAddingLabel");
    addErrorLabel.getElement().setId("errlblAddErrorLabel");
    hideButton.getElement().setId("epnlHideButton");
  }
Exemplo n.º 22
0
 /** Average star ratings widget will get integrated. */
 private void setAvgRatingWidget() {
   ratingWidgetView = new RatingWidgetView();
   if (collectionItemDo.getResource().getRatings() != null) {
     if (collectionItemDo.getResource().getRatings().getCount() != null
         && collectionItemDo.getResource().getRatings().getCount() != 0) {
       ratingWidgetView.getRatingCountOpenBrace().setText(i18n.GL_SPL_OPEN_SMALL_BRACKET());
       ratingWidgetView
           .getRatingCountLabel()
           .setText(collectionItemDo.getResource().getRatings().getCount().toString());
       ratingWidgetView.getRatingCountCloseBrace().setText(i18n.GL_SPL_CLOSE_SMALL_BRACKET());
       ratingWidgetView.setAvgStarRating(collectionItemDo.getResource().getRatings().getAverage());
       ratingWidgetPanel.getElement().setId("fpnlRatingWidgetPanel");
     }
   }
   ratingWidgetPanel.clear();
   ratingWidgetPanel.add(ratingWidgetView);
 }
  public HorizontalScrollWrapper(ListBox listBox) {
    id = getListBoxWrapperUIId(listBox);

    FlowPanel container = new FlowPanel();
    container.getElement().setId(id);
    container.setStyleName("scrollable-horizontally");

    SimplePanel helperDiv = new SimplePanel();
    Label dummyText = new Label("&nbsp");
    dummyText.setStyleName("invisible-font");
    helperDiv.add(dummyText);

    container.add(listBox);
    container.add(helperDiv);

    initWidget(container);
  }
Exemplo n.º 24
0
 */ @Override
 public void setBackToSearch() {
   boolean visible = false;
   searchRequest = AppClientFactory.getPlaceManager().getPreviousRequest();
   if (searchRequest != null) {
     String query = searchRequest.getParameter("query", null);
     visible = searchRequest != null && query != null;
     backToSearchFloPanel.getElement().getStyle().setDisplay(Display.BLOCK);
     if (visible) {
       if (query.length() > 50) {
         query = query.substring(0, 50) + "...";
         backToSearchHtml.setHTML(PRE_SEARCH_LINK + query + "\"");
       } else {
         backToSearchHtml.setHTML(PRE_SEARCH_LINK + query + "\"");
       }
     }
   }
   backToSearchPreHtml.setVisible(visible);
   backToSearchHtml.setVisible(visible);
 }
  /**
   * Set the stream scope to post to.
   *
   * @param streamScope the scope.
   * @param postingEnabled if posting is enabled.
   */
  public void setStreamScope(final StreamScope streamScope, final Boolean postingEnabled) {
    postingDisabled.setVisible(!postingEnabled);
    shadowPanel.setVisible(postingEnabled);

    if (postComposite == null && postingEnabled) {
      postComposite = new PostToStreamComposite(streamScope);
      setupPostComposite();
    } else if (postingEnabled) {
      postComposite.setScope(streamScope);
    } else {
      FlowPanel postingDisabledMessage = new FlowPanel();

      postingDisabledMessage
          .getElement()
          .setInnerHTML("Posting messages has been disabled for this stream.");
      postingDisabled.addStyleName(StaticResourceBundle.INSTANCE.coreCss().postingDisabledBox());
      postingDisabled.add(postingDisabledMessage);
      postContent.add(postingDisabled);
    }
  }
Exemplo n.º 26
0
  public NoScenario() {
    slidePanel = new SlidePanel(SLIDER_WIDTH, SLIDER_HEIGHT);
    slidePanel.addStyleName(ADD_SCENARIO_BOX);

    slidePanel.getFooterPanel().addStyleName(FOOTER_CSS_CLASS);

    btnNext = new Button(R.lang.Next());
    btnNext.addClickHandler(this);
    btnNext.getElement().getStyle().setFloat(Float.RIGHT);

    btnPrevious = new Button(R.lang.Previous());
    btnPrevious.addClickHandler(this);

    slidePanel.addFooterWidget(btnPrevious);
    slidePanel.addFooterWidget(btnNext);

    sac = new ScenarioAddController(true, false, false);
    sac.addBlurHandlerSName(this);
    sac.addKeyUpHandlerSName(this);

    mecController = new MEControllerSettings();
    mecController.addValueChangeHandler(this);

    mecPanel = new FlowPanel();
    Headline headline = new Headline(R.lang.measurementEnvironmentController());
    headline.getElement().getStyle().setMarginTop(0, Unit.PX);
    mecPanel.add(headline);
    mecPanel.add(mecController.getView());
    mecPanel.getElement().getStyle().setPadding(1, Unit.EM);

    slidePanel.addWidget(sac.getView());
    slidePanel.addWidget(mecPanel);

    add(slidePanel);

    updateButtons();
  }
 public void hide() {
   mainPnl.getElement().getStyle().setDisplay(Display.NONE);
   visibile = false;
 }
 public void show() {
   mainPnl.getElement().getStyle().setDisplay(Display.BLOCK);
   visibile = true;
 }
Exemplo n.º 29
0
 public BuilderPanel() {
   panel = new FlowPanel();
   panel.getElement().getStyle().setWidth(100, Unit.PCT);
 }
Exemplo n.º 30
0
 public BuilderPanel setId(String id) {
   panel.getElement().setId(id);
   return this;
 }