public abstract class AbstractAnimatedOverlay extends java.lang.Object implements Overlay
Modifier and Type | Field and Description |
---|---|
protected java.util.HashSet<javax.swing.JComponent> |
comps |
Constructor and Description |
---|
AbstractAnimatedOverlay() |
Modifier and Type | Method and Description |
---|---|
void |
addComponent(javax.swing.JComponent comp)
Adds a component to this overlay.
|
void |
removeAllComponents()
Removes all child components.
|
void |
removeComponent(javax.swing.JComponent comp)
Removes a component from this overlay.
|
protected void |
repaintAllComponents() |
protected abstract void |
startAnimation() |
protected abstract void |
stopAnimation() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAnimated, paintOverlay
protected abstract void stopAnimation()
protected abstract void startAnimation()
public void addComponent(javax.swing.JComponent comp)
Overlay
addComponent
in interface Overlay
public void removeAllComponents()
Overlay
removeAllComponents
in interface Overlay
public void removeComponent(javax.swing.JComponent comp)
Overlay
removeComponent
in interface Overlay
protected void repaintAllComponents()