|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.substance.utils.PulseTracker
public class PulseTracker
Tracker for pulsating (default and focused) JButton
s. This class
is for internal use only.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
public 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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |