public class AttributeNode extends TypeChildNode
SearchNode or ExplorerNode.| Constructor and Description |
|---|
AttributeNode(Node parent,
Map<String,String> attributes)
Creates a new AttributeNode with the given parent and attributes.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkCreateConditions(Node parent,
Map attributes)
This method will automatically be called during creation of this Node.
|
Node |
clone(Node newParent)
This method returns a clone of the current node whichs parent node is specified by the parameter newParent.
|
int |
getActualColumnWidth()
Returns the configured width of this attribute column as a primitive int value.
|
String |
getAttributeQualifier()
Returns the qualifier of the attribute this node is describing.
|
ClassConfigNode |
getClassConfigNode()
Returns the
ClassConfigNode which is a child of this node. |
Integer |
getColumnWidth()
Returns the width which should be used when rendering this attribute in a list.
|
String |
getFallbackName()
Returns the name of the fallback attribute if specified.
|
String |
getJsp()
Returns the name of the jsp which should render this attribute's content.
|
String |
getTitle()
Returns the title which should be used to name columns of this attribute in a list.
|
String |
getWidth()
Returns the width which should be used when rendering this attribute in a list.
|
boolean |
isSuppressRoot() |
findTypeNode, getAttributeDescriptoraddAttribute, addChild, addChildren, cloneAll, getAttributes, getBooleanAttribute, getBooleanAttribute, getCachedObject, getChild, getChildren, getChildren, getChildrenInternal, getEditorNode, getElementName, getIntegerAttribute, getIntegerAttribute, getLogger, getParent, getPosition, getPositionInfo, getStringAttribute, getStringAttribute, getSuperNode, removeAttribute, removeChild, replace, replaceChild, setAttributes, setElementName, setParent, setPosition, setPositionInfopublic AttributeNode(Node parent, Map<String,String> attributes) throws NodeCreationFailedException
parent - attributes - NodeCreationFailedExceptionpublic String getAttributeQualifier()
public String getJsp()
public String getTitle()
public String getWidth()
public Integer getColumnWidth()
getWidth() this method parses the width string and returns an Integer
object (or null if the string could not be parsed).public int getActualColumnWidth()
public ClassConfigNode getClassConfigNode()
ClassConfigNode which is a child of this node.ClassConfigNode which is a child of this node.public boolean isSuppressRoot()
protected void checkCreateConditions(Node parent, Map attributes) throws NodeCreationFailedException
NodecheckCreateConditions in class Nodeparent - the parent node as given to the constructorattributes - the attribute map as given to the constructorNodeCreationFailedException - if the creation of the node failspublic Node clone(Node newParent)
Nodepublic String getFallbackName()
Copyright © 2017 SAP SE. All Rights Reserved.