public class MapEditorNode extends AbstractEditorNode
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_KEYNAME |
static String |
DEFAULT_VALUENAME |
| Modifier | Constructor and Description |
|---|---|
protected |
MapEditorNode(Node parent,
Map attributes) |
| Modifier and Type | Method and Description |
|---|---|
void |
adjustEditorSettings(AbstractAttributeEditorChip theEditor)
Adjusts the settings of the editor chip according to the configuration specified in the xml file.
|
boolean |
canAdd() |
boolean |
canRemove() |
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.
|
String |
getEditorType() |
ClassConfigNode |
getKeyEditorNode()
Returns the ClassConfigNode which is a child of this node (element "keyeditor") and which contains the description
of the attribute editor chip which is to be used as the key editor.
|
String |
getKeyName() |
int |
getKeyWidth() |
ClassConfigNode |
getValueEditorNode()
Returns the ClassConfigNode which is a child of this node (element "valueeditor") and which contains the
description of the attribute editor chip which is to be used as the value editor.
|
String |
getValueName() |
getAttributeName, getParameters, getType, getTypefindTypeNode, 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 static final String DEFAULT_KEYNAME
public static final String DEFAULT_VALUENAME
protected MapEditorNode(Node parent, Map attributes) throws NodeCreationFailedException
NodeCreationFailedExceptionpublic String getEditorType()
getEditorType in class AbstractEditorNodepublic Node clone(Node newParent)
Nodepublic void adjustEditorSettings(AbstractAttributeEditorChip theEditor)
AbstractEditorNodepublic boolean canAdd()
public boolean canRemove()
public int getKeyWidth()
public String getKeyName()
public String getValueName()
public ClassConfigNode getKeyEditorNode()
public ClassConfigNode getValueEditorNode()
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 failsCopyright © 2017 SAP SE. All Rights Reserved.