public class TypeNode extends Node
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ICON |
| Modifier | Constructor and Description |
|---|---|
protected |
TypeNode(Node parent,
Map attributes) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAttribute(ComposedType type,
List<String> attributes,
Node node) |
protected void |
checkCreateConditions(Node parent,
Map attributes)
Check if type is found.
|
Node |
clone(Node newParent)
This method returns a clone of the current node whichs parent node is specified by the parameter newParent.
|
Node |
cloneAll(Node newParent)
This method returns a clone subtree beginning with the current node whichs parent node is specified by the
parameter newParent, including all children as clones except the LabelCollectionNodes, which must not be cloned.
|
DefaultReferenceNode |
getDefaultReferenceNode() |
int |
getDefaultSearchResultViewMode() |
List<String> |
getDisplayedAttributes(ComposedType type) |
EditorNode |
getEditorNode()
Returns the EditorNode which is a child of the organizernode of this typenode.
|
List |
getExcludedAttributes() |
ExplorerNode |
getExplorer() |
String |
getIcon() |
String |
getName() |
OrganizerNode |
getOrganizer()
Returns the OrganizerNode which is a child of this typenode.
|
String |
getReferenceSearchAttributeName() |
ResultNode |
getResult()
Returns the ResultNode which is a child of this TypeNode.
|
SearchNode |
getSearchNode() |
ItemLayoutNode |
getSearchResultItemLayoutNode(int viewMode)
Returns the ItemLayoutDescriptor which is to be used to display (default) search results of the type this node
represents.
|
ExplorableNode |
getTreeViewExplorableNode() |
ComposedType |
getType() |
ComposedType |
getType(JaloSession jaloSession)
Deprecated.
please use method getType()
|
boolean |
isToolbarCreate() |
void |
removeReferenceFinderAttribute() |
void |
setIcon(String icon) |
void |
setName(String name) |
void |
setUseSelector(String useSelector) |
boolean |
showScrollbar(int viewMode) |
boolean |
useSelector() |
addAttribute, addChild, addChildren, getAttributes, getBooleanAttribute, getBooleanAttribute, getCachedObject, getChild, getChildren, getChildren, getChildrenInternal, getElementName, getIntegerAttribute, getIntegerAttribute, getLogger, getParent, getPosition, getPositionInfo, getStringAttribute, getStringAttribute, getSuperNode, removeAttribute, removeChild, replace, replaceChild, setAttributes, setElementName, setParent, setPosition, setPositionInfopublic static final String DEFAULT_ICON
protected TypeNode(Node parent, Map attributes) throws NodeCreationFailedException
NodeCreationFailedExceptionprotected void checkCreateConditions(Node parent, Map attributes) throws NodeCreationFailedException
checkCreateConditions 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 String getName()
public String getIcon()
public boolean useSelector()
public ItemLayoutNode getSearchResultItemLayoutNode(int viewMode)
viewMode - the view mode (see Constants.LISTMODES)public boolean showScrollbar(int viewMode)
public int getDefaultSearchResultViewMode()
public ExplorableNode getTreeViewExplorableNode()
public ResultNode getResult()
public DefaultReferenceNode getDefaultReferenceNode()
public SearchNode getSearchNode()
public ExplorerNode getExplorer()
public EditorNode getEditorNode()
getEditorNode in class Nodepublic OrganizerNode getOrganizer()
public String getReferenceSearchAttributeName()
public void removeReferenceFinderAttribute()
@Deprecated public ComposedType getType(JaloSession jaloSession)
public ComposedType getType()
public boolean isToolbarCreate()
public List<String> getDisplayedAttributes(ComposedType type)
public List getExcludedAttributes()
protected void addAttribute(ComposedType type, List<String> attributes, Node node)
public void setName(String name)
public void setIcon(String icon)
public void setUseSelector(String useSelector)
public Node clone(Node newParent)
NodeCopyright © 2017 SAP SE. All Rights Reserved.