Package | Description |
---|---|
org.jvnet.lafwidget | |
org.jvnet.lafwidget.animation | |
org.jvnet.lafwidget.animation.effects | |
org.jvnet.lafwidget.layout | |
org.jvnet.lafwidget.tabbed |
Modifier and Type | Method and Description |
---|---|
static boolean |
LafWidgetUtilities.hasNoFades(java.awt.Component comp,
FadeKind fadeKind)
Checks whether the specified fade kind has no animations on the specified
component.
|
Modifier and Type | Field and Description |
---|---|
static FadeKind |
FadeKind.ARM
Arming a component.
|
static FadeKind |
FadeKind.ENABLE
Enabling a component.
|
FadeKind |
FadeState.fadeKind
Fade animation kind.
|
static FadeKind |
FadeKind.FOCUS
Focusing a component.
|
static FadeKind |
FadeKind.FOCUS_LOOP_ANIMATION
Fade kind for focus loop animation.
|
static FadeKind |
FadeKind.GHOSTING_BUTTON_PRESS
Fade kind that specifies the "ghosting image" effects on buttons when the
button is pressed.
|
static FadeKind |
FadeKind.GHOSTING_ICON_ROLLOVER
Fade kind that specifies the "ghosting image" effects on button icons
when the button is rolled-over.
|
static FadeKind |
FadeKind.ICON_GLOW
Fade kind that specifies the "glow" effects on icons when the relevant
control is rolled over.
|
static FadeKind |
FadeKind.PRESS
Pressing a component.
|
static FadeKind |
FadeKind.ROLLOVER
Rollover a component.
|
static FadeKind |
FadeKind.SELECTION
Selecting a component.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<FadeKind,java.lang.Boolean> |
FadeStateListener.prevStateMap
Key -
FadeKind , value - Boolean |
protected java.util.Set<FadeKind> |
FadeStateListener.toIgnore
A set of fade kinds to ignore.
|
Modifier and Type | Method and Description |
---|---|
void |
FadeConfigurationManager.allowFades(FadeKind fadeKind)
Allows fade of the specified kind on all controls.
|
void |
FadeConfigurationManager.allowFades(FadeKind fadeKind,
java.lang.Class<?> clazz)
Allows fade of the specified kind on all controls of specified class.
|
void |
FadeConfigurationManager.allowFades(FadeKind fadeKind,
java.lang.Class<?>[] clazz)
Allows fade of the specified kind on all controls of specified classes.
|
void |
FadeConfigurationManager.allowFades(FadeKind fadeKind,
java.awt.Component comp)
Allows fade of the specified kind on the specified control.
|
void |
FadeConfigurationManager.disallowFades(FadeKind fadeKind)
Disallows fade of the specified kind on all controls.
|
void |
FadeConfigurationManager.disallowFades(FadeKind fadeKind,
java.lang.Class<?> clazz)
Disallows fade of the specified kind on all controls of specified class.
|
void |
FadeConfigurationManager.disallowFades(FadeKind fadeKind,
java.lang.Class<?>[] clazz)
Disallows fade of the specified kind on all controls of specified
classes.
|
void |
FadeConfigurationManager.disallowFades(FadeKind fadeKind,
java.awt.Component comp)
Disallows fade of the specified kind on the specified control.
|
boolean |
FadeConfigurationManager.fadeAllowed(FadeKind fadeKind,
java.awt.Component comp)
Checks whether the specified fade kind is allowed on the specified
component.
|
void |
GlobalFadeTrackerCallback.fadeEnded(java.awt.Component comp,
java.lang.Comparable<?> subID,
FadeKind fadeKind)
Indicates that the fade sequence has ended.
|
void |
FadeTrackerCallback.fadeEnded(FadeKind fadeKind)
Indicates that the fade sequence has ended.
|
void |
FadeTrackerAdapter.fadeEnded(FadeKind fadeKind) |
void |
GlobalFadeTrackerCallback.fadePerformed(java.awt.Component comp,
java.lang.Comparable<?> subID,
FadeKind fadeKind,
float fadeCycle)
Indicates that a single cycle of fade has been performed.
|
void |
FadeTrackerCallback.fadePerformed(FadeKind fadeKind,
float fadeCycle)
Indicates that a single cycle of fade has been performed.
|
void |
FadeTrackerAdapter.fadePerformed(FadeKind fadeKind,
float fadeCycle) |
void |
GlobalFadeTrackerCallback.fadeReversed(java.awt.Component comp,
java.lang.Comparable<?> subID,
FadeKind fadeKind,
boolean isFadingIn,
float fadeCycle)
Indicates that the fade sequence has been reversed.
|
void |
FadeTrackerCallback.fadeReversed(FadeKind fadeKind,
boolean isFadingIn,
float fadeCycle)
Indicates that the fade sequence has been reversed.
|
void |
FadeTrackerAdapter.fadeReversed(FadeKind fadeKind,
boolean isFadingIn,
float fadeCycle) |
void |
GlobalFadeTrackerCallback.fadeStarted(java.awt.Component comp,
java.lang.Comparable<?> subID,
FadeKind fadeKind,
float initialFadeCycle)
Indicates that the fade sequence has started.
|
java.util.Set<java.awt.Component> |
FadeTracker.getAllComponentsByFadeKind(FadeKind fadeKind)
Returns all components that are currently under the specified fade kind.
|
float |
FadeTracker.getFade(java.awt.Component comp,
java.lang.Comparable<?> componentId,
FadeKind fadeKind)
Returns the fade cycle for the specified component.
|
float |
FadeTracker.getFade(java.awt.Component comp,
FadeKind fadeKind)
Returns the fade cycle for the specified component.
|
float |
FadeTracker.getFade(java.awt.Component comp,
int componentId,
FadeKind fadeKind)
Returns the fade cycle for the specified component.
|
FadeState |
FadeTracker.getFadeState(java.awt.Component comp,
java.lang.Comparable<?> componentId,
FadeKind fadeKind)
Returns the fade state of specified component if it's being tracked by
this tracker or null . |
FadeState |
FadeTracker.getFadeState(java.awt.Component comp,
FadeKind fadeKind)
Returns the fade state of specified component if it's being tracked by
this tracker or null . |
FadeState |
FadeTracker.getFadeState(java.awt.Component comp,
int componentId,
FadeKind fadeKind)
Returns the fade state of specified component if it's being tracked by
this tracker or null . |
float |
FadeDecelerationStep.getNextStep(FadeKind fadeKind,
float currFadePosition,
boolean isFadeIn,
boolean isLooping) |
float |
FadeAccelerationStep.getNextStep(FadeKind fadeKind,
float currFadePosition,
boolean isFadeIn,
boolean isLooping) |
float |
FadeStep.getNextStep(FadeKind fadeKind,
float currFadePosition,
boolean isFadeIn,
boolean isLooping)
Returns the next fade cycle step.
|
float |
FadeConstantStep.getNextStep(FadeKind fadeKind,
float currFadePosition,
boolean isFadeIn,
boolean isLooping) |
boolean |
FadeTracker.isTracked(java.awt.Component comp,
java.lang.Comparable<?> componentId,
FadeKind fadeKind)
Checks whether the specified component is being tracked by
this tracker. |
boolean |
FadeTracker.isTracked(java.awt.Component comp,
java.lang.Comparable<?> componentId,
FadeKind fadeKind,
boolean checkFadeIn)
Checks whether the specified component is being tracked by
this tracker. |
boolean |
FadeTracker.isTracked(java.awt.Component comp,
FadeKind fadeKind)
Checks whether the specified component is being tracked by
this tracker. |
boolean |
FadeTracker.isTracked(java.awt.Component comp,
int componentId,
FadeKind fadeKind)
Checks whether the specified component is being tracked by
this tracker. |
long |
FadeTracker.trackFade(java.awt.Component comp,
FadeKind fadeKind,
boolean isFadeIn,
boolean toRepaintParent)
Requests start of fade tracking on the specified component.
|
long |
FadeTracker.trackFade(java.awt.Component comp,
FadeKind fadeKind,
boolean isFadeIn,
boolean toRepaintParent,
FadeTrackerCallback callback)
Requests start of fade tracking on the specified component.
|
long |
FadeTracker.trackFadeIn(FadeKind fadeKind,
java.awt.Component comp,
boolean toRepaintParent,
FadeTrackerCallback callback)
Requests start of fade-in tracking on the specified component.
|
long |
FadeTracker.trackFadeIn(FadeKind fadeKind,
java.awt.Component comp,
java.lang.Comparable<?> componentId,
boolean toRepaintParent,
FadeTrackerCallback callback)
Requests start of fade-in tracking on the specified component.
|
long |
FadeTracker.trackFadeIn(FadeKind fadeKind,
java.awt.Component comp,
java.lang.Comparable<?> componentId,
boolean toRepaintParent,
FadeTrackerCallback callback,
LafConstants.AnimationKind aKind)
Requests start of fade-in tracking on the specified component.
|
long |
FadeTracker.trackFadeIn(FadeKind fadeKind,
java.awt.Component comp,
int componentId,
boolean toRepaintParent,
FadeTrackerCallback callback)
Requests start of fade-in tracking on the specified component.
|
long |
FadeTracker.trackFadeLooping(FadeKind fadeKind,
LafConstants.AnimationKind animationKind,
java.awt.Component comp,
java.lang.Comparable<?> componentId,
boolean toRepaintParent,
FadeTrackerCallback callback,
int loopCount,
boolean isLoopingReverse)
Requests start of looping fade tracking on the specified component.
|
long |
FadeTracker.trackFadeOut(FadeKind fadeKind,
java.awt.Component comp,
boolean toRepaintParent,
FadeTrackerCallback callback)
Requests start of fade-out tracking on the specified component.
|
long |
FadeTracker.trackFadeOut(FadeKind fadeKind,
java.awt.Component comp,
java.lang.Comparable<?> componentId,
boolean toRepaintParent,
FadeTrackerCallback callback)
Requests start of fade-out tracking on the specified component.
|
long |
FadeTracker.trackFadeOut(FadeKind fadeKind,
java.awt.Component comp,
java.lang.Comparable<?> componentId,
boolean toRepaintParent,
FadeTrackerCallback callback,
LafConstants.AnimationKind aKind)
Requests start of fade-out tracking on the specified component.
|
long |
FadeTracker.trackFadeOut(FadeKind fadeKind,
java.awt.Component comp,
int componentId,
boolean toRepaintParent,
FadeTrackerCallback callback)
Requests start of fade-out tracking on the specified component.
|
protected void |
FadeStateListener.trackModelChange(FadeKind fadeKind,
boolean newValue,
boolean toRepaintParent)
Tracks a single change to the model.
|
Constructor and Description |
---|
FadeState(FadeKind fadeKind,
float fadePosition,
boolean isFadingIn,
boolean toRepaintParent)
Simple constructor.
|
Constructor and Description |
---|
FadeStateListener(java.awt.Component comp,
java.lang.Comparable<?> extraKey,
javax.swing.ButtonModel buttonModel,
FadeTrackerCallback callback,
java.util.Set<FadeKind> toIgnore)
Creates a new listener on model changes that can cause fade animation
transitions.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<FadeKind,java.lang.Boolean> |
IconGlowListener.prevStateMap
Key -
FadeKind , value - Boolean |
protected java.util.Map<FadeKind,java.lang.Boolean> |
GhostingListener.prevStateMap
Key -
FadeKind , value - Boolean |
Modifier and Type | Method and Description |
---|---|
protected void |
IconGlowListener.trackModelChange(FadeKind fadeKind,
boolean newState)
Tracks a single change to the model.
|
protected void |
GhostingListener.trackModelChange(FadeKind fadeKind,
boolean newState)
Tracks a single change to the model.
|
Modifier and Type | Field and Description |
---|---|
static FadeKind |
TransitionLayout.COMPONENT_BOUNDS
Fade kind for animating the change in component bounds.
|
static FadeKind |
TransitionLayout.COMPONENT_FADE
Fade kind for animating the change in component visibility.
|
Modifier and Type | Field and Description |
---|---|
static FadeKind |
TabPagerManager.HIDE_TAB_PAGER_FADE_KIND
Fade kind for hiding the tab pager.
|