public class AdvanceBooleanEditorNode extends AbstractEditorNode
AdvanceBooleanEditorChip in the XML structure.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FALSENAME |
static java.lang.String |
NULLNAME |
static java.lang.String |
TRUENAME |
static java.lang.String |
USESELECTBOX |
| Modifier | Constructor and Description |
|---|---|
protected |
AdvanceBooleanEditorNode(Node parent,
java.util.Map<java.lang.String,java.lang.String> 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.
|
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.
|
java.lang.String |
getEditorType() |
java.lang.String |
getFalseName()
Return the unlocalized name for the 'false' value.
|
java.lang.String |
getNullName()
Return the unlocalized name for the 'null' value.
|
java.lang.String |
getTrueName()
Return the unlocalized name for the 'true' value.
|
boolean |
getWrapValues()
Returns
true if the possible values should be wrapped. |
boolean |
useSelectBox()
Returns
true if the possible values should be shown in a select box. |
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 java.lang.String TRUENAME
public static final java.lang.String FALSENAME
public static final java.lang.String NULLNAME
public static final java.lang.String USESELECTBOX
protected AdvanceBooleanEditorNode(Node parent, java.util.Map<java.lang.String,java.lang.String> attributes) throws NodeCreationFailedException
NodeCreationFailedExceptionpublic java.lang.String getTrueName()
public java.lang.String getFalseName()
public java.lang.String getNullName()
public boolean getWrapValues()
true if the possible values should be wrapped.true if the possible values should be wrappedpublic boolean useSelectBox()
true if the possible values should be shown in a select box.true if the possible values should be shown in a select box.public void adjustEditorSettings(AbstractAttributeEditorChip theEditor)
AbstractEditorNodepublic java.lang.String getEditorType()
getEditorType in class AbstractEditorNodeAbstractEditorNode.getEditorType()public Node clone(Node newParent)
Nodeclone in class NodenewParent - The parent of the cloned node.Node.clone(de.hybris.platform.hmc.generic.nodes.Node)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 failsCopyright © 2017 SAP SE. All Rights Reserved.