Package org.apache.ofbiz.widget.model
Class ModelTree.ModelNode
- java.lang.Object
-
- org.apache.ofbiz.widget.model.ModelWidget
-
- org.apache.ofbiz.widget.model.ModelTree.ModelNode
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ModelTree
public static class ModelTree.ModelNode extends ModelWidget
Models the <node> element.- See Also:
widget-tree.xsd
, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ModelTree.ModelNode.Image
Models the <image> element.static class
ModelTree.ModelNode.Label
Models the <label> element.static class
ModelTree.ModelNode.Link
Models the <link> element.static class
ModelTree.ModelNode.ModelSubNode
Models the <sub-node> element.
-
Field Summary
-
Fields inherited from class org.apache.ofbiz.widget.model.ModelWidget
enableBoundaryCommentsParam, module
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelWidgetVisitor visitor)
java.util.List<ModelAction>
getActions()
ModelTreeCondition
getCondition()
java.lang.String
getEntityName()
java.lang.String
getEntryName()
java.lang.String
getExpandCollapseStyle()
ModelTree.ModelNode.Label
getLabel()
ModelTree.ModelNode.Link
getLink()
ModelTree
getModelTree()
java.lang.String
getPkName()
java.lang.String
getPkName(java.util.Map<java.lang.String,java.lang.Object> context)
java.lang.String
getRenderStyle()
FlexibleStringExpander
getScreenLocationExdr()
FlexibleStringExpander
getScreenNameExdr()
java.lang.String
getShareScope()
java.util.List<ModelTree.ModelNode.ModelSubNode>
getSubNodeList()
java.lang.String
getWrapStyle(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getWrapStyleExdr()
boolean
hasChildren(java.util.Map<java.lang.String,java.lang.Object> context)
boolean
isExpandCollapse()
boolean
isFollowTrail()
boolean
isRootNode()
void
renderNodeString(java.lang.Appendable writer, java.util.Map<java.lang.String,java.lang.Object> context, TreeStringRenderer treeStringRenderer, int depth)
boolean
showPeers(int currentDepth, java.util.Map<java.lang.String,java.lang.Object> context)
-
Methods inherited from class org.apache.ofbiz.widget.model.ModelWidget
getBoundaryCommentName, getName, getStartColumn, getStartLine, getSystemId, toString, widgetBoundaryCommentsEnabled
-
-
-
-
Constructor Detail
-
ModelNode
public ModelNode(org.w3c.dom.Element nodeElement, ModelTree modelTree)
-
-
Method Detail
-
accept
public void accept(ModelWidgetVisitor visitor) throws java.lang.Exception
- Specified by:
accept
in classModelWidget
- Throws:
java.lang.Exception
-
getEntityName
public java.lang.String getEntityName()
-
getEntryName
public java.lang.String getEntryName()
-
getExpandCollapseStyle
public java.lang.String getExpandCollapseStyle()
-
getModelTree
public ModelTree getModelTree()
-
getPkName
public java.lang.String getPkName(java.util.Map<java.lang.String,java.lang.Object> context)
-
getRenderStyle
public java.lang.String getRenderStyle()
-
getWrapStyle
public java.lang.String getWrapStyle(java.util.Map<java.lang.String,java.lang.Object> context)
-
hasChildren
public boolean hasChildren(java.util.Map<java.lang.String,java.lang.Object> context)
-
isExpandCollapse
public boolean isExpandCollapse()
-
isFollowTrail
public boolean isFollowTrail()
-
isRootNode
public boolean isRootNode()
-
renderNodeString
public void renderNodeString(java.lang.Appendable writer, java.util.Map<java.lang.String,java.lang.Object> context, TreeStringRenderer treeStringRenderer, int depth) throws java.io.IOException, GeneralException
- Throws:
java.io.IOException
GeneralException
-
showPeers
public boolean showPeers(int currentDepth, java.util.Map<java.lang.String,java.lang.Object> context)
-
getActions
public java.util.List<ModelAction> getActions()
-
getCondition
public ModelTreeCondition getCondition()
-
getLabel
public ModelTree.ModelNode.Label getLabel()
-
getLink
public ModelTree.ModelNode.Link getLink()
-
getPkName
public java.lang.String getPkName()
-
getScreenLocationExdr
public FlexibleStringExpander getScreenLocationExdr()
-
getScreenNameExdr
public FlexibleStringExpander getScreenNameExdr()
-
getShareScope
public java.lang.String getShareScope()
-
getSubNodeList
public java.util.List<ModelTree.ModelNode.ModelSubNode> getSubNodeList()
-
getWrapStyleExdr
public FlexibleStringExpander getWrapStyleExdr()
-
-