Class EffectPreviewDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class EffectPreviewDialog extends JDialog
Outlook-style "Preview Effect" window: a fixed list of effect types on the left, and the selected effect's edit panel (with the same timeline box used elsewhere in the app above it) filling the rest. Reuses the normal EffectGUI panel for parameter editing (including unlimited chase colors/grid shapes), but is fully self-contained: nothing it does touches the main window's Create Effect panel, timeline selection, or scrub position, except explicitly pushing to hardware.
See Also:
  • Field Details

    • TYPES

      private static final EffectList[] TYPES
    • LABELS

      private static final String[] LABELS
    • realEffectListener

      private final EffectListener realEffectListener
    • sandboxedEffectListener

      private final EffectListener sandboxedEffectListener
    • effectFactory

      private final Function<EffectList,Effect> effectFactory
    • centerContainer

      private final JPanel centerContainer
    • timelinePreviewContainer

      private final JPanel timelinePreviewContainer
    • refreshTimer

      private final Timer refreshTimer
    • activeEffectGUI

      private EffectGUI activeEffectGUI
  • Constructor Details

  • Method Details

    • selectEffectType

      private void selectEffectType(EffectList type)
    • showEffectInPanel

      private void showEffectInPanel(Effect effect, boolean isNew, int index)
    • refreshTimelinePreview

      private void refreshTimelinePreview()