Class SetTransparencyMouseDownListener
- java.lang.Object
-
- org.eclipse.swt.events.MouseAdapter
-
- com._1c.g5.v8.dt.md.ui.dialogs.picture.SetTransparencyMouseDownListener
-
- All Implemented Interfaces:
EventListener
,org.eclipse.swt.events.MouseListener
,org.eclipse.swt.internal.SWTEventListener
public abstract class SetTransparencyMouseDownListener extends org.eclipse.swt.events.MouseAdapter
Mouse listener for allowing to set transparency for theLabel
image.
-
-
Constructor Summary
Constructors Constructor Description SetTransparencyMouseDownListener(org.eclipse.swt.widgets.Display display, org.eclipse.swt.widgets.Label imageLabel, org.eclipse.swt.graphics.Image image, double scale)
Creates a newSetTransparencyMouseDownListener
instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
mouseDown(org.eclipse.swt.events.MouseEvent e)
protected abstract void
restoreCursor()
Implement it to restore cursorprotected abstract void
setTransparency(Point selectedPoint)
Implement it to invoke custom action on setting transparency point.
-
-
-
Constructor Detail
-
SetTransparencyMouseDownListener
public SetTransparencyMouseDownListener(org.eclipse.swt.widgets.Display display, org.eclipse.swt.widgets.Label imageLabel, org.eclipse.swt.graphics.Image image, double scale)
Creates a newSetTransparencyMouseDownListener
instance.- Parameters:
display
- the displayimageLabel
- theLabel
that contains imageimage
- theImage
scale
- the scale of the given image
-
-
Method Detail
-
mouseDown
public void mouseDown(org.eclipse.swt.events.MouseEvent e)
- Specified by:
mouseDown
in interfaceorg.eclipse.swt.events.MouseListener
- Overrides:
mouseDown
in classorg.eclipse.swt.events.MouseAdapter
-
restoreCursor
protected abstract void restoreCursor()
Implement it to restore cursor
-
-