Package org.eclnt.ccaddons.pbc
Class CCLaunchPad
java.lang.Object
org.eclnt.jsfserver.pagebean.PageBean
org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase
org.eclnt.jsfserver.pagebean.component.PageBeanComponent
org.eclnt.ccaddons.pbc.CCLaunchPad
- 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 CCLaunchPad
extends org.eclnt.jsfserver.pagebean.component.PageBeanComponent
implements Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceNormal listener which must be implemented and passed via prepare method.static interfaceExtended listener: if implementing this listener then the persistence is no done by the launch pad itself but is expected to done on listener's side.classclassNested 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 TypeMethodDescriptioncreateNewSection(String title) createNewSection(String title, boolean editable) booleanbooleanintExtracts the current launch pad status.Extracts the current launch pad status as XML string.booleanintintorg.eclnt.jsfserver.pagebean.IPageBeangetTilePageBean(String tileUid) Returns the page bean that is rendered inside the tile.intintvoidinitializePageBean(Map<String, String> initData) voidonCancelAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event) voidonDeleteAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event) voidonEditModeAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event) voidonNewSectionAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event) voidonSaveAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event) voidprepare(String persistId, String[] tileTypes, CCLaunchPad.IListener listener) voidremoveTile(String tileUid) Remove a tile from the launch pad.voidsave()Save current configuration.voidsetBackground(String value) voidsetColdistance(int value) voidsetEditBackground(String editBackground) voidsetEditFieldBackground(String value) voidsetEditFieldForeground(String value) voidvoidsetEditOverlayAreaBounds(String value) voidvoidsetEditOverlayAreaVisible(boolean value) voidsetPadding(String padding) voidsetRowdistance(int value) voidsetSectionFont(String value) voidsetSectionRemoveIcon(String value) voidsetSectionTitleBackground(String sectionTitleBackground) voidsetSectionTitleForeground(String value) voidsetTileHeight(int value) voidsetTileRemoveIcon(String value) voidsetTileRounding(int value) voidsetTileWidth(int value) voidupdateLaunchpad(String xml) voidupdateLaunchpad(LaunchPadInfo info) voidMethods 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
-
CCLaunchPad
public CCLaunchPad()
-
-
Method Details
-
getRootExpressionUsedInPage
- Specified by:
getRootExpressionUsedInPagein interfaceorg.eclnt.jsfserver.pagebean.IPageBean- Specified by:
getRootExpressionUsedInPagein classorg.eclnt.jsfserver.pagebean.PageBean
-
prepare
- Parameters:
persistId- Passing a persistId will invoke the reading/saving of the launch pad from persistent storage. The persistent storage either is running internally (using theIStreamStorepersistence) or - when passing an implementation ofCCLaunchPad.IListenerWithPersistenceis outsourced to you.tileTypes-listener- "Normal" implementation: pass instance of typeCCLaunchPad.IListener. In case of taking over persistence on your own, pass instance of typeCCLaunchPad.IListenerWithPersistence.
-
initializePageBean
- Specified by:
initializePageBeanin interfaceorg.eclnt.jsfserver.pagebean.component.IPageBeanComponent- Overrides:
initializePageBeanin classorg.eclnt.jsfserver.pagebean.component.PageBeanComponent
-
getEditOverlayAreaBackground
-
setEditOverlayAreaBackground
-
getEditOverlayAreaBounds
-
setEditOverlayAreaBounds
-
getEditOverlayAreaBoundsAnchor
-
setEditOverlayAreaBoundsAnchor
-
getEditOverlayAreaVisible
public boolean getEditOverlayAreaVisible() -
setEditOverlayAreaVisible
public void setEditOverlayAreaVisible(boolean value) -
getSections
-
getBoolEditMode
public boolean getBoolEditMode() -
getBoolNOTEditMode
public boolean getBoolNOTEditMode() -
getEditBackground
-
setEditBackground
-
getEditFieldBackground
-
setEditFieldBackground
-
getEditFieldForeground
-
setEditFieldForeground
-
getPersistId
-
getBackground
-
setBackground
-
getTileRemoveIcon
-
setTileRemoveIcon
-
getSectionTitleForeground
-
setSectionTitleForeground
-
getPadding
-
setPadding
-
getRowdistance
public int getRowdistance() -
setRowdistance
public void setRowdistance(int value) -
getColdistance
public int getColdistance() -
setColdistance
public void setColdistance(int value) -
getTileRounding
public int getTileRounding() -
setTileRounding
public void setTileRounding(int value) -
getSectionFont
-
setSectionFont
-
getSectionBackground
-
getTileHeight
public int getTileHeight() -
setTileHeight
public void setTileHeight(int value) -
getTileWidth
public int getTileWidth() -
setTileWidth
public void setTileWidth(int value) -
getSectionTitleBackground
-
setSectionTitleBackground
-
getSectionRemoveIcon
-
setSectionRemoveIcon
-
onDeleteAction
public void onDeleteAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event) -
getDeleteDropReceive
-
onNewSectionAction
public void onNewSectionAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event) -
onEditModeAction
public void onEditModeAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event) -
onSaveAction
public void onSaveAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event) -
onCancelAction
public void onCancelAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event) -
createNewSection
-
createNewSection
-
removeTile
Remove a tile from the launch pad. -
getTilePageBean
Returns the page bean that is rendered inside the tile. -
save
public void save()Save current configuration. -
updateLaunchPad
public void updateLaunchPad() -
updateLaunchpad
-
updateLaunchpad
-
getCurrentLaunchPadInfo
Extracts the current launch pad status. -
getCurrentLaunchPadInfoAsXML
Extracts the current launch pad status as XML string.
-