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 Summary

  Constructors
  Constructor
  Description
  `ActionState(String name, Icon icon, T userData)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object other)`
  `HelpLocation`
  `getHelpLocation()`
  `Icon`
  `getIcon()`
  `String`
  `getName()`
  `T`
  `getUserData()`
  `int`
  `hashCode()`
  `void`
  `setHelpLocation(HelpLocation helpLocation)`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## 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`