Class AnimationMakerView

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class AnimationMakerView extends ViewBase
See Also:
  • Constructor Details

    • AnimationMakerView

      public AnimationMakerView(MCreator fra)
  • Method Details

    • use

      protected void use()
    • addFrameToTimeline

      public void addFrameToTimeline(AnimationMakerView.AnimationFrame frame)
    • generateTimelineFromBufferedImage

      public void generateTimelineFromBufferedImage(BufferedImage bufferedImage)

      This method takes a BufferedImage that contains multiple frames (a tiled image) and divide each image into their own frame. Then, each individual frame is added to the timeline.

      Parameters:
      bufferedImage - The tiled BufferedImage containing all frames
    • showView

      public ViewBase showView()
      Overrides:
      showView in class ViewBase
    • getViewName

      public String getViewName()
      Specified by:
      getViewName in class ViewBase