當前位置: 首頁>>代碼示例>>Java>>正文


Java ReplyBoxViewBuilder類代碼示例

本文整理匯總了Java中org.waveprotocol.wave.client.wavepanel.view.dom.full.ReplyBoxViewBuilder的典型用法代碼示例。如果您正苦於以下問題:Java ReplyBoxViewBuilder類的具體用法?Java ReplyBoxViewBuilder怎麽用?Java ReplyBoxViewBuilder使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


ReplyBoxViewBuilder類屬於org.waveprotocol.wave.client.wavepanel.view.dom.full包,在下文中一共展示了ReplyBoxViewBuilder類的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: CssProvider

import org.waveprotocol.wave.client.wavepanel.view.dom.full.ReplyBoxViewBuilder; //導入依賴的package包/類
/** Inject all members of the tuple, split by view section. */
public CssProvider(
    BlipViewBuilder.Css blipCss,
    CollapsibleBuilder.Css collapsibleCss,
    ContinuationIndicatorViewBuilder.Css continuationIndicatorCss,
    TopConversationViewBuilder.Css conversationCss,
    ParticipantsViewBuilder.Css participantsCss,
    ReplyBoxViewBuilder.Css replyBoxCss,
    RootThreadViewBuilder.Css rootThreadCss,
    TagsViewBuilder.Css tagsCss,
    Dialog.Css dialogCss,
    DynamicRendererImpl.Css renderCss) {
  this.blipCss = blipCss;
  this.collapsibleCss = collapsibleCss;
  this.continuationIndicatorCss = continuationIndicatorCss;
  this.conversationCss = conversationCss;
  this.participantsCss = participantsCss;
  this.replyBoxCss = replyBoxCss;
  this.rootThreadCss = rootThreadCss;
  this.tagsCss = tagsCss;
  this.dialogCss = dialogCss;
  this.renderCss = renderCss;
}
 
開發者ID:jorkey,項目名稱:Wiab.pro,代碼行數:24,代碼來源:CssProvider.java

示例2: CssProvider

import org.waveprotocol.wave.client.wavepanel.view.dom.full.ReplyBoxViewBuilder; //導入依賴的package包/類
/** Inject all members of the tuple, split by view section. */
public CssProvider(BlipViewBuilder.Css blipCss,
    CollapsibleBuilder.Css collapsibleCss,
    ContinuationIndicatorViewBuilder.Css continuationIndicatorCss,
    TopConversationViewBuilder.Css conversationCss,
    ParticipantsViewBuilder.Css participantCss,
    ReplyBoxViewBuilder.Css replyBoxCss,
    RootThreadViewBuilder.Css rootThreadCss) {
  this.blipCss = blipCss;
  this.collapsibleCss = collapsibleCss;
  this.continuationIndicatorCss = continuationIndicatorCss;
  this.conversationCss = conversationCss;
  this.participantCss = participantCss;
  this.replyBoxCss = replyBoxCss;
  this.rootThreadCss = rootThreadCss;
}
 
開發者ID:apache,項目名稱:incubator-wave,代碼行數:17,代碼來源:CssProvider.java

示例3: render

import org.waveprotocol.wave.client.wavepanel.view.dom.full.ReplyBoxViewBuilder; //導入依賴的package包/類
@Override
public UiBuilder render(final ConversationThread thread,
    final IdentityMap<ConversationBlip, UiBuilder> blipUis) {
  HtmlClosure blipsUi = new HtmlClosure() {
    @Override
    public void outputHtml(SafeHtmlBuilder out) {
      for (ConversationBlip blip : thread.getBlips()) {
        UiBuilder blipUi = blipUis.get(blip);
        // Not all blips are rendered.
        if (blipUi != null) {
          blipUi.outputHtml(out);
        }
      }
    }
  };
  String threadId = viewIdMapper.threadOf(thread);
  String replyIndicatorId = viewIdMapper.replyIndicatorOf(thread);
  UiBuilder builder = null;
  if (thread.getConversation().getRootThread() == thread) {
    ReplyBoxViewBuilder replyBoxBuilder =
        ReplyBoxViewBuilder.create(replyIndicatorId);
    builder = RootThreadViewBuilder.create(threadId, blipsUi, replyBoxBuilder);
  } else {
    ContinuationIndicatorViewBuilder indicatorBuilder = ContinuationIndicatorViewBuilder.create(
        replyIndicatorId);
    InlineThreadViewBuilder inlineBuilder =
        InlineThreadViewBuilder.create(threadId, blipsUi, indicatorBuilder);
    int read = readMonitor.getReadCount(thread);
    int unread = readMonitor.getUnreadCount(thread);
    inlineBuilder.setTotalBlipCount(read + unread);
    inlineBuilder.setUnreadBlipCount(unread);
    builder = inlineBuilder;
  }
  return builder;
}
 
開發者ID:ArloJamesBarnes,項目名稱:walkaround,代碼行數:36,代碼來源:MyFullDomRenderer.java

示例4: getReplyBoxCss

import org.waveprotocol.wave.client.wavepanel.view.dom.full.ReplyBoxViewBuilder; //導入依賴的package包/類
public ReplyBoxViewBuilder.Css getReplyBoxCss() {
  return replyBoxCss;
}
 
開發者ID:jorkey,項目名稱:Wiab.pro,代碼行數:4,代碼來源:CssProvider.java


注:本文中的org.waveprotocol.wave.client.wavepanel.view.dom.full.ReplyBoxViewBuilder類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。