public class AttributeNode extends TypeChildNode
SearchNode or ExplorerNode.| Constructor and Description |
|---|
AttributeNode(Node parent,
java.util.Map<java.lang.String,java.lang.String> attributes)
Creates a new AttributeNode with the given parent and attributes.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkCreateConditions(Node parent,
java.util.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.
|
java.lang.String |
getAttributeQualifier()
Returns the qualifier of the attribute this node is describing.
|
ClassConfigNode |
getClassConfigNode()
Returns the
ClassConfigNode which is a child of this node. |
java.lang.Integer |
getColumnWidth()
Returns the width which should be used when rendering this attribute in a list.
|
java.lang.String |
getFallbackName()
Returns the name of the fallback attribute if specified.
|
java.lang.String |
getJsp()
Returns the name of the jsp which should render this attribute's content.
|
java.lang.String |
getTitle()
Returns the title which should be used to name columns of this attribute in a list.
|
java.lang.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, java.util.Map<java.lang.String,java.lang.String> attributes) throws NodeCreationFailedException
parent - attributes - NodeCreationFailedExceptionpublic java.lang.String getAttributeQualifier()
public java.lang.String getJsp()
public java.lang.String getTitle()
public java.lang.String getWidth()
public java.lang.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, java.util.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 java.lang.String getFallbackName()
Copyright © 2017 SAP SE. All Rights Reserved.