bibliothek.gui.dock.dockable
Interface MovingImage

All Known Implementing Classes:
TitleMovingImage, TrueMovingImage, UpdatingTitleMovingImage

public interface MovingImage

Moving images are used when a drag&drop operation is in progress, and an object has to be shown somehow on the screen.

Author:
Benjamin Sigg

Method Summary
 void bind()
          Called before this image is displayed.
 java.awt.Component getComponent()
          Gets a Component which represents the MovingImage.
 void unbind()
          The reverse of bind().
 

Method Detail

getComponent

java.awt.Component getComponent()
Gets a Component which represents the MovingImage. This method must always return the same Component.

Returns:
always the same Component

bind

void bind()
Called before this image is displayed. The method should connect the image with other objects, like the object it represents.
This method is never called twice in a row.


unbind

void unbind()
The reverse of bind(). The image should remove any connections to other objects.
This method is never called twice in a row.