|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.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 DockableMovingImageFactorys 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 DockableMovingImageFactorys 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 used
public 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 result| Method Detail |
|---|
public MovingImage create(DockController controller,
Dockable dockable)
DockableMovingImageFactorydockable.
create in interface DockableMovingImageFactorycontroller - The controller which will be responsible for the titledockable - The Dockable which is snatched
null
public MovingImage create(DockController controller,
DockTitle snatched)
DockableMovingImageFactorysnatched.
create in interface DockableMovingImageFactorycontroller - 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 | |||||||||