bibliothek.gui.dock.themes
Class ThemeDockableMovingImageFactory
java.lang.Object
bibliothek.gui.dock.themes.ThemeDockableMovingImageFactory
- All Implemented Interfaces:
- DockableMovingImageFactory
public class ThemeDockableMovingImageFactory
- extends Object
- implements DockableMovingImageFactory
This DockableMovingImageFactory
forwards any call to the DockTheme
of the
DockController
that called.
- Author:
- Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThemeDockableMovingImageFactory
public ThemeDockableMovingImageFactory()
create
public MovingImage create(DockController controller,
DockTitle snatched)
- Description copied from interface:
DockableMovingImageFactory
- Gets an image which will be shown underneath the cursor. Assumes that the
user clicked on the title
snatched
.
- Specified by:
create
in interface DockableMovingImageFactory
- Parameters:
controller
- The controller which will be responsible for the titlesnatched
- The title which is grabbed by the user
- Returns:
- the image under the cursor, can be
null
create
public MovingImage create(DockController controller,
Dockable dockable)
- Description copied from interface:
DockableMovingImageFactory
- Gets an image which will be shown underneath the cursor. Assumes
that the user clicked on
dockable
.
- Specified by:
create
in interface DockableMovingImageFactory
- Parameters:
controller
- The controller which will be responsible for the titledockable
- The Dockable which is snatched
- Returns:
- the image under the cursor, can be
null