bibliothek.gui.dock.station.toolbar
Class ToolbarMovingImageFactory

java.lang.Object
  extended by bibliothek.gui.dock.station.toolbar.ToolbarMovingImageFactory
All Implemented Interfaces:
bibliothek.gui.dock.dockable.DockableMovingImageFactory

public class ToolbarMovingImageFactory
extends Object
implements bibliothek.gui.dock.dockable.DockableMovingImageFactory

A ToolbarMovingImageFactory is a filter that forwards any Dockable which is a toolbar part to some other factory.

Author:
Benjamin Sigg

Constructor Summary
ToolbarMovingImageFactory(bibliothek.gui.dock.dockable.DockableMovingImageFactory delegate)
          Creates a new factory
 
Method Summary
 bibliothek.gui.dock.dockable.MovingImage create(bibliothek.gui.DockController controller, bibliothek.gui.Dockable dockable)
           
 bibliothek.gui.dock.dockable.MovingImage create(bibliothek.gui.DockController controller, bibliothek.gui.dock.title.DockTitle snatched)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolbarMovingImageFactory

public ToolbarMovingImageFactory(bibliothek.gui.dock.dockable.DockableMovingImageFactory delegate)
Creates a new factory

Parameters:
delegate - the factory that will actually create MovingImages, if this does include a Dockable
Method Detail

create

public bibliothek.gui.dock.dockable.MovingImage create(bibliothek.gui.DockController controller,
                                                       bibliothek.gui.dock.title.DockTitle snatched)
Specified by:
create in interface bibliothek.gui.dock.dockable.DockableMovingImageFactory

create

public bibliothek.gui.dock.dockable.MovingImage create(bibliothek.gui.DockController controller,
                                                       bibliothek.gui.Dockable dockable)
Specified by:
create in interface bibliothek.gui.dock.dockable.DockableMovingImageFactory