Class CycleButton<T>

Type Parameters:
T - the type of objects to cycle through
All Implemented Interfaces:
Serializable, LayoutElement, Positionable

public final class CycleButton<T> extends AbstractButton

Represents a Button with multiple states.

Clicking on the button cycles through the states forwards. Holding down Alt while doing this will cycle through the states backwards.

Important: The types specified must be serializable, otherwise it will throw an error.
See Also: