public final class AbstractButtons extends Object
AbstractButtons.| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractButtons.Builder<T extends AbstractButton>
Builder implementation to build target instances of
AbstractButton. |
static class |
AbstractButtons.Charger<T extends AbstractButton>
Charger implementation to charge target instances of
AbstractButton. |
static interface |
AbstractButtons.Setup<T extends AbstractButton,S extends AbstractButtons.Setup<T,S>>
Utility interface to set up a target instance of
AbstractButton. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends AbstractButton> |
builder(Supplier<T> newTarget)
Returns a new
AbstractButtons.Builder for target instances as supplied by the given Supplier. |
static <T extends AbstractButton> |
charger(T target)
Returns a new
AbstractButtons.Charger for a given target instance. |
public static <T extends AbstractButton> AbstractButtons.Builder<T> builder(Supplier<T> newTarget)
AbstractButtons.Builder for target instances as supplied by the given Supplier.T - The final type of the target instances, at least AbstractButton.public static <T extends AbstractButton> AbstractButtons.Charger<T> charger(T target)
AbstractButtons.Charger for a given target instance.T - The final type of the target instance, at least AbstractButton.Copyright © 2025 Andreas Kluge-Kaindl, Bremen (de). All rights reserved.