Class LikeButton

    • Constructor Detail

      • LikeButton

        public LikeButton()
        Default constructor. The navigation path will dynamically be determined based upon the hierarchy in which this component is installed.
      • LikeButton

        public LikeButton​(com.globalmentor.net.URIPath navigationPath)
        Navigation path constructor.
        Parameters:
        navigationPath - The navigation path, or null if the navigation path is not available.
      • LikeButton

        public LikeButton​(NavigationModel navigationModel)
        Navigation model constructor.
        Parameters:
        navigationModel - The model for retrieving the navigation path.
        Throws:
        java.lang.NullPointerException - if the given navigation model is null.
    • Method Detail

      • getNavigationModel

        protected NavigationModel getNavigationModel()
        Returns:
        The internal navigation model.
      • getNavigationPath

        public com.globalmentor.net.URIPath getNavigationPath()
        Specified by:
        getNavigationPath in interface NavigationModel
        Returns:
        The navigation path, or null if the navigation path is not available.