Lines Matching refs:RepaintManager

54  * As of 1.6 <code>RepaintManager</code> handles repaint requests
62 public class RepaintManager
65 * Whether or not the RepaintManager should handle paint requests
120 private static final Object repaintManagerKey = RepaintManager.class;
228 * Return the RepaintManager for the calling thread given a Component.
231 * be used by an overridden version to return a different RepaintManager
233 * @return the RepaintManager object
235 public static RepaintManager currentManager(Component c) {
238 // RepaintManager, DisplayChangedRunnable will need to be modified
244 * Returns the RepaintManager for the specified AppContext. If
245 * a RepaintManager has not been created for the specified
248 static RepaintManager currentManager(AppContext appContext) {
249 RepaintManager rm = (RepaintManager)appContext.get(repaintManagerKey);
251 rm = new RepaintManager(BUFFER_STRATEGY_TYPE);
258 * Return the RepaintManager for the calling thread given a JComponent.
265 * @return the RepaintManager object
267 public static RepaintManager currentManager(JComponent c) {
273 * Set the RepaintManager that should be used for the calling
274 * thread. <b>aRepaintManager</b> will become the current RepaintManager
276 * @param aRepaintManager the RepaintManager object to use
278 public static void setCurrentManager(RepaintManager aRepaintManager) {
287 * Create a new RepaintManager instance. You rarely call this constructor.
288 * directly. To get the default RepaintManager, use
289 * RepaintManager.currentManager(JComponent) (normally "this").
291 public RepaintManager() {
299 private RepaintManager(short bufferStrategyType) {
326 RepaintManager delegate = getDelegate(invalidComponent);
367 RepaintManager delegate = getDelegate(component);
463 RepaintManager delegate = getDelegate(c);
605 RepaintManager delegate = getDelegate(aComponent);
624 RepaintManager delegate = getDelegate(aComponent);
637 RepaintManager delegate = getDelegate(aComponent);
654 RepaintManager delegate = getDelegate(aComponent);
701 * for backward compatability in so far as RepaintManager would previously
972 * By default there is a double buffer per RepaintManager.
978 RepaintManager delegate = getDelegate(c);
999 RepaintManager delegate = getDelegate(c);
1150 * Enables or disables double buffering in this RepaintManager.
1167 * Returns true if this RepaintManager is double buffered.
1272 * during the course of painting the RepaintManager may
1412 * RepaintManager the PaintManager has been installed on.
1414 protected RepaintManager repaintManager;
1444 i < RepaintManager.VOLATILE_LOOP_MAX; i++) {
1563 * from <code>root.repaint</code> in that if the RepaintManager is
1617 // To avoid threading problems, we notify each RepaintManager
1639 RepaintManager.currentManager((JComponent)null).displayChanged();
1680 private RepaintManager getDelegate(Component c) {
1681 RepaintManager delegate = SwingUtilities3.getDelegateRepaintManager(c);