|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.substance.utils.SubstanceFadeUtilities
public class SubstanceFadeUtilities
Fade-related utilities.
Constructor Summary | |
---|---|
SubstanceFadeUtilities()
|
Method Summary | |
---|---|
static void |
cancelFades(java.util.Set<java.lang.Long> initiatedFadeSequences)
Cancels the specified fade sequences. |
static org.jvnet.lafwidget.animation.FadeState |
getFadeState(java.awt.Component comp,
java.lang.Comparable<?> comparable,
org.jvnet.lafwidget.animation.FadeKind... fadeKinds)
Returns the first matching fade state for the specified component. |
static org.jvnet.lafwidget.animation.FadeState |
getFadeState(java.awt.Component comp,
org.jvnet.lafwidget.animation.FadeKind... fadeKinds)
Returns the first matching fade state for the specified component. |
static org.jvnet.lafwidget.animation.FadeState |
getFadeStateWithHighestFadeCycle(org.jvnet.lafwidget.animation.FadeKind fadeKind,
java.awt.Component... comps)
Returns the highest fade cycle for the specified component and the fade kind. |
static java.awt.Component |
getTracked(org.jvnet.lafwidget.animation.FadeKind fadeKind,
java.awt.Component... comps)
Returns the component that is being tracked by the FadeTracker
with the highest value of the fade cycle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubstanceFadeUtilities()
Method Detail |
---|
public static java.awt.Component getTracked(org.jvnet.lafwidget.animation.FadeKind fadeKind, java.awt.Component... comps)
FadeTracker
with the highest value of the fade cycle.
fadeKind
- Fade kind.comps
- Components.
FadeTracker
with the highest value of the fade cycle. May be
null
.public static org.jvnet.lafwidget.animation.FadeState getFadeStateWithHighestFadeCycle(org.jvnet.lafwidget.animation.FadeKind fadeKind, java.awt.Component... comps)
fadeKind
- Fade kind.comps
- Components.
public static org.jvnet.lafwidget.animation.FadeState getFadeState(java.awt.Component comp, org.jvnet.lafwidget.animation.FadeKind... fadeKinds)
comp
- Component.fadeKinds
- A list of fade kinds. The list is scanned from the start. The
first fade kind that is currently "happening" on the specified
component will be used to fetch the fade state.
public static org.jvnet.lafwidget.animation.FadeState getFadeState(java.awt.Component comp, java.lang.Comparable<?> comparable, org.jvnet.lafwidget.animation.FadeKind... fadeKinds)
comp
- Component.comparable
- Identifier of a sub-entity.fadeKinds
- A list of fade kinds. The list is scanned from the start. The
first fade kind that is currently "happening" on the specified
component will be used to fetch the fade state.
public static void cancelFades(java.util.Set<java.lang.Long> initiatedFadeSequences)
initiatedFadeSequences
- Fade sequence IDs to cancel.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |