Class NtkmeGitHubButton

    • Constructor Detail

      • NtkmeGitHubButton

        public NtkmeGitHubButton()
      • NtkmeGitHubButton

        public NtkmeGitHubButton​(String repo,
                                 String user)
    • Method Detail

      • setType

        public void setType​(NtkmeGitHubButtonType type)
        Sets the button's type. Type can be 'star, follow, watch, fork, issue, download'. Default value 'star'.
        Parameters:
        type - the type of the button
      • setStandardIcon

        public void setStandardIcon​(boolean standardIcon)
        Sets whether to use the github logo instead of other icons
        Parameters:
        standardIcon - is true shows standard github logo
      • isStandardIcon

        public boolean isStandardIcon()
        Returns:
        boolean return if the standardIcon is displayed