コード例 #1
0
  @Override
  protected void afterFooterRender() {
    super.afterFooterRender();

    new Label(headerLeftArea).setText("公告数量:");
    new Label(headerLeftArea).setText(" ");
    new Label(headerLeftArea).setID(PublishingNoticeListProcessor.ID_LABEL_COUNT);
    new Label(headerLeftArea).setText(" ");
    new Label(headerLeftArea).setText("条");
    new SSearchText2(headerRightArea).setID(PublishedNoticeListProcessor.ID_TEXT_SEARCHTEXT);
  }
コード例 #2
0
 @Override
 protected void afterFooterRender() {
   super.afterFooterRender();
   new Label(headerLeftArea).setText("公告数量:");
   new Label(headerLeftArea).setText(" ");
   new Label(headerLeftArea).setID(PublishingNoticeListProcessor.ID_LABEL_COUNT);
   new Label(headerLeftArea).setText(" ");
   new Label(headerLeftArea).setText("条");
   new SSearchText2(headerRightArea).setID(PublishingNoticeListProcessor.ID_TEXT_SEARCHTEXT);
   // 新建公告
   Button addButton = new Button(footerLeftArea, JWT.APPEARANCE3);
   addButton.setID(PublishingNoticeListProcessor.ID_BUTTON_ADDNOTICE);
   addButton.setText("新建公告");
   GridData addButtonGridData = new GridData();
   addButtonGridData.widthHint = 80;
   addButtonGridData.heightHint = 30;
   addButton.setLayoutData(addButtonGridData);
 }