- All Known Implementing Classes:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface PaintListener extends SWTEventListenerClasses which implement this interface provide methods that deal with the events that are generated when the control needs to be painted.
After creating an instance of a class that implements this interface it can be added to a control using the
addPaintListenermethod and removed using the
removePaintListenermethod. When a paint event occurs, the paintControl method will be invoked.
- See Also:
void paintControl(PaintEvent e)Sent when a paint event occurs for the control.
e- an event containing information about the paint