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 interface
static class
Text 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 TypeMethodDescriptionboolean
org.eclnt.jsfserver.elements.impl.ROWDYNAMICCONTENTBinding
boolean
org.eclnt.jsfserver.elements.util.Trigger
void
initializePageBean
(Map<String, String> initData) void
onAddAction
(org.eclnt.jsfserver.base.faces.event.ActionEvent event) void
prepare
(String by, List<CCComposedText.TextItem> textItems, CCComposedText.IListener listener) void
Scrolls the text pane to the bottom.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.void
setEnabled
(boolean enabled) void
setNewText
(String value) void
setPaneHeight
(String value) void
setPaneWidth
(String value) void
setScrollPaneBorder
(String scrollPaneBorder) void
setScrollPaneHeight
(String value) void
setTextAreaHeight
(String value) void
setTextColorContent
(String textColorContent) void
setTextColorTitle
(String textColorTitle) void
setTextPaneBorder
(String textAreaBorder) void
setTextPaneBorderOwn
(String textAreaBorderOwn) void
setTimeZone
(String value) Methods inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponent
getLit, initializePageBeanConfigItems
Methods inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase
addConfiguredByLayoutListener, findLiteralResourceName, getClassDefiningPageBean, getLayoutPath, getLiteralResolver, getPageName, initializePageBeanFinished, initializePageBeanPassComponent, initializePageBeanStarted, isInitialized, readLiteral, readLiteralByOwnResourceBundle, removeConfiguredByLayoutListener, setLiteralResolver
Methods inherited from class org.eclnt.jsfserver.pagebean.PageBean
buildContentReplaceString, closePopup, getActualRootExpression, getModalModelessPopupForPopupPageBean, getPageModifier, getPopups, getStamp, initializePageModifier, onBeforeRendering, openModalPopup, openModelessPopup, pbx, readPageLayoutXML, setActualRootExpression
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclnt.jsfserver.elements.IConfiguredByLayout
addConfiguredByLayoutListener, removeConfiguredByLayoutListener
Methods inherited from interface org.eclnt.jsfserver.pagebean.IPageBean
closePopup, getActualRootExpression, getPageModifier, getPageName, getStamp, onBeforeRendering, openModalPopup, openModelessPopup, setActualRootExpression
Methods inherited from interface org.eclnt.jsfserver.pagebean.component.IPageBeanComponent
initializePageBeanFinished, initializePageBeanPassComponent, initializePageBeanStarted, isInitialized
-
Constructor Details
-
CCComposedText
public CCComposedText()
-
-
Method Details
-
getRootExpressionUsedInPage
- Specified by:
getRootExpressionUsedInPage
in interfaceorg.eclnt.jsfserver.pagebean.IPageBean
- Specified by:
getRootExpressionUsedInPage
in classorg.eclnt.jsfserver.pagebean.PageBean
-
initializePageBean
- Specified by:
initializePageBean
in interfaceorg.eclnt.jsfserver.pagebean.component.IPageBeanComponent
- Overrides:
initializePageBean
in 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.
-