|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pushingpixels.trident.callback.TimelineCallbackAdapter
org.pushingpixels.trident.callback.UIThreadTimelineCallbackAdapter
org.pushingpixels.substance.internal.animation.RootPaneDefaultButtonTracker
public class RootPaneDefaultButtonTracker
Tracker for pulsating (default and focused) JButton
s. This class
is for internal use only.
Method Summary | |
---|---|
static float |
getTimelinePosition(javax.swing.JButton jButton)
Retrieves the current cycle count for the specified button. |
static boolean |
isAnimating(javax.swing.JButton jButton)
Retrieves the animation state for the specified button. |
static boolean |
isPulsating(javax.swing.JButton jButton)
Checks whether the specified button is pulsating. |
void |
onTimelinePulse(float durationFraction,
float timelinePosition)
|
void |
onTimelineStateChanged(org.pushingpixels.trident.Timeline.TimelineState oldState,
org.pushingpixels.trident.Timeline.TimelineState newState,
float durationFraction,
float timelinePosition)
|
static void |
stopAllTimers()
Stops all timers. |
static void |
update(javax.swing.JButton jButton)
Updates the state of the specified button which must be a default button in some window. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void onTimelineStateChanged(org.pushingpixels.trident.Timeline.TimelineState oldState, org.pushingpixels.trident.Timeline.TimelineState newState, float durationFraction, float timelinePosition)
onTimelineStateChanged
in interface org.pushingpixels.trident.callback.TimelineCallback
onTimelineStateChanged
in class org.pushingpixels.trident.callback.TimelineCallbackAdapter
public void onTimelinePulse(float durationFraction, float timelinePosition)
onTimelinePulse
in interface org.pushingpixels.trident.callback.TimelineCallback
onTimelinePulse
in class org.pushingpixels.trident.callback.TimelineCallbackAdapter
public static void update(javax.swing.JButton jButton)
jButton
- Button.public static float getTimelinePosition(javax.swing.JButton jButton)
jButton
- Button.
public static boolean isAnimating(javax.swing.JButton jButton)
jButton
- Button.
true
if the specified button is being animated,
false
otherwise.public static boolean isPulsating(javax.swing.JButton jButton)
jButton
- Button.
true
if the specified button is pulsating,
false
otherwise.public static void stopAllTimers()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |