org.pbjar.jxlayer.repaint
Interface RepaintManagerProvider


public interface RepaintManagerProvider

To be implemented by classes that provide for a custom RepaintManager.

Author:
Piet Blok
See Also:
RepaintManagerUtils

Method Summary
 Class<? extends org.jdesktop.swingx.ForwardingRepaintManager> getForwardingRepaintManagerClass()
          Get the class of a RepaintManager that extends ForwardingRepaintManager.
 Class<? extends WrappedRepaintManager> getWrappedRepaintManagerClass()
          Get the class of a RepaintManager that extends WrappedRepaintManager.
 boolean isAdequate(Class<? extends RepaintManager> rpm)
          Checks whether or not the argument class is a RepaintManager class that will do the required job.
 

Method Detail

getForwardingRepaintManagerClass

Class<? extends org.jdesktop.swingx.ForwardingRepaintManager> getForwardingRepaintManagerClass()
Get the class of a RepaintManager that extends ForwardingRepaintManager.

Note: the class must provide for a public constructor that takes a delegate RepaintManager as its only argument.

Returns:
a class object

getWrappedRepaintManagerClass

Class<? extends WrappedRepaintManager> getWrappedRepaintManagerClass()
Get the class of a RepaintManager that extends WrappedRepaintManager.

Note: the class must provide for a public constructor that takes a delegate RepaintManager as its only argument.

Returns:
a class object

isAdequate

boolean isAdequate(Class<? extends RepaintManager> rpm)
Checks whether or not the argument class is a RepaintManager class that will do the required job.

Parameters:
rpm - a RepaintManager class
Returns:
true if the argument class will do the required job, false otherwise