Class ButtonSet

java.lang.Object
com.ardorcraft.control.ButtonSet

public class ButtonSet extends Object
  • Field Details

    • keys

      public TreeSet<Key> keys
      The set of keys in the set.
    • mouseButtons

      public TreeSet<MouseButton> mouseButtons
      The set of mouse buttons in the set.
  • Constructor Details

    • ButtonSet

      public ButtonSet()
      Default constructor just creates an empty set.
    • ButtonSet

      public ButtonSet(ButtonSet... buttonSets)
      Create a union of a number of button sets.
      Parameters:
      buttonSets - The buttonsets to combine
    • ButtonSet

      public ButtonSet(Collection<ButtonSet> buttonSets)
      Constructs a set containing the union of the sets passed in.
      Parameters:
      buttonSets - The sets to combine.