26 lines
622 B
Java
26 lines
622 B
Java
|
|
/* Author: Maple
|
||
|
|
* Feb. 2 2026
|
||
|
|
* */
|
||
|
|
|
||
|
|
package org.openautonomousconnection.oacswing.component;
|
||
|
|
|
||
|
|
import lombok.Getter;
|
||
|
|
import lombok.Setter;
|
||
|
|
import org.openautonomousconnection.oacswing.animated.AnimatedComponent;
|
||
|
|
import org.openautonomousconnection.oacswing.animated.AnimationPath;
|
||
|
|
|
||
|
|
import javax.swing.*;
|
||
|
|
|
||
|
|
public class OACAnimatedPanel extends OACPanel implements AnimatedComponent {
|
||
|
|
@Getter
|
||
|
|
@Setter
|
||
|
|
private AnimationPath animationPath;
|
||
|
|
|
||
|
|
@Getter @Setter
|
||
|
|
private Timer currentRun = null;
|
||
|
|
|
||
|
|
public OACAnimatedPanel(AnimationPath animationPath) {
|
||
|
|
this.animationPath = animationPath;
|
||
|
|
}
|
||
|
|
}
|