|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.dockable.DefaultDockableMovingImageFactory
public class DefaultDockableMovingImageFactory
The default implementation of DockableMovingImageFactory
usually behaves exactly like
ThemeDockableMovingImageFactory
, but also offers an ExtensionName
for adding additional
factories.
Field Summary | |
---|---|
static Path |
FACTORY_EXTENSION
The name of the ExtensionName that loads additional DockableMovingImageFactory s as extension. |
Constructor Summary | |
---|---|
DefaultDockableMovingImageFactory(DockController controller)
Creates a new factory using controller to load extensions. |
|
DefaultDockableMovingImageFactory(DockController controller,
DockableMovingImageFactory delegate)
Creates a new factory using controller to load extensions. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Path FACTORY_EXTENSION
ExtensionName
that loads additional DockableMovingImageFactory
s as extension. If
any of the create
methods is called, the result is the return value of the first extension that
does not return null
.
Constructor Detail |
---|
public DefaultDockableMovingImageFactory(DockController controller)
controller
to load extensions.
controller
- the controller in whose realm this factory is usedpublic DefaultDockableMovingImageFactory(DockController controller, DockableMovingImageFactory delegate)
controller
to load extensions.
controller
- the controller in whose realm this factory is useddelegate
- the backup factory used if no extension is present or no extension has a resultMethod Detail |
---|
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 snatched
null
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 user
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |