public class AncestorMovingImageFactory extends ScreencaptureMovingImageFactory
DockTitle and
of Dockable and shows a screenshot of this component.| Constructor and Description |
|---|
AncestorMovingImageFactory(Dimension max,
float alpha)
Creates a new factory.
|
| Modifier and Type | Method and Description |
|---|---|
MovingImage |
create(DockController controller,
Dockable dockable)
Gets an image which will be shown underneath the cursor.
|
create, createImageFrom, createImageFrom, getAlpha, setAlphapublic AncestorMovingImageFactory(Dimension max, float alpha)
max - the maximal size of the images created by this factory, or null
for not having a maximum sizealpha - the transparency, where 0 means completely transparent and 1 means completely opaquepublic MovingImage create(DockController controller, Dockable dockable)
DockableMovingImageFactorydockable.create in interface DockableMovingImageFactorycreate in class ScreencaptureMovingImageFactorycontroller - The controller which will be responsible for the titledockable - The Dockable which is snatchednullCopyright © 2017 Docking Frames. All rights reserved.