Class AnimationFacet
- java.lang.Object
-
- org.pushingpixels.lafwidget.animation.AnimationFacet
-
public final class AnimationFacet extends Object
Animation facet.
-
-
Field Summary
Fields Modifier and Type Field Description static AnimationFacet
ARM
Arming a component.protected String
displayName
Animation facet display name.static AnimationFacet
FOCUS
Focusing a component.static AnimationFacet
FOCUS_LOOP_ANIMATION
Focus loop animation.static AnimationFacet
GHOSTING_BUTTON_PRESS
Ghosting image effects on buttons when the button is pressed.static AnimationFacet
GHOSTING_ICON_ROLLOVER
Ghosting image effects on button icons when the button is rolled-over.static AnimationFacet
ICON_GLOW
Glow effect on icons when the relevant control is rolled over.static AnimationFacet
PRESS
Pressing a component.static AnimationFacet
ROLLOVER
Rollover a component.static AnimationFacet
SELECTION
Selecting a component.
-
Constructor Summary
Constructors Constructor Description AnimationFacet(String displayName, boolean isDefaultAllowed)
Creates a new animation facet.
-
-
-
Field Detail
-
displayName
protected String displayName
Animation facet display name.
-
ARM
public static final AnimationFacet ARM
Arming a component.
-
PRESS
public static final AnimationFacet PRESS
Pressing a component.
-
FOCUS
public static final AnimationFacet FOCUS
Focusing a component.
-
FOCUS_LOOP_ANIMATION
public static final AnimationFacet FOCUS_LOOP_ANIMATION
Focus loop animation. Disabled by default, use
AnimationConfigurationManager.allowAnimations(AnimationFacet)
to enable.- Since:
- version 3.0
-
ROLLOVER
public static final AnimationFacet ROLLOVER
Rollover a component.
-
SELECTION
public static final AnimationFacet SELECTION
Selecting a component.
-
GHOSTING_ICON_ROLLOVER
public static final AnimationFacet GHOSTING_ICON_ROLLOVER
Ghosting image effects on button icons when the button is rolled-over. Disabled by default, useAnimationConfigurationManager.allowAnimations(AnimationFacet)
to enable.
-
GHOSTING_BUTTON_PRESS
public static final AnimationFacet GHOSTING_BUTTON_PRESS
Ghosting image effects on buttons when the button is pressed. Disabled by default, useAnimationConfigurationManager.allowAnimations(AnimationFacet)
to enable.
-
ICON_GLOW
public static final AnimationFacet ICON_GLOW
Glow effect on icons when the relevant control is rolled over. Disabled by default, useAnimationConfigurationManager.allowAnimations(AnimationFacet)
to enable.
-
-
Constructor Detail
-
AnimationFacet
public AnimationFacet(String displayName, boolean isDefaultAllowed)
Creates a new animation facet.- Parameters:
displayName
- Display name for the animation facet.isDefaultAllowed
- Indicates whether this animation facet is allowed by default.
-
-