public interface RepaintDelegate
WaveformPreviewComponent to operate in a soft-loaded manner in user interfaces which display
lists of large numbers of waveforms, so that the ones not on the screen at the moment can be garbage
collected and reloaded later. It still needs some way to communicate which areas of the screen need
to be redrawn when responding to changes in playback position marker locations, so this interface is
used along with WaveformPreviewComponent.setRepaintDelegate(RepaintDelegate) to enable those
changes to be communicated to the lighter component which is hosting it.| Modifier and Type | Method and Description |
|---|---|
void |
repaint(int x,
int y,
int width,
int height)
Request that a region of this component be scheduled for repaint even though it is not actually
in any on-screen container.
|
void repaint(int x,
int y,
int width,
int height)
Component.repaint(int, int, int, int) implementation.x - the left edge of the region that we want to have redrawny - the top edge of the region that we want to have redrawnwidth - the width of the region that we want to have redrawnheight - the height of the region that we want to have redrawnCopyright © 2016–2019 Deep Symmetry, LLC. All rights reserved.