org.jdesktop.swingx.painter
Class BusyPainter<T>
java.lang.Object
org.jdesktop.beans.AbstractBean
org.jdesktop.swingx.painter.AbstractPainter<T>
org.jdesktop.swingx.painter.BusyPainter<T>
- All Implemented Interfaces:
- Painter<T>
public class BusyPainter<T>
- extends AbstractPainter<T>
A specific painter that paints an "infinite progress" like animation.
Methods inherited from class org.jdesktop.swingx.painter.AbstractPainter |
clearCache, configureGraphics, getFilters, getInterpolation, isAntialiasing, isCacheable, isDirty, isVisible, paint, setAntialiasing, setCacheable, setDirty, setFilters, setInterpolation, setVisible, shouldUseCache, validate |
Methods inherited from class org.jdesktop.beans.AbstractBean |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
BusyPainter
public BusyPainter()
doPaint
protected void doPaint(Graphics2D g,
T t,
int width,
int height)
- Description copied from class:
AbstractPainter
- Subclasses must implement this method and perform custom painting operations
here.
- Specified by:
doPaint
in class AbstractPainter<T>
- Parameters:
g
- The Graphics2D object in which to paint
getFrame
public int getFrame()
setFrame
public void setFrame(int frame)
getBaseColor
public Color getBaseColor()
setBaseColor
public void setBaseColor(Color baseColor)
getHighlightColor
public Color getHighlightColor()
setHighlightColor
public void setHighlightColor(Color highlightColor)
getBarWidth
public float getBarWidth()
setBarWidth
public void setBarWidth(float barWidth)
getBarLength
public float getBarLength()
setBarLength
public void setBarLength(float barLength)
getCenterDistance
public float getCenterDistance()
setCenterDistance
public void setCenterDistance(float centerDistance)
getPoints
public int getPoints()
setPoints
public void setPoints(int points)
getTrailLength
public int getTrailLength()
setTrailLength
public void setTrailLength(int trailLength)