Class ForwardingRepaintManager

  • Direct Known Subclasses:
    RepaintManagerX

    public class ForwardingRepaintManager
    extends RepaintManager
    A RepaintManager that is designed to forward all calls to a contained delegate. This class is designed for extension, such that subclasses should override method as appropriate and allow the original repaint manager to handle the rest of the work.

    Install a forwarding repaint manager:

     RepaintManager manager = RepaintManager.currentManager(this);
     RepaintManager frm = new ForwardingRepaintManager(manager);
     RepaintManager.setCurrentManager(frm);
     
    Author:
    Karl George Schaefer, pietblok (original facade/delegate idea)