| Modifier and Type | Class and Description |
|---|---|
| private static record |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final Map | |
| private final Map | |
| private static final Logger | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| public void | applyHighlight(@Nullable WalkthroughEffect
The highlight configuration to apply. Default to BackdropHighlight on the primary windows if null. config, @NonNull Scene The primary scene to apply the highlight to. scene, @Nullable Node The fallback target node to use if no highlight configuration is provided. fallbackTarget)Applies the specified highlight configuration. |
| private void | |
| private Map | computeNewEffects(@Nullable WalkthroughEffect config, @NonNull Scene fallbackWindow, @Nullable Node fallbackTarget)
|
| public void | |
| public void | |
| private void | diffEffects(Map<Window, WalkthroughHighlighter.
|
| private Spotlight | |
| private FullScreenDarken | |
| private Ping | |
| private static void | logMissingPane(Window window)
A highlight is decoration: a window that cannot host the pane still gets its step, just without the effect. |
| private void |
| backdropHighlights | back to summary |
|---|---|
| private final Map<Window, Spotlight> backdropHighlights | |
| currentEffects | back to summary |
|---|---|
| private final Map<Window, WalkthroughHighlighter. | |
| fullScreenDarkens | back to summary |
|---|---|
| private final Map<Window, FullScreenDarken> fullScreenDarkens | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| pulseIndicators | back to summary |
|---|---|
| private final Map<Window, Ping> pulseIndicators | |
| WalkthroughHighlighter | back to summary |
|---|---|
| public WalkthroughHighlighter() | |
| applyBackdropHighlight | back to summary |
|---|---|
| private void applyBackdropHighlight(@NonNull Window window, @NonNull Node targetNode) | |
| applyEffect | back to summary |
|---|---|
| private void applyEffect(@NonNull Window window, @NonNull HighlightEffect effect, @Nullable Node targetNode) | |
| applyFullScreenDarken | back to summary |
|---|---|
| private void applyFullScreenDarken(@NonNull Window window) | |
| applyHighlight | back to summary |
|---|---|
| public void applyHighlight(@Nullable WalkthroughEffect config, @NonNull Scene scene, @Nullable Node fallbackTarget) Applies the specified highlight configuration.
| |
| applyPulseAnimation | back to summary |
|---|---|
| private void applyPulseAnimation(@NonNull Window window, @NonNull Node targetNode) | |
| computeNewEffects | back to summary |
|---|---|
| private Map | |
| detach | back to summary |
|---|---|
| public void detach(@NonNull Window window) Sets a handler to be called when the user clicks on backdrop or darkened areas. | |
| detachAll | back to summary |
|---|---|
| public void detachAll() Detaches all effects from all windows. See | |
| diffEffects | back to summary |
|---|---|
| private void diffEffects(Map<Window, WalkthroughHighlighter. | |
| getOrCreateBackdropHighlight | back to summary |
|---|---|
| private Spotlight getOrCreateBackdropHighlight(@NonNull Window window, @NonNull WalkthroughPane pane) | |
| getOrCreateFullScreenDarken | back to summary |
|---|---|
| private FullScreenDarken getOrCreateFullScreenDarken(@NonNull Window window, @NonNull WalkthroughPane pane) | |
| getOrCreatePulseIndicator | back to summary |
|---|---|
| private Ping getOrCreatePulseIndicator(@NonNull Window window, @NonNull WalkthroughPane pane) | |
| logMissingPane | back to summary |
|---|---|
| private static void logMissingPane(Window window) A highlight is decoration: a window that cannot host the pane still gets its step, just without the effect. | |
| updateExistingEffect | back to summary |
|---|---|
| private void updateExistingEffect(@NonNull Window window, @NonNull WalkthroughHighlighter. | |
| Modifier and Type | Field and Description |
|---|---|
| private final HighlightEffect | |
| private final @Nullable Node | targetNode
Record Component accessed by targetNode(). |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | |
| public HighlightEffect | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public @Nullable Node | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| effect | back to summary |
|---|---|
| private final HighlightEffect effect Record Component accessed by effect(). | |
| targetNode | back to summary |
|---|---|
| private final @Nullable Node targetNode Record Component accessed by targetNode(). | |
| EffectState | back to summary |
|---|---|
| private EffectState(HighlightEffect effect, @Nullable Node targetNode) | |
| canTransitionTo | back to summary |
|---|---|
| pack-priv boolean canTransitionTo(WalkthroughHighlighter. | |
| effect | back to summary |
|---|---|
| public HighlightEffect effect() Record Component getter of effect. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| targetNode | back to summary |
|---|---|
| public @Nullable Node targetNode() Record Component getter of targetNode. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |