|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.
| Method Summary | |
|---|---|
void |
bind(boolean transparency)
Called before this image is displayed. |
Component |
getComponent()
Gets a Component which represents the MovingImage. |
Point |
getOffset(Point pressPoint)
Gest the preferred offset of this image in respect to the mouse. |
void |
unbind()
The reverse of bind(boolean). |
| Method Detail |
|---|
Component getComponent()
MovingImage.
This method must always return the same Component.
Point getOffset(Point pressPoint)
pressPoint - the position of the mouse in respect to the element that was selected
and that resulted in the creation of this image.
null if a default offset should be usedvoid bind(boolean transparency)
transparency - if true, then the window showing this
Component is transparent. If false then the window
is not transparent.void unbind()
bind(boolean). The image should remove any connections
to other objects.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||