2024-06-15 19:55:30 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
package visualizationElements;
|
|
|
|
|
2024-07-02 19:13:30 +00:00
|
|
|
import java.awt.*;
|
2024-06-15 19:55:30 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Represents an graphical element to visualize algorithms and abstract data types
|
|
|
|
* @author MSchaefer
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public abstract class VisualizationElement {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Draws the visualization element.
|
|
|
|
* @param g The Graphics object to draw the element to the DrawArea.
|
|
|
|
*/
|
|
|
|
public abstract void draw(Graphics g);
|
|
|
|
}
|