public class AdvanceBooleanEditorNode extends AbstractEditorNode
AdvanceBooleanEditorChip in the XML structure.| Modifier and Type | Field and Description |
|---|---|
static String |
FALSENAME |
static String |
NULLNAME |
static String |
TRUENAME |
static String |
USESELECTBOX |
| Modifier | Constructor and Description |
|---|---|
protected |
AdvanceBooleanEditorNode(Node parent,
Map<String,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,
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() |
String |
getFalseName()
Return the unlocalized name for the 'false' value.
|
String |
getNullName()
Return the unlocalized name for the 'null' value.
|
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 String TRUENAME
public static final String FALSENAME
public static final String NULLNAME
public static final String USESELECTBOX
protected AdvanceBooleanEditorNode(Node parent, Map<String,String> attributes) throws NodeCreationFailedException
NodeCreationFailedExceptionpublic String getTrueName()
public String getFalseName()
public 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 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, 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.