com.filenet.wcm.apps.server.presentation.ui
Class PathView

java.lang.Object
  extended bycom.filenet.wcm.toolkit.server.base.WcmDpContainer
      extended bycom.filenet.wcm.toolkit.server.base.WcmModule
          extended bycom.filenet.wcm.toolkit.server.base.GlobalEventModule
              extended bycom.filenet.wcm.toolkit.server.base.WcmUiModule
                  extended bycom.filenet.wcm.toolkit.server.ui.WcmAnchorList
                      extended bycom.filenet.wcm.apps.server.presentation.ui.PathView
All Implemented Interfaces:
com.filenet.wcm.toolkit.server.base.WcmModuleInterface, com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface

public class PathView
extends com.filenet.wcm.toolkit.server.ui.WcmAnchorList


Field Summary
protected  com.filenet.wcm.toolkit.server.util.ui.WcmAnchor actionAnchor
           
protected  boolean alignRight
           
protected  com.filenet.wcm.toolkit.server.util.ui.WcmIconAnchor iconAnchor
           
protected  java.lang.String pathHandler
           
protected  java.lang.String title
           
protected  java.lang.String titleCss
           
protected  com.filenet.wcm.toolkit.util.WcmString wsLabelInfo
           
protected static com.filenet.wcm.toolkit.util.WcmString wsPathHandlerTitleFormat
           
protected static com.filenet.wcm.toolkit.util.WcmString wsTitle
           
protected static com.filenet.wcm.toolkit.util.WcmString wsTitleFormat
           
 
Fields inherited from class com.filenet.wcm.toolkit.server.ui.WcmAnchorList
anchorList
 
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
locale, NAME_DELIMITER
 
Constructor Summary
PathView()
           
 
Method Summary
 com.filenet.wcm.toolkit.server.util.ui.WcmAnchor getActionAnchor()
           
 com.filenet.wcm.toolkit.server.util.ui.WcmIconAnchor getIconAnchor()
           
 com.filenet.wcm.toolkit.util.WcmString getLabelInfo()
           
 java.lang.String getPathHandler()
           
 java.lang.String getTitle()
           
 void initialize()
           
 void onStartPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void renderAnchor(java.io.Writer w, int idx, int max, com.filenet.wcm.toolkit.server.util.ui.WcmAnchor a)
           
protected  void renderClosingHTML(java.io.Writer w)
           
protected  void renderOpeningHTML(java.io.Writer w)
           
 void setActionAnchor(com.filenet.wcm.toolkit.server.util.ui.WcmAnchor actionAnchor)
           
 void setAlignRight(boolean alignRight)
          Aligns the icon anchor to the right.
 void setIcon(java.lang.String newIconURL)
          Sets the icon that is going to be displayed to the left of the anchors.
 void setIcon(java.lang.String newIconURL, java.lang.String url)
          Sets the icon that is going to be displayed to the left of the anchors.
 void setIcon(java.lang.String newIconURL, java.lang.String url, com.filenet.wcm.toolkit.util.WcmString label)
          Sets the icon that is going to be displayed to the left of the anchors.
 void setLabelInfo(com.filenet.wcm.toolkit.util.WcmString newLabelInfo)
          Sets the label information that is going to be displayed to the right of the anchors
 void setPathHandler(java.lang.String newHandler)
          Set the attributes that activate the path selection DHTML.
 void setPathTitleCssClass(java.lang.String value)
          Sets the title css class
 void setTitle(java.lang.String newTitle)
          Sets the label that is going to be displayed to the left of the anchors
 void setTitle(com.filenet.wcm.toolkit.util.WcmString newTitle)
          Sets the label that is going to be displayed to the left of the anchors
 
Methods inherited from class com.filenet.wcm.toolkit.server.ui.WcmAnchorList
addAnchor, addAnchor, addAnchor, addAnchor, addAnchor, addAnchor, clear, getAnchor, getLength, insertAnchor, removeAnchor, render
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmUiModule
getActive, getBasePath, getBaseUrl, getBaseURLBuilder, getControllerEventUrl, getControllerEventUrl, getEventFormFields, getEventFormFields, getEventFormTag, getEventFormTag, getEventUrl, getEventUrl, getEventUrl, getEventUrl, getFormName, getFormSubmitUrl, getFormSubmitUrl, getGlobalEventUrl, getGlobalEventUrl, getPageUrl, getPageUrl, getPageUrl, getPageUrl, getUiParent, peekEvent, renderJSP, routeEvent, routeEvent, serverSideInclude, serverSideInclude, setActive, setJSP
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.GlobalEventModule
subscribeGlobalEvent
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
addChild, addChild, addChild, cleanup, debugTrace, getClassProperty, getClassProperty, getClassPropertyKeys, getConfiguration, getController, getDataStore, getModuleProperty, getModuleProperty, getModuleProperty, getModuleProperty, getModulePropertyKeys, getName, getParent, getWindowProperty, getWindowProperty, persist, queryDataProvider, setClassProperty, setClassProperty, setController, setModuleProperty, setModuleProperty, setName, setParent, setPortletParent, setWindowProperty
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmDpContainer
addDataProvider, addDataProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
addDataProvider, cleanup, getDataStore, getModuleProperty, getName, getParent, persist, queryDataProvider, setController, setModuleProperty, setName, setParent
 

Field Detail

wsTitleFormat

protected static final com.filenet.wcm.toolkit.util.WcmString wsTitleFormat

wsPathHandlerTitleFormat

protected static final com.filenet.wcm.toolkit.util.WcmString wsPathHandlerTitleFormat

wsTitle

protected static final com.filenet.wcm.toolkit.util.WcmString wsTitle

title

protected java.lang.String title

wsLabelInfo

protected com.filenet.wcm.toolkit.util.WcmString wsLabelInfo

iconAnchor

protected com.filenet.wcm.toolkit.server.util.ui.WcmIconAnchor iconAnchor

actionAnchor

protected com.filenet.wcm.toolkit.server.util.ui.WcmAnchor actionAnchor

pathHandler

protected java.lang.String pathHandler

alignRight

protected boolean alignRight

titleCss

protected java.lang.String titleCss
Constructor Detail

PathView

public PathView()
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Throws:
java.lang.Exception

getTitle

public java.lang.String getTitle()

getLabelInfo

public com.filenet.wcm.toolkit.util.WcmString getLabelInfo()

getIconAnchor

public com.filenet.wcm.toolkit.server.util.ui.WcmIconAnchor getIconAnchor()

getActionAnchor

public com.filenet.wcm.toolkit.server.util.ui.WcmAnchor getActionAnchor()

setActionAnchor

public void setActionAnchor(com.filenet.wcm.toolkit.server.util.ui.WcmAnchor actionAnchor)

getPathHandler

public java.lang.String getPathHandler()

setIcon

public void setIcon(java.lang.String newIconURL)
Sets the icon that is going to be displayed to the left of the anchors. If the icon is set, the label is not displayed

Parameters:
newIconURL - url to the icon image. The image has to be 16x16 pixels

setIcon

public void setIcon(java.lang.String newIconURL,
                    java.lang.String url)
Sets the icon that is going to be displayed to the left of the anchors. If the icon is set, the label is not displayed

Parameters:
newIconURL - url to the icon image. The image has to be 16x16 pixels
url - url link.

setIcon

public void setIcon(java.lang.String newIconURL,
                    java.lang.String url,
                    com.filenet.wcm.toolkit.util.WcmString label)
Sets the icon that is going to be displayed to the left of the anchors. If the icon is set, the label is not displayed

Parameters:
newIconURL - url to the icon image. The image has to be 16x16 pixels
url - url link.
label - label for the icon.

setTitle

public void setTitle(com.filenet.wcm.toolkit.util.WcmString newTitle)
Sets the label that is going to be displayed to the left of the anchors

Parameters:
newTitle - new value of the title (as WcmString)

setTitle

public void setTitle(java.lang.String newTitle)
Sets the label that is going to be displayed to the left of the anchors

Parameters:
newTitle - new value of the title as a String

setPathTitleCssClass

public void setPathTitleCssClass(java.lang.String value)
Sets the title css class

Parameters:
value - new value of the title css class

setAlignRight

public void setAlignRight(boolean alignRight)
Aligns the icon anchor to the right.

Parameters:
alignRight -

setLabelInfo

public void setLabelInfo(com.filenet.wcm.toolkit.util.WcmString newLabelInfo)
Sets the label information that is going to be displayed to the right of the anchors

Parameters:
newLabelInfo - new value of the label information (as WcmString)

setPathHandler

public void setPathHandler(java.lang.String newHandler)
Set the attributes that activate the path selection DHTML.
Example: id='pathHandler' onmouseover='return highlightPath(this)' onmouseout='return lowlightPath(this)' oncontextmenu='return showTreeModule(event);' onclick='return showTreeModule(event);'

Parameters:
newHandler -

onStartPage

public void onStartPage(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
                 throws java.lang.Exception
Throws:
java.lang.Exception

renderOpeningHTML

protected void renderOpeningHTML(java.io.Writer w)
                          throws java.lang.Exception
Throws:
java.lang.Exception

renderClosingHTML

protected void renderClosingHTML(java.io.Writer w)
                          throws java.lang.Exception
Throws:
java.lang.Exception

renderAnchor

protected void renderAnchor(java.io.Writer w,
                            int idx,
                            int max,
                            com.filenet.wcm.toolkit.server.util.ui.WcmAnchor a)
                     throws java.lang.Exception
Throws:
java.lang.Exception


© Copyright IBM Corp. 2002, 2007. All Rights Reserved.