Package org.eclnt.ccaddons.pbc
Class CCMultiPageContainer
java.lang.Object
org.eclnt.jsfserver.pagebean.PageBean
org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase
org.eclnt.jsfserver.pagebean.component.PageBeanComponent
org.eclnt.ccaddons.pbc.CCMultiPageContainer
- 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 CCMultiPageContainer
extends org.eclnt.jsfserver.pagebean.component.PageBeanComponent
implements Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
class
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 TypeMethodDescriptionThe default closing mechanism opens up a popup when closing a page in which the user is asked if he/she really wants to close the page.The default closing mechanism opens up a popup when closing a page in which the user is asked if he/she really wants to close the page.org.eclnt.jsfserver.elements.impl.DYNAMICCONTENTBinding
Internal usage.int
getPages()
Internal usage.Internal usage.boolean
Internal usage.Internal usage.boolean
The default close mechanism for a pages is: the user presses the close icon within the titlebar, the user gets askes if to really close and the page is removed. - You may change this behavior by setting this property to false.boolean
void
void
onCloseAction
(org.eclnt.jsfserver.base.faces.event.ActionEvent event) Internal usage.void
prepare
(CCMultiPageContainer.IListener listener) void
removePage
(String pageUid) void
setDefaultClosingPopupBody
(String defaultClosingPopupBody) void
setDefaultClosingPopupTitle
(String defaultClosingPopupTitle) void
setTitlebarStyleVariant
(String value) void
setTitleOfPage
(String pageUid) void
setWithDefaultClosing
(boolean withDefaultClosing) void
setWithTitlebar
(boolean value) void
switchToPage
(String pageUid) Methods inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponent
getLit, initializePageBean, 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, 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, openModalPopup, openModelessPopup, setActualRootExpression
Methods inherited from interface org.eclnt.jsfserver.pagebean.component.IPageBeanComponent
initializePageBeanFinished, initializePageBeanPassComponent, initializePageBeanStarted, isInitialized
-
Constructor Details
-
CCMultiPageContainer
public CCMultiPageContainer() -
CCMultiPageContainer
public CCMultiPageContainer(boolean usedAsRow)
-
-
Method Details
-
getRootExpressionUsedInPage
Internal usage.- Specified by:
getRootExpressionUsedInPage
in interfaceorg.eclnt.jsfserver.pagebean.IPageBean
- Specified by:
getRootExpressionUsedInPage
in classorg.eclnt.jsfserver.pagebean.PageBean
-
getDynContent
public org.eclnt.jsfserver.elements.impl.DYNAMICCONTENTBinding getDynContent()Internal usage. -
getPages
Internal usage. -
getTitlebarStyleVariant
-
setTitlebarStyleVariant
-
getWithTitlebar
public boolean getWithTitlebar() -
setWithTitlebar
public void setWithTitlebar(boolean value) -
getWithDefaultClosing
public boolean getWithDefaultClosing()The default close mechanism for a pages is: the user presses the close icon within the titlebar, the user gets askes if to really close and the page is removed. - You may change this behavior by setting this property to false. In this case you get notified about the user wanting to close a page (seeCCMultiPageContainer.IListener
) and can react accordingly. -
setWithDefaultClosing
public void setWithDefaultClosing(boolean withDefaultClosing) -
getDefaultClosingPopupTitle
The default closing mechanism opens up a popup when closing a page in which the user is asked if he/she really wants to close the page. You may set some own title. -
setDefaultClosingPopupTitle
-
getDefaultClosingPopupBody
The default closing mechanism opens up a popup when closing a page in which the user is asked if he/she really wants to close the page. You may set some own text body. -
setDefaultClosingPopupBody
-
getNumberOfContainedPages
public int getNumberOfContainedPages() -
getTitlebarRendered
public boolean getTitlebarRendered()Internal usage. -
getTitlebarText
Internal usage. -
prepare
-
onBeforeRendering
public void onBeforeRendering()- Specified by:
onBeforeRendering
in interfaceorg.eclnt.jsfserver.pagebean.IPageBean
- Overrides:
onBeforeRendering
in classorg.eclnt.jsfserver.pagebean.PageBean
-
addPage
-
addPage
-
addPage
-
setTitleOfPage
-
removePage
-
switchToPage
-
onCloseAction
public void onCloseAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event) Internal usage.
-