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:
PropertyChangeListener,EventListener,BusyLabelUI
Base implementation of the
JXBusyLabel UI.- Author:
- rah003
-
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicLabelUI
labelUI -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of BasicBusyLabelUI -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIfactorygetBusyPainter(Dimension dim) intgetDelay()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, uninstallUIMethods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
Constructor Details
-
BasicBusyLabelUI
Creates a new instance of BasicBusyLabelUI- Parameters:
lbl- JXBusyLabel
-
-
Method Details
-
createUI
factory- Parameters:
c- JComponent not used- Returns:
- new instance of BasicBusyLabelUI
-
getBusyPainter
- Specified by:
getBusyPainterin interfaceBusyLabelUI- Parameters:
dim- Dimension of the BusyPainter- 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:BusyLabelUIDelay 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:
getDelayin interfaceBusyLabelUI- Returns:
- Delay in ms.
-