|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.icesoft.faces.component.tree.IceUserObject
com.logicaldoc.web.navigation.PageContentBean
public class PageContentBean
The PageContentBean class is responsible for holding state information which will allow a TreeNavigation and NavigationBean display dynamic content.
Field Summary |
---|
Fields inherited from class com.icesoft.faces.component.tree.IceUserObject |
---|
action, branchContractedIcon, branchExpandedIcon, expanded, icon, leaf, leafIcon, text, tooltip, treeNode, wrapper |
Constructor Summary | |
---|---|
PageContentBean()
|
|
PageContentBean(long menuId)
|
|
PageContentBean(long menuId,
java.lang.String template)
|
|
PageContentBean(com.logicaldoc.core.security.Menu menu)
|
|
PageContentBean(java.lang.String contentName)
|
|
PageContentBean(java.lang.String contentName,
java.lang.String template)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getContentName()
Gets the template name to display in the showcase.jspx. |
java.lang.String |
getContentTitle()
Get the text to be displayed as the content title. |
java.lang.String |
getDisplayText()
Gets the menu display text. |
java.lang.String |
getIcon()
|
com.logicaldoc.core.security.Menu |
getMenu()
|
long |
getMenuId()
|
NavigationBean |
getNavigationSelection()
Gets the navigation callback. |
java.lang.String |
getTemplate()
|
boolean |
isPageContent()
Does the node contain content. |
void |
onSelect(javax.faces.event.ActionEvent event)
Item selection handler |
void |
setContentName(java.lang.String templateName)
Sets the template name to be displayed when selected in tree. |
void |
setContentTitle(java.lang.String menuContentTitle)
Sets the menu content title. |
void |
setDisplayText(java.lang.String menuDisplayText)
Sets the text to be displayed in the menu. |
void |
setIcon(java.lang.String icon)
|
void |
setMenu(com.logicaldoc.core.security.Menu menu)
|
void |
setMenuId(long menuId)
|
void |
setNavigationSelection(NavigationBean navigationBean)
Sets the navigation callback. |
void |
setPageContent(boolean pageContent)
Sets the page content. |
void |
setTemplate(java.lang.String menuContentInclusionFile)
This is necessary for the Facelets version of component-showcase. |
java.lang.String |
toString()
|
Methods inherited from class com.icesoft.faces.component.tree.IceUserObject |
---|
action, getAction, getBranchContractedIcon, getBranchExpandedIcon, getFamily, getLeafIcon, getRowIndex, getText, getTooltip, getTreeNode, getWrapper, isExpanded, isLeaf, setAction, setBranchContractedIcon, setBranchExpandedIcon, setExpanded, setLeaf, setLeafIcon, setRowIndex, setText, setTooltip, setTreeNode, setWrapper |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PageContentBean(long menuId)
public PageContentBean(long menuId, java.lang.String template)
public PageContentBean(java.lang.String contentName)
public PageContentBean(java.lang.String contentName, java.lang.String template)
public PageContentBean()
public PageContentBean(com.logicaldoc.core.security.Menu menu)
Method Detail |
---|
public NavigationBean getNavigationSelection()
public void setNavigationSelection(NavigationBean navigationBean)
navigationBean
- controls selected panel state.public java.lang.String getContentName()
public void setContentName(java.lang.String templateName)
contentName
- valid panel name in showcase.jspxpublic java.lang.String getDisplayText()
public void setDisplayText(java.lang.String menuDisplayText)
displayText
- menu text to displaypublic java.lang.String getContentTitle()
public void setContentTitle(java.lang.String menuContentTitle)
contentTitle
- menu content title name.public java.lang.String getTemplate()
public void setTemplate(java.lang.String menuContentInclusionFile)
template
- The server-side path to the file to be includedpublic boolean isPageContent()
public void setPageContent(boolean pageContent)
pageContent
- True if the page contains content; otherwise, false.public com.logicaldoc.core.security.Menu getMenu()
public long getMenuId()
public void setMenu(com.logicaldoc.core.security.Menu menu)
public void setMenuId(long menuId)
public java.lang.String getIcon()
getIcon
in class com.icesoft.faces.component.tree.IceUserObject
public void setIcon(java.lang.String icon)
public void onSelect(javax.faces.event.ActionEvent event)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class com.icesoft.faces.component.tree.IceUserObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |