Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buypublic interface AnimationsRegistry
| Modifier and Type | Method and Description |
|---|---|
Optional<AnimationPhase> |
getPhaseById(PhaseType type,
String id)
Retrieves an
Optional of an AnimationPhase based on the given phase type and id. |
Collection<AnimationPhase> |
getPhases(PhaseType type)
Retrieves all phases associated with a specific phase type.
|
void |
registerPhase(AnimationPhase phaseType)
Registers a phase into the lookup table.
|
void |
unregisterPhase(AnimationPhase phaseType)
Unregisters a phase from the lookup table.
|
void registerPhase(AnimationPhase phaseType)
phaseType - The phase to be registered.void unregisterPhase(AnimationPhase phaseType)
phaseType - The phase to be unregistered.Collection<AnimationPhase> getPhases(PhaseType type)
type - The type of phase to retrieve.Optional<AnimationPhase> getPhaseById(PhaseType type, String id)
Optional of an AnimationPhase based on the given phase type and id.
This method searches through the registry and returns the matching phase if found, otherwise it returns an empty Optional.type - The PhaseType to filter the animation phases by.id - The id of the animation phase to retrieve.Optional containing the AnimationPhase if found, or an empty Optional if not found.
Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buy