Class ClientRepaintManager

  • Direct Known Subclasses:
    DesignableRepaintManager

    public class ClientRepaintManager
    extends javax.swing.RepaintManager
    This repaint manager lets use have components opt-into a coalesced repaint mode, where their repaint requests are translated as repaint requests on their parent for their location. Can speed up repainting with containers with large numbers of children.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addDirtyRegion​(javax.swing.JComponent c, int x, int y, int w, int h)  
      static void install()  
      • Methods inherited from class javax.swing.RepaintManager

        addDirtyRegion, addDirtyRegion, addInvalidComponent, currentManager, currentManager, getDirtyRegion, getDoubleBufferMaximumSize, getOffscreenBuffer, getVolatileOffscreenBuffer, isCompletelyDirty, isDoubleBufferingEnabled, markCompletelyClean, markCompletelyDirty, paintDirtyRegions, removeInvalidComponent, setCurrentManager, setDoubleBufferingEnabled, setDoubleBufferMaximumSize, toString, validateInvalidComponents
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • COALESCE_CHILD_REPAINTS

        public static final java.lang.Object COALESCE_CHILD_REPAINTS
    • Constructor Detail

      • ClientRepaintManager

        public ClientRepaintManager()
    • Method Detail

      • install

        public static void install()
      • addDirtyRegion

        public void addDirtyRegion​(javax.swing.JComponent c,
                                   int x,
                                   int y,
                                   int w,
                                   int h)
        Overrides:
        addDirtyRegion in class javax.swing.RepaintManager