Class DesignableRepaintManager
- java.lang.Object
- 
- javax.swing.RepaintManager
- 
- com.inductiveautomation.ignition.client.util.ClientRepaintManager
- 
- com.inductiveautomation.ignition.designer.designable.DesignableRepaintManager
 
 
 
- 
 public class DesignableRepaintManager extends ClientRepaintManager A repaint manager that has special handling for when components get repainted beneath the DesignPanel. Paints the interaction layer after a normal component repaint with extra border around the edges to enusre that handles don't get clipped out during a normal repaint. Also captures repaints of components beneath a zoomed design panel to ensure that the repaint actually gets applied to the design panel (and thus, the zoom scaling gets applied to the graphics object.)
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringZOOM_INCOMPATIBLEPut this on your component as a client property (value = Boolean.TRUE) if you can't handle repaints being dispatched upwards to a higher layer.- 
Fields inherited from class com.inductiveautomation.ignition.client.util.ClientRepaintManagerCOALESCE_CHILD_REPAINTS
 
- 
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDirtyRegion(javax.swing.JComponent c, int x, int y, int w, int h)static voidinstall()Installs the DesignableRepaintManager if it hasn't already been installed- 
Methods inherited from class javax.swing.RepaintManageraddDirtyRegion, addDirtyRegion, addInvalidComponent, currentManager, currentManager, getDirtyRegion, getDoubleBufferMaximumSize, getOffscreenBuffer, getVolatileOffscreenBuffer, isCompletelyDirty, isDoubleBufferingEnabled, markCompletelyClean, markCompletelyDirty, paintDirtyRegions, removeInvalidComponent, setCurrentManager, setDoubleBufferingEnabled, setDoubleBufferMaximumSize, toString, validateInvalidComponents
 
- 
 
- 
- 
- 
Field Detail- 
ZOOM_INCOMPATIBLEpublic static final java.lang.String ZOOM_INCOMPATIBLE Put this on your component as a client property (value = Boolean.TRUE) if you can't handle repaints being dispatched upwards to a higher layer. This will make your component incompatible with the zoom feature and may lead to repaint issues if the user zooms in or out.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
installpublic static void install() Installs the DesignableRepaintManager if it hasn't already been installed
 - 
addDirtyRegionpublic void addDirtyRegion(javax.swing.JComponent c, int x, int y, int w, int h)- Overrides:
- addDirtyRegionin class- ClientRepaintManager
 
 
- 
 
-