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 floatalphaprotected TimelinealphaTimelineprotected doublearcEndprotected doublearcSpanprotected doublearcStartprotected TimelinearcTimelineprotected booleangoFromStartprivate java.awt.event.HierarchyListenerhierarchyListenerprotected JIndeterminateCircularProgressindeterminateCircularProgressprivate java.beans.PropertyChangeListenerpropertyChangeListener
-
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.ColorgetArcColor()java.awt.DimensiongetPreferredSize(javax.swing.JComponent c)protected voidinstallComponents()Installs components on the associated circular progress.protected voidinstallDefaults()Installs default settings for the associated circular progress.protected voidinstallListeners()Installs listeners on the associated circular progress.voidinstallUI(javax.swing.JComponent c)voidpaint(java.awt.Graphics g, javax.swing.JComponent c)private voidstartAnimations()private voidstopAnimations()protected voiduninstallComponents()Uninstalls subcomponents from the associated circular progress.protected voiduninstallDefaults()Uninstalls default settings from the associated circular progress.protected voiduninstallListeners()Uninstalls listeners from the associated circular progress.voiduninstallUI(javax.swing.JComponent c)voidupdate(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:
installUIin classjavax.swing.plaf.ComponentUI
-
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Overrides:
uninstallUIin 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:
getPreferredSizein 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:
updatein classjavax.swing.plaf.ComponentUI
-
paint
public void paint(java.awt.Graphics g, javax.swing.JComponent c)- Overrides:
paintin classjavax.swing.plaf.ComponentUI
-
getArcColor
protected abstract java.awt.Color getArcColor()
-
-