public class PulseTracker
extends java.lang.Object
implements java.awt.event.ActionListener
JButtons. This class
is for internal use only.| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent event) |
static long |
getCycles(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 |
isAttentionDrawingCloseButton(javax.swing.JButton jButton)
Checks whether the specified button is attention-drawing
close button of some internal frame, root pane or desktop
icon. |
static boolean |
isPulsating(javax.swing.JButton jButton)
Checks whether the specified button is pulsating.
|
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.
|
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed in interface java.awt.event.ActionListenerpublic static void update(javax.swing.JButton jButton)
jButton - Button.public static long getCycles(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 isAttentionDrawingCloseButton(javax.swing.JButton jButton)
close button of some internal frame, root pane or desktop
icon.jButton - Button.true if the specified button is close
button of some internal frame, root pane or desktop icon,
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()