Package docking.menu

Class ActionState<T>

  • Type Parameters:
    T - the type of the action state

    public class ActionState<T>
    extends java.lang.Object
    Note: this class overrides the equals(Object) and relies upon the equals method of the userData object. Thus, if it is important that equals work for you in the non-standard identity way, then you must override equals in your user data objects.
    • Constructor Detail

      • ActionState

        public ActionState​(java.lang.String name,
                           javax.swing.Icon icon,
                           T userData)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getIcon

        public javax.swing.Icon getIcon()
      • getUserData

        public T getUserData()
      • setHelpLocation

        public void setHelpLocation​(HelpLocation helpLocation)
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object