org.apache.pivot.wtk.media.drawing
Interface ShapeListener


public interface ShapeListener

Shape listener interface.


Method Summary
 void fillChanged(Shape shape, Paint previousFill)
          Called when a shape's fill has changed.
 void originChanged(Shape shape, int previousX, int previousY)
          Called when a shape's origin has changed.
 void strokeChanged(Shape shape, Paint previousStroke)
          Called when a shape's stroke has changed.
 void strokeThicknessChanged(Shape shape, int previousStrokeThickness)
          Called when a shape's stroke thickness has changed.
 void visibleChanged(Shape shape)
          Called when a shape's visible flag has changed.
 

Method Detail

originChanged

void originChanged(Shape shape,
                   int previousX,
                   int previousY)
Called when a shape's origin has changed.

Parameters:
shape -
previousX -
previousY -

strokeChanged

void strokeChanged(Shape shape,
                   Paint previousStroke)
Called when a shape's stroke has changed.

Parameters:
shape -
previousStroke -

strokeThicknessChanged

void strokeThicknessChanged(Shape shape,
                            int previousStrokeThickness)
Called when a shape's stroke thickness has changed.

Parameters:
shape -
previousStrokeThickness -

fillChanged

void fillChanged(Shape shape,
                 Paint previousFill)
Called when a shape's fill has changed.

Parameters:
shape -
previousFill -

visibleChanged

void visibleChanged(Shape shape)
Called when a shape's visible flag has changed.

Parameters:
shape -