Class BasicIndeterminateCircularProgressUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- org.pushingpixels.radiance.component.internal.ui.common.CircularProgressUI
-
- org.pushingpixels.radiance.component.internal.ui.common.BasicIndeterminateCircularProgressUI
-
- Direct Known Subclasses:
RadianceIndeterminateCircularProgressUI
public abstract class BasicIndeterminateCircularProgressUI extends CircularProgressUI
Basic UI for indeterminate circular progressJIndeterminateCircularProgress
.
-
-
Field Summary
Fields Modifier and Type Field Description protected float
alpha
protected Timeline
alphaTimeline
protected double
arcEnd
protected double
arcSpan
protected double
arcStart
protected Timeline
arcTimeline
protected boolean
goFromStart
private java.awt.event.HierarchyListener
hierarchyListener
protected JIndeterminateCircularProgress
indeterminateCircularProgress
private java.beans.PropertyChangeListener
propertyChangeListener
-
Constructor Summary
Constructors Constructor Description BasicIndeterminateCircularProgressUI()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.awt.Color
getArcColor()
java.awt.Dimension
getPreferredSize(javax.swing.JComponent c)
protected void
installComponents()
Installs components on the associated circular progress.protected void
installDefaults()
Installs default settings for the associated circular progress.protected void
installListeners()
Installs listeners on the associated circular progress.void
installUI(javax.swing.JComponent c)
void
paint(java.awt.Graphics g, javax.swing.JComponent c)
private void
startAnimations()
private void
stopAnimations()
protected void
uninstallComponents()
Uninstalls subcomponents from the associated circular progress.protected void
uninstallDefaults()
Uninstalls default settings from the associated circular progress.protected void
uninstallListeners()
Uninstalls listeners from the associated circular progress.void
uninstallUI(javax.swing.JComponent c)
void
update(java.awt.Graphics g, javax.swing.JComponent c)
-
-
-
Field Detail
-
indeterminateCircularProgress
protected JIndeterminateCircularProgress indeterminateCircularProgress
-
arcStart
protected double arcStart
-
arcEnd
protected double arcEnd
-
arcSpan
protected double arcSpan
-
arcTimeline
protected Timeline arcTimeline
-
alphaTimeline
protected Timeline alphaTimeline
-
goFromStart
protected boolean goFromStart
-
alpha
protected float alpha
-
propertyChangeListener
private java.beans.PropertyChangeListener propertyChangeListener
-
hierarchyListener
private java.awt.event.HierarchyListener hierarchyListener
-
-
Method Detail
-
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUI
in classjavax.swing.plaf.ComponentUI
-
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Overrides:
uninstallUI
in classjavax.swing.plaf.ComponentUI
-
installDefaults
protected void installDefaults()
Installs default settings for the associated circular progress.
-
installListeners
protected void installListeners()
Installs listeners on the associated circular progress.
-
installComponents
protected void installComponents()
Installs components on the associated circular progress.
-
uninstallDefaults
protected void uninstallDefaults()
Uninstalls default settings from the associated circular progress.
-
uninstallListeners
protected void uninstallListeners()
Uninstalls listeners from the associated circular progress.
-
uninstallComponents
protected void uninstallComponents()
Uninstalls subcomponents from the associated circular progress.
-
getPreferredSize
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
- Overrides:
getPreferredSize
in classjavax.swing.plaf.ComponentUI
-
startAnimations
private void startAnimations()
-
stopAnimations
private void stopAnimations()
-
update
public void update(java.awt.Graphics g, javax.swing.JComponent c)
- Overrides:
update
in classjavax.swing.plaf.ComponentUI
-
paint
public void paint(java.awt.Graphics g, javax.swing.JComponent c)
- Overrides:
paint
in classjavax.swing.plaf.ComponentUI
-
getArcColor
protected abstract java.awt.Color getArcColor()
-
-