Class CCComposedText

java.lang.Object
org.eclnt.jsfserver.pagebean.PageBean
org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase
org.eclnt.jsfserver.pagebean.component.PageBeanComponent
org.eclnt.ccaddons.pbc.CCComposedText
All Implemented Interfaces:
Serializable, org.eclnt.jsfserver.elements.IConfiguredByLayout, org.eclnt.jsfserver.pagebean.component.IPageBeanComponent, org.eclnt.jsfserver.pagebean.IPageBean, org.eclnt.jsfserver.util.valuemgmt.IDynamicContentBindingObject

public class CCComposedText extends org.eclnt.jsfserver.pagebean.component.PageBeanComponent implements Serializable
See Also:
  • Constructor Details

    • CCComposedText

      public CCComposedText()
  • Method Details

    • getRootExpressionUsedInPage

      public String getRootExpressionUsedInPage()
      Specified by:
      getRootExpressionUsedInPage in interface org.eclnt.jsfserver.pagebean.IPageBean
      Specified by:
      getRootExpressionUsedInPage in class org.eclnt.jsfserver.pagebean.PageBean
    • initializePageBean

      public void initializePageBean(Map<String,String> initData)
      Specified by:
      initializePageBean in interface org.eclnt.jsfserver.pagebean.component.IPageBeanComponent
      Overrides:
      initializePageBean in class org.eclnt.jsfserver.pagebean.component.PageBeanComponent
    • prepare

      public void prepare(String by, List<CCComposedText.TextItem> textItems, CCComposedText.IListener listener)
      Parameters:
      by - Person that is currently looking onto the text items.
      textItems - Chronology of text items
      listener - Event listener.
    • getNewText

      public String getNewText()
    • setNewText

      public void setNewText(String value)
    • getEnabled

      public boolean getEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getTextAreaHeight

      public String getTextAreaHeight()
    • setTextAreaHeight

      public void setTextAreaHeight(String value)
    • getDynTextContent

      public org.eclnt.jsfserver.elements.impl.ROWDYNAMICCONTENTBinding getDynTextContent()
    • getPaneHeight

      public String getPaneHeight()
    • setPaneHeight

      public void setPaneHeight(String value)
    • getPaneWidth

      public String getPaneWidth()
    • setPaneWidth

      public void setPaneWidth(String value)
    • getScrollPaneHeight

      public String getScrollPaneHeight()
    • setScrollPaneHeight

      public void setScrollPaneHeight(String value)
    • getScrollPaneBorder

      public String getScrollPaneBorder()
    • setScrollPaneBorder

      public void setScrollPaneBorder(String scrollPaneBorder)
    • getTextPaneBorder

      public String getTextPaneBorder()
    • setTextPaneBorder

      public void setTextPaneBorder(String textAreaBorder)
    • getTextPaneBorderOwn

      public String getTextPaneBorderOwn()
    • setTextPaneBorderOwn

      public void setTextPaneBorderOwn(String textAreaBorderOwn)
    • setTimeZone

      public void setTimeZone(String value)
    • getTimeZone

      public String getTimeZone()
    • getTextColorTitle

      public String getTextColorTitle()
    • setTextColorTitle

      public void setTextColorTitle(String textColorTitle)
    • getTextColorContent

      public String getTextColorContent()
    • setTextColorContent

      public void setTextColorContent(String textColorContent)
    • getTriggerScrollToBottom

      public org.eclnt.jsfserver.elements.util.Trigger getTriggerScrollToBottom()
    • setAlwaysScrollToBottom

      public void setAlwaysScrollToBottom(boolean alwaysScrollToBottom)
      If true, the scroll pane keeping the text fragments will always scroll to the bottom when a new text item is added. Default is false.
    • getAlwaysScrollToBottom

      public boolean getAlwaysScrollToBottom()
    • getTextItems

      public List<CCComposedText.TextItem> getTextItems()
    • onAddAction

      public void onAddAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
    • scrollToBottom

      public void scrollToBottom()
      Scrolls the text pane to the bottom. This is useful if new text items are added and the user wants to see them immediately. - Only works if #setAlwaysScrollToBottom(boolean) is set to true.