2
* $Id: BusyLabelUI.java,v 1.2 2008/01/04 13:28:00 rah003 Exp $
4
* Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle,
5
* Santa Clara, California 95054, U.S.A. All rights reserved.
7
* This library is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public
9
* License as published by the Free Software Foundation; either
10
* version 2.1 of the License, or (at your option) any later version.
12
* This library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Lesser General Public License for more details.
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with this library; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
package org.jdesktop.swingx.plaf;
24
import java.awt.Dimension;
26
import org.jdesktop.swingx.painter.BusyPainter;
32
public interface BusyLabelUI {
34
* @return The BusyPainter for the JXBusyLabel. If
35
* this method returns null, then no progress indication will be shown by busy label.
37
public BusyPainter getBusyPainter(Dimension dim);
40
* Delay between moving from one point to another. The exact timing will be close to the selected value but is not guearantied to be precise (subject to the timing precision of underlaying jvm).
41
* @return Delay in ms.
43
public int getDelay();