Package org.apache.ofbiz.widget.model
Class ModelTree.ModelNode.Link
java.lang.Object
org.apache.ofbiz.widget.model.ModelTree.ModelNode.Link
- Enclosing class:
- ModelTree.ModelNode
Models the <link> element.
- See Also:
-
widget-tree.xsd
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets encode.boolean
Gets full path.Gets id.Gets id exdr.getImage()
Gets image.Gets link type.Gets name.Gets name exdr.Gets parameter list.getParameterMap
(Map<String, Object> context) Gets parameter map.Gets prefix.Gets prefix exdr.boolean
Gets secure.Gets style.Gets style exdr.Gets target.Gets target exdr.getTargetWindow
(Map<String, Object> context) Gets target window.Gets target window exdr.Gets text.Gets text exdr.Gets title.Gets title exdr.Gets url mode.void
renderLinkString
(Appendable writer, Map<String, Object> context, TreeStringRenderer treeStringRenderer) Render link string.
-
Constructor Details
-
Link
-
Link
-
Link
public Link(String style, String target, String text, List<CommonWidgetModels.Parameter> parameterList)
-
-
Method Details
-
getEncode
public boolean getEncode()Gets encode.- Returns:
- the encode
-
getFullPath
public boolean getFullPath()Gets full path.- Returns:
- the full path
-
getId
Gets id.- Parameters:
context
- the context- Returns:
- the id
-
getImage
Gets image.- Returns:
- the image
-
getLinkType
Gets link type.- Returns:
- the link type
-
getName
Gets name.- Parameters:
context
- the context- Returns:
- the name
-
getParameterMap
Gets parameter map.- Parameters:
context
- the context- Returns:
- the parameter map
-
getPrefix
Gets prefix.- Parameters:
context
- the context- Returns:
- the prefix
-
getSecure
public boolean getSecure()Gets secure.- Returns:
- the secure
-
getStyle
Gets style.- Parameters:
context
- the context- Returns:
- the style
-
getTarget
Gets target.- Parameters:
context
- the context- Returns:
- the target
-
getTargetWindow
Gets target window.- Parameters:
context
- the context- Returns:
- the target window
-
getText
Gets text.- Parameters:
context
- the context- Returns:
- the text
-
getTitle
Gets title.- Parameters:
context
- the context- Returns:
- the title
-
getUrlMode
Gets url mode.- Returns:
- the url mode
-
renderLinkString
public void renderLinkString(Appendable writer, Map<String, Object> context, TreeStringRenderer treeStringRenderer) Render link string.- Parameters:
writer
- the writercontext
- the contexttreeStringRenderer
- the tree string renderer
-
getIdExdr
Gets id exdr.- Returns:
- the id exdr
-
getNameExdr
Gets name exdr.- Returns:
- the name exdr
-
getParameterList
Gets parameter list.- Returns:
- the parameter list
-
getPrefixExdr
Gets prefix exdr.- Returns:
- the prefix exdr
-
getStyleExdr
Gets style exdr.- Returns:
- the style exdr
-
getTargetExdr
Gets target exdr.- Returns:
- the target exdr
-
getTargetWindowExdr
Gets target window exdr.- Returns:
- the target window exdr
-
getTextExdr
Gets text exdr.- Returns:
- the text exdr
-
getTitleExdr
Gets title exdr.- Returns:
- the title exdr
-