|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.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(java.awt.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. |
java.awt.image.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(java.awt.Dimension max)
max - the maximal size of the images created by this factory| Method Detail |
|---|
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
public java.awt.image.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)
DockableMovingImageFactorydockable.
create in interface DockableMovingImageFactorycontroller - 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 | |||||||||