public class AttributeChipNode extends TypeChildNode implements ChipCreator
| Modifier | Constructor and Description |
|---|---|
protected |
AttributeChipNode(Node parent,
Map<String,String> 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.
|
AttributeChip |
createAttributeChip(DisplayState displayState,
Chip parent,
String editorTypeCode,
Class customEditorClass) |
Chip |
createChip(DisplayState displayState,
Chip parent) |
String |
getAttributeName() |
protected String |
getDescriptionAttributeName() |
protected boolean |
getEditable() |
boolean |
getHideLabel() |
int |
getLabelWidth() |
int |
getMaxLength() |
Type |
getType(JaloSession jaloSession) |
int |
getWidth() |
String |
toString() |
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, setPositionInfoprotected AttributeChipNode(Node parent, Map<String,String> attributes) throws NodeCreationFailedException
NodeCreationFailedExceptionpublic AttributeChip createAttributeChip(DisplayState displayState, Chip parent, String editorTypeCode, Class customEditorClass)
public Chip createChip(DisplayState displayState, Chip parent)
createChip in interface ChipCreatorpublic String getAttributeName()
public int getWidth()
public int getLabelWidth()
public int getMaxLength()
public boolean getHideLabel()
protected boolean getEditable()
public Type getType(JaloSession jaloSession) throws JaloItemNotFoundException
JaloItemNotFoundExceptionprotected 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)
Nodeprotected String getDescriptionAttributeName()
Copyright © 2017 SAP SE. All Rights Reserved.