Request: adding Component::isBufferedToImage()


#1

Hi Jules,

there are parts of code where I’d like to know whether the component I’m handling is buffered to an image or not. What do you think about adding the isBufferedToImage method to Component, that retrievest the state set by setBufferedToImage?


#2

Hmm, not as straightforward as it sounds, because there’s no longer such a thing as “buffered to image”. It’s now done internally via the CachedComponentImage class. Why not just check whether the comp has a CachedComponentImage set for it?