|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GlobalFadeTrackerCallback
Global callback for the fade tracker. Is used when the application wishes to execute some code on the fade.
Method Summary | |
---|---|
void |
fadeEnded(java.awt.Component comp,
java.lang.Comparable<?> subID,
FadeKind fadeKind)
Indicates that the fade sequence has ended. |
void |
fadePerformed(java.awt.Component comp,
java.lang.Comparable<?> subID,
FadeKind fadeKind,
float fadeCycle)
Indicates that a single cycle of fade has been performed. |
void |
fadeReversed(java.awt.Component comp,
java.lang.Comparable<?> subID,
FadeKind fadeKind,
boolean isFadingIn,
float fadeCycle)
Indicates that the fade sequence has been reversed. |
void |
fadeStarted(java.awt.Component comp,
java.lang.Comparable<?> subID,
FadeKind fadeKind,
float initialFadeCycle)
Indicates that the fade sequence has started. |
Method Detail |
---|
void fadePerformed(java.awt.Component comp, java.lang.Comparable<?> subID, FadeKind fadeKind, float fadeCycle)
comp
- Component for the fade event.subID
- Optional ID of the subcomponent of the fade event. May be
null
. Is non-null
when fade events
can happen on different visual areas of the same top-level
component. For example, each tab in a tabbed pane has its own
fade sequence for rollovers.fadeKind
- Fade animation kind.fadeCycle
- The current fade cycle. Is guaranteed to be in 0.0-1.0 range.void fadeStarted(java.awt.Component comp, java.lang.Comparable<?> subID, FadeKind fadeKind, float initialFadeCycle)
comp
- Component for the fade event.subID
- Optional ID of the subcomponent of the fade event. May be
null
. Is non-null
when fade events
can happen on different visual areas of the same top-level
component. For example, each tab in a tabbed pane has its own
fade sequence for rollovers.fadeKind
- Fade animation kind.initialFadeCycle
- The initial value for the fade cycle. Will be in 0.0-1.0 range.void fadeEnded(java.awt.Component comp, java.lang.Comparable<?> subID, FadeKind fadeKind)
comp
- Component for the fade event.subID
- Optional ID of the subcomponent of the fade event. May be
null
. Is non-null
when fade events
can happen on different visual areas of the same top-level
component. For example, each tab in a tabbed pane has its own
fade sequence for rollovers.fadeKind
- Fade animation kind.void fadeReversed(java.awt.Component comp, java.lang.Comparable<?> subID, FadeKind fadeKind, boolean isFadingIn, float fadeCycle)
comp
- Component for the fade event.subID
- Optional ID of the subcomponent of the fade event. May be
null
. Is non-null
when fade events
can happen on different visual areas of the same top-level
component. For example, each tab in a tabbed pane has its own
fade sequence for rollovers.fadeKind
- Fade animation kind.isFadingIn
- Indicates the new direction of fade.fadeCycle
- Indicates the new value of fade cycle. Will be in 0.0-1.0
range.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |