public class NavigationBarComponentModel extends SimpleCMSComponentModel
Deprecated since 6.2, please use NavigationComponent instead. It represents navigation bar component that contains cms navigation node. Nodes structure can be built in a hierarchical way.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
DROPDOWNLAYOUT
Generated constant - Attribute key of
NavigationBarComponent.dropDownLayout attribute defined at extension acceleratorcms. |
static java.lang.String |
LINK
Generated constant - Attribute key of
NavigationBarComponent.link attribute defined at extension acceleratorcms. |
static java.lang.String |
NAVIGATIONNODE
Generated constant - Attribute key of
NavigationBarComponent.navigationNode attribute defined at extension acceleratorcms. |
static java.lang.String |
STYLECLASS
Generated constant - Attribute key of
NavigationBarComponent.styleClass attribute defined at extension acceleratorcms. |
static java.lang.String |
WRAPAFTER
Generated constant - Attribute key of
NavigationBarComponent.wrapAfter attribute defined at extension acceleratorcms. |
_ELEMENTSFORCONTAINER, CONTAINERS_ELEMENTSFORSLOT, ACTIONS, CONTAINER, ONLYONERESTRICTIONMUSTAPPLY, RESTRICTED, RESTRICTIONS, SLOTS, TYPE, TYPECODE, VISIBLECATALOGVERSION, NAME, UID_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
NavigationBarComponentModel()
Generated constructor - Default constructor for generic creation.
|
NavigationBarComponentModel(CatalogVersionModel _catalogVersion,
CMSLinkComponentModel _link,
ItemModel _owner,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
NavigationBarComponentModel(CatalogVersionModel _catalogVersion,
CMSLinkComponentModel _link,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
NavigationBarComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
NavigationBarMenuLayout |
getDropDownLayout()
Generated method - Getter of the
NavigationBarComponent.dropDownLayout attribute defined at extension acceleratorcms. |
CMSLinkComponentModel |
getLink()
Generated method - Getter of the
NavigationBarComponent.link attribute defined at extension acceleratorcms. |
CMSNavigationNodeModel |
getNavigationNode()
Generated method - Getter of the
NavigationBarComponent.navigationNode attribute defined at extension acceleratorcms. |
java.lang.String |
getStyleClass()
Generated method - Getter of the
NavigationBarComponent.styleClass attribute defined at extension acceleratorcms. |
java.lang.Integer |
getWrapAfter()
Generated method - Getter of the
NavigationBarComponent.wrapAfter attribute defined at extension acceleratorcms. |
void |
setDropDownLayout(NavigationBarMenuLayout value)
Generated method - Setter of
NavigationBarComponent.dropDownLayout attribute defined at extension acceleratorcms. |
void |
setLink(CMSLinkComponentModel value)
Generated method - Setter of
NavigationBarComponent.link attribute defined at extension acceleratorcms. |
void |
setNavigationNode(CMSNavigationNodeModel value)
Generated method - Setter of
NavigationBarComponent.navigationNode attribute defined at extension acceleratorcms. |
void |
setStyleClass(java.lang.String value)
Generated method - Setter of
NavigationBarComponent.styleClass attribute defined at extension acceleratorcms. |
void |
setWrapAfter(java.lang.Integer value)
Generated method - Setter of
NavigationBarComponent.wrapAfter attribute defined at extension acceleratorcms. |
getContainers, setContainersgetActions, getRestrictions, getSlots, getType, getType, getTypeCode, getVisible, isContainer, isOnlyOneRestrictionMustApply, isRestricted, setActions, setOnlyOneRestrictionMustApply, setRestrictions, setSlots, setVisiblegetCatalogVersion, getName, getUid, setCatalogVersion, setName, setUidgetComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerequals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String DROPDOWNLAYOUT
NavigationBarComponent.dropDownLayout attribute defined at extension acceleratorcms.public static final java.lang.String NAVIGATIONNODE
NavigationBarComponent.navigationNode attribute defined at extension acceleratorcms.public static final java.lang.String WRAPAFTER
NavigationBarComponent.wrapAfter attribute defined at extension acceleratorcms.public static final java.lang.String LINK
NavigationBarComponent.link attribute defined at extension acceleratorcms.public static final java.lang.String STYLECLASS
NavigationBarComponent.styleClass attribute defined at extension acceleratorcms.public NavigationBarComponentModel()
public NavigationBarComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public NavigationBarComponentModel(CatalogVersionModel _catalogVersion, CMSLinkComponentModel _link, java.lang.String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_link - initial attribute declared by type NavigationBarComponent at extension acceleratorcms_uid - initial attribute declared by type CMSItem at extension cms2@Deprecated public NavigationBarComponentModel(CatalogVersionModel _catalogVersion, CMSLinkComponentModel _link, ItemModel _owner, java.lang.String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_link - initial attribute declared by type NavigationBarComponent at extension acceleratorcms_owner - initial attribute declared by type Item at extension core_uid - initial attribute declared by type CMSItem at extension cms2@Accessor(qualifier="dropDownLayout", type=GETTER) public NavigationBarMenuLayout getDropDownLayout()
NavigationBarComponent.dropDownLayout attribute defined at extension acceleratorcms.@Accessor(qualifier="link", type=GETTER) public CMSLinkComponentModel getLink()
NavigationBarComponent.link attribute defined at extension acceleratorcms.@Accessor(qualifier="navigationNode", type=GETTER) public CMSNavigationNodeModel getNavigationNode()
NavigationBarComponent.navigationNode attribute defined at extension acceleratorcms.@Accessor(qualifier="styleClass", type=GETTER) public java.lang.String getStyleClass()
NavigationBarComponent.styleClass attribute defined at extension acceleratorcms.@Accessor(qualifier="wrapAfter", type=GETTER) public java.lang.Integer getWrapAfter()
NavigationBarComponent.wrapAfter attribute defined at extension acceleratorcms.@Accessor(qualifier="dropDownLayout", type=SETTER) public void setDropDownLayout(NavigationBarMenuLayout value)
NavigationBarComponent.dropDownLayout attribute defined at extension acceleratorcms.value - the dropDownLayout - Determines the way navigation drop down is positioned.@Accessor(qualifier="link", type=SETTER) public void setLink(CMSLinkComponentModel value)
NavigationBarComponent.link attribute defined at extension acceleratorcms.value - the link - The cms link component that is attached to this bar component.@Accessor(qualifier="navigationNode", type=SETTER) public void setNavigationNode(CMSNavigationNodeModel value)
NavigationBarComponent.navigationNode attribute defined at extension acceleratorcms.value - the navigationNode - The cms navigation node of this navigation bar component.@Accessor(qualifier="styleClass", type=SETTER) public void setStyleClass(java.lang.String value)
NavigationBarComponent.styleClass attribute defined at extension acceleratorcms.value - the styleClass - CSS style class of this bar component.@Accessor(qualifier="wrapAfter", type=SETTER) public void setWrapAfter(java.lang.Integer value)
NavigationBarComponent.wrapAfter attribute defined at extension acceleratorcms.value - the wrapAfter - Determines the number of navigation nodes when the following elements will be wrapped.Copyright © 2018 SAP SE. All Rights Reserved.