Package docking.menu

Class ActionState<T>

java.lang.Object
docking.menu.ActionState<T>
Type Parameters:
T - the type of the action state

public class ActionState<T> extends 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 Details

    • ActionState

      public ActionState(String name, Icon icon, T userData)
  • Method Details

    • getName

      public String getName()
    • getIcon

      public Icon getIcon()
    • getUserData

      public T getUserData()
    • setHelpLocation

      public void setHelpLocation(HelpLocation helpLocation)
    • getHelpLocation

      public HelpLocation getHelpLocation()
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object