|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.dockable.ScreencaptureMovingImageFactory
public class ScreencaptureMovingImageFactory
A factory that makes a snapshot of the Dockable
which will be represented
by its MovingImage
.
Constructor Summary | |
---|---|
ScreencaptureMovingImageFactory(Dimension max)
Creates a new factory. |
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. |
BufferedImage |
createImageFrom(DockController controller,
Dockable dockable)
This method creates a new image that contains the contents of dockable . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScreencaptureMovingImageFactory(Dimension max)
max
- the maximal size of the images created by this factoryMethod Detail |
---|
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
public BufferedImage createImageFrom(DockController controller, Dockable dockable)
dockable
.
controller
- the controller for which the image is madedockable
- the element whose image should be taken
dockable
which is not larger than the
maximum Dimension
that was given to this factory in the
constructor.AWTComponentCaptureStrategy
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |