com.alee.extended.painter
Interface PainterListener


public interface PainterListener

Painter listener interface.

Author:
Mikle Garin

Method Summary
 void repaint()
          Called when painter visual representation changes.
 void repaint(int x, int y, int width, int height)
          Called when part of painter visual representation changes.
 void revalidate()
          Called when painter preferred size or margin changes.
 void updateOpacity()
          Called when painter requires component opacity to be updated.
 

Method Detail

repaint

void repaint()
Called when painter visual representation changes.


repaint

void repaint(int x,
             int y,
             int width,
             int height)
Called when part of painter visual representation changes.

Parameters:
x - part bounds X coordinate
y - part bounds Y coordinate
width - part bounds width
height - part bounds height

revalidate

void revalidate()
Called when painter preferred size or margin changes. This call will usually cause component border update.


updateOpacity

void updateOpacity()
Called when painter requires component opacity to be updated. Make sure you know what you are doing in case you are modifying opacity in runtime.