public class ResourcePathControl2 extends WcmBaseControl
BLANK_LINK_TARGET, CELL_PADDING_STANDARD, CELL_SPACING_STANDARD, CONTROL_HEADER_STANDARD, DETAILS_CONFIG_FILE, NONE, RES_BUTTON_ADD, RES_BUTTON_APPLY, RES_BUTTON_BACK, RES_BUTTON_CANCEL, RES_BUTTON_CLOSE, RES_BUTTON_LOAD, RES_BUTTON_MORE, RES_BUTTON_OK, RES_BUTTON_REMOVE, RES_BUTTON_SAVE, RES_BUTTON_SELECT, RES_BUTTON_UPDATE, resourceContext, SUMMARY
Constructor and Description |
---|
ResourcePathControl2() |
Modifier and Type | Method and Description |
---|---|
com.sapportals.wdf.stack.Control |
getController()
Get the Controller attribute of the ResourcePathControl2 object.
|
String |
getDifferential()
Get the Differential attribute of the ResourcePathControl2 object.
|
String |
getHandler()
Get the Handler attribute of the ResourcePathControl2 object.
|
boolean |
getImageVisible()
Get the imageVisible attribute of the ResourcePathControl2 object.
|
String |
getPathUri()
Get the Uri attribute of the ResourcePathControl2 object.
|
String |
getRootName()
Get the RootName attribute of the ResourcePathControl2 object.
|
String |
getStartUri()
Get the StartUri attribute of the ResourcePathControl2 object.
|
boolean |
isItemsClickable()
Get the ItemsClickable attribute of the ResourcePathControl2 object.
|
boolean |
isLastItemClickable()
Get the LastItemClickable attribute of the ResourcePathControl2 object.
|
boolean |
isVirtualRootMode()
Get the ListMode attribute of the ResourcePathControl2 object.
|
com.sapportals.wdf.event.WdfEvent |
onDefaultClick(com.sapportals.htmlb.event.Event event)
Default onClick Handler.
|
com.sapportals.htmlb.Component |
render()
Renders RID as path.
|
void |
setController(com.sapportals.wdf.stack.Control controller)
Controller which is responsible to handle click event.
|
void |
setDifferential(String differential)
Set the Differential attribute of the ResourcePathControl2 object.
|
void |
setHandler(String handler)
Handler which is responsible to handle click event.
|
void |
setImageVisible(boolean imageVisible)
Set the ImageVisible attribute of the ResourcePathControl2 object.
|
void |
setItemsClickable(boolean itemsClickable)
Makes all items clickable.
|
void |
setLastItemClickable(boolean lastItemClickable)
Makes the last path item clickable.
|
void |
setPathUri(String pathUri)
Set the Uri attribute of the ResourcePathControl2 object as String type.
|
void |
setRootName(String rootName)
Changes the name of the virtual root ("/").
|
void |
setStartUri(String startUri)
If null the path starts with the root.
|
void |
setVirtualRootMode(boolean virtualRootMode)
In virtual root mode the uri of the root is null.
|
getBaseBundleString, getBaseBundleString, getBaseBundleString, getBaseBundleString, getBundleString, getBundleString, getBundleString, getBundleString, getBusinessCardLink, getImage, getParameterConfiguration, getResourceContext, getServicePageUri, handleException, isSection508Rendering, isTestMode, isVisible, readInputData, setControlContext, setResourceContext, setTestMode, setVisible
create, create, createNestedControls, createUnequivocallyComponentId, dispatchHtmlbEvent, dispatchWdfEvent, getControlContext, getDynPage, getID, getParent, getPersistenceComponentManager, getRootControl, getStackId, initialize, initializeImpl, isInitialized, register, renderPersistentProperties, resetNestedControls, restorePersistentProperties, restoreProperties, setID, setInitialized, setParent, setStackId, triggerInput
public void setDifferential(String differential)
differential
- - The new Differential valuepublic void setImageVisible(boolean imageVisible)
imageVisible
- - The Image before the pathpublic void setVirtualRootMode(boolean virtualRootMode)
virtualRootMode
- The new VirtualRootMode valuepublic void setPathUri(String pathUri)
pathUri
- The new PathUri valuepublic void setLastItemClickable(boolean lastItemClickable)
lastItemClickable
- The new LastItemClickable valuepublic void setItemsClickable(boolean itemsClickable)
itemsClickable
- The new LastItemClickable valuepublic void setStartUri(String startUri)
startUri
- The new StartUri valuepublic void setRootName(String rootName)
rootName
- The new RootName valuepublic void setController(com.sapportals.wdf.stack.Control controller)
controller
- The new Controller valuepublic void setHandler(String handler)
handler
- The new Handler valuepublic String getDifferential()
public boolean getImageVisible()
public boolean isVirtualRootMode()
public String getPathUri()
public boolean isLastItemClickable()
public boolean isItemsClickable()
public String getStartUri()
public String getRootName()
public com.sapportals.wdf.stack.Control getController()
public String getHandler()
public com.sapportals.htmlb.Component render() throws com.sapportals.wdf.WdfException
render
in class com.sapportals.wdf.stack.Control
com.sapportals.wdf.WdfException
- Exception raised in failure situation
Precondition: Class properties must be valid.
public com.sapportals.wdf.event.WdfEvent onDefaultClick(com.sapportals.htmlb.event.Event event)
event
- HTMLB eventAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice