Class ClientRepaintManager
java.lang.Object
javax.swing.RepaintManager
com.inductiveautomation.ignition.client.util.ClientRepaintManager
- Direct Known Subclasses:
DesignableRepaintManager
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDirtyRegion
(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
-
Field Details
-
COALESCE_CHILD_REPAINTS
-
-
Constructor Details
-
ClientRepaintManager
public ClientRepaintManager()
-
-
Method Details
-
install
public static void install() -
addDirtyRegion
- Overrides:
addDirtyRegion
in classRepaintManager
-