Package org.jdesktop.swingx.plaf.basic
Class BasicBusyLabelUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.LabelUI
-
- javax.swing.plaf.basic.BasicLabelUI
-
- org.jdesktop.swingx.plaf.basic.BasicBusyLabelUI
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener
,java.util.EventListener
,BusyLabelUI
public class BasicBusyLabelUI extends javax.swing.plaf.basic.BasicLabelUI implements BusyLabelUI
Base implementation of theJXBusyLabel
UI.
-
-
Constructor Summary
Constructors Constructor Description BasicBusyLabelUI(JXBusyLabel lbl)
Creates a new instance of BasicBusyLabelUI
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static javax.swing.plaf.ComponentUI
createUI(javax.swing.JComponent c)
BusyPainter
getBusyPainter(java.awt.Dimension dim)
int
getDelay()
Delay between moving from one point to another.-
Methods inherited from class javax.swing.plaf.basic.BasicLabelUI
getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, layoutCL, paint, paintDisabledText, paintEnabledText, propertyChange, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
-
-
-
-
Constructor Detail
-
BasicBusyLabelUI
public BasicBusyLabelUI(JXBusyLabel lbl)
Creates a new instance of BasicBusyLabelUI
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
-
getBusyPainter
public BusyPainter getBusyPainter(java.awt.Dimension dim)
- Specified by:
getBusyPainter
in interfaceBusyLabelUI
- Returns:
- The BusyPainter for the JXBusyLabel. If this method returns null, then no progress indication will be shown by busy label.
-
getDelay
public int getDelay()
Description copied from interface:BusyLabelUI
Delay between moving from one point to another. The exact timing will be close to the selected value but is not guaranteed to be precise (subject to the timing precision of underlaying jvm).- Specified by:
getDelay
in interfaceBusyLabelUI
- Returns:
- Delay in ms.
-
-