Package org.eclnt.ccaddons.pbc
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic classText item that represents one communication item.Nested classes/interfaces inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponent
org.eclnt.jsfserver.pagebean.component.PageBeanComponent.ILiteralResolver, org.eclnt.jsfserver.pagebean.component.PageBeanComponent.LitMap -
Field Summary
Fields inherited from class org.eclnt.jsfserver.pagebean.PageBean
m_pageModifier -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.eclnt.jsfserver.elements.impl.ROWDYNAMICCONTENTBindingbooleanorg.eclnt.jsfserver.elements.util.TriggervoidinitializePageBean(Map<String, String> initData) voidonAddAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event) voidprepare(String by, List<CCComposedText.TextItem> textItems, CCComposedText.IListener listener) voidScrolls the text pane to the bottom.voidsetAlwaysScrollToBottom(boolean alwaysScrollToBottom) If true, the scroll pane keeping the text fragments will always scroll to the bottom when a new text item is added.voidsetEnabled(boolean enabled) voidsetNewText(String value) voidsetPaneHeight(String value) voidsetPaneWidth(String value) voidsetScrollPaneBorder(String scrollPaneBorder) voidsetScrollPaneHeight(String value) voidsetTextAreaHeight(String value) voidsetTextColorContent(String textColorContent) voidsetTextColorTitle(String textColorTitle) voidsetTextPaneBorder(String textAreaBorder) voidsetTextPaneBorderOwn(String textAreaBorderOwn) voidsetTimeZone(String value) Methods inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponent
getLit, initializePageBeanConfigItemsMethods inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase
addConfiguredByLayoutListener, findLiteralResourceName, getClassDefiningPageBean, getLayoutPath, getLiteralResolver, getPageName, initializePageBeanFinished, initializePageBeanPassComponent, initializePageBeanStarted, isInitialized, readLiteral, readLiteralByOwnResourceBundle, removeConfiguredByLayoutListener, setLiteralResolverMethods inherited from class org.eclnt.jsfserver.pagebean.PageBean
buildContentReplaceString, closePopup, getActualRootExpression, getModalModelessPopupForPopupPageBean, getPageModifier, getPopups, getStamp, initializePageModifier, onBeforeRendering, openModalPopup, openModelessPopup, pbx, readPageLayoutXML, setActualRootExpressionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclnt.jsfserver.elements.IConfiguredByLayout
addConfiguredByLayoutListener, removeConfiguredByLayoutListenerMethods inherited from interface org.eclnt.jsfserver.pagebean.IPageBean
closePopup, getActualRootExpression, getPageModifier, getPageName, getStamp, onBeforeRendering, openModalPopup, openModelessPopup, setActualRootExpressionMethods inherited from interface org.eclnt.jsfserver.pagebean.component.IPageBeanComponent
initializePageBeanFinished, initializePageBeanPassComponent, initializePageBeanStarted, isInitialized
-
Constructor Details
-
CCComposedText
public CCComposedText()
-
-
Method Details
-
getRootExpressionUsedInPage
- Specified by:
getRootExpressionUsedInPagein interfaceorg.eclnt.jsfserver.pagebean.IPageBean- Specified by:
getRootExpressionUsedInPagein classorg.eclnt.jsfserver.pagebean.PageBean
-
initializePageBean
- Specified by:
initializePageBeanin interfaceorg.eclnt.jsfserver.pagebean.component.IPageBeanComponent- Overrides:
initializePageBeanin classorg.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 itemslistener- Event listener.
-
getNewText
-
setNewText
-
getEnabled
public boolean getEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getTextAreaHeight
-
setTextAreaHeight
-
getDynTextContent
public org.eclnt.jsfserver.elements.impl.ROWDYNAMICCONTENTBinding getDynTextContent() -
getPaneHeight
-
setPaneHeight
-
getPaneWidth
-
setPaneWidth
-
getScrollPaneHeight
-
setScrollPaneHeight
-
getScrollPaneBorder
-
setScrollPaneBorder
-
getTextPaneBorder
-
setTextPaneBorder
-
getTextPaneBorderOwn
-
setTextPaneBorderOwn
-
setTimeZone
-
getTimeZone
-
getTextColorTitle
-
setTextColorTitle
-
getTextColorContent
-
setTextColorContent
-
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
-
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.
-