public class BasicMovingImageFactory extends Object implements DockableMovingImageFactory
MovingImage
s display a DockTitle
.Constructor and Description |
---|
BasicMovingImageFactory() |
Modifier and Type | Method and Description |
---|---|
MovingImage |
create(DockController controller,
Dockable dockable)
Gets an image which will be shown underneath the cursor.
|
MovingImage |
create(DockController controller,
DockTitle snatched)
Gets an image which will be shown underneath the cursor.
|
public MovingImage create(DockController controller, DockTitle snatched)
DockableMovingImageFactory
snatched
.create
in interface DockableMovingImageFactory
controller
- The controller which will be responsible for the titlesnatched
- The title which is grabbed by the usernull
public MovingImage create(DockController controller, Dockable dockable)
DockableMovingImageFactory
dockable
.create
in interface DockableMovingImageFactory
controller
- The controller which will be responsible for the titledockable
- The Dockable which is snatchednull