Class ToggleAction

    • Constructor Detail

      • ToggleAction

        public ToggleAction()
        Defines an Action object with a default description string and default icon.
      • ToggleAction

        public ToggleAction​(String name)
        Defines an Action object with the specified description string and a default icon.
        Parameters:
        name - the description
      • ToggleAction

        public ToggleAction​(String name,
                            Icon icon)
        Defines an Action object with the specified description string and a the specified icon.
        Parameters:
        name - the description
        icon - the icon
      • ToggleAction

        public ToggleAction​(String name,
                            String icon)
        Defines an Action object with the specified description string and a the specified icon.
        Parameters:
        name - the description
        icon - the icon file (without path)