public class ThemeDockableMovingImageFactory extends java.lang.Object implements DockableMovingImageFactory
DockableMovingImageFactory
forwards any call to the DockTheme
of the
DockController
that called.Constructor and Description |
---|
ThemeDockableMovingImageFactory() |
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