Class ToggleGroup

java.lang.Object
com.blackrook.gui.group.ToggleGroup

public class ToggleGroup extends Object
This is a set that describes a set of toggleable buttons that are associated in a group such that when one gets set, the others are unset.
Author:
Matthew Tropiano
  • Field Details

  • Constructor Details

    • ToggleGroup

      public ToggleGroup(GUIObject... objects)
      Creates a new ToggleGroup and binds the required actions to the objects provided.
      Parameters:
      objects - the objects to include in the group.
    • ToggleGroup

      public ToggleGroup(Iterable<GUIObject> objects)
      Creates a new ToggleGroup and binds the required actions to the objects provided.
      Parameters:
      objects - the objects to include in the group.