Class CompoundZoomHandler
java.lang.Object
org.eclipse.nebula.widgets.ganttchart.CompoundZoomHandler
- All Implemented Interfaces:
IZoomHandler
public class CompoundZoomHandler extends java.lang.Object implements IZoomHandler
-
Constructor Summary
Constructors Constructor Description CompoundZoomHandler()
-
Method Summary
Modifier and Type Method Description void
addHandler(IZoomHandler handler)
void
removeHandler(IViewPortHandler handler)
void
resetZoom()
Resets the zoom level to that set in the settings.void
zoomIn()
Zooms in.void
zoomIn(boolean fromMouseWheel, org.eclipse.swt.graphics.Point mouseLoc)
void
zoomOut()
Zooms out.void
zoomOut(boolean fromMouseWheel, org.eclipse.swt.graphics.Point mouseLoc)
-
Constructor Details
-
CompoundZoomHandler
public CompoundZoomHandler()
-
-
Method Details
-
addHandler
-
removeHandler
-
zoomIn
public void zoomIn()Description copied from interface:IZoomHandler
Zooms in. If zooming is disabled, does nothing.- Specified by:
zoomIn
in interfaceIZoomHandler
-
zoomIn
public void zoomIn(boolean fromMouseWheel, org.eclipse.swt.graphics.Point mouseLoc)- Specified by:
zoomIn
in interfaceIZoomHandler
-
zoomOut
public void zoomOut()Description copied from interface:IZoomHandler
Zooms out. If zooming is disabled, does nothing.- Specified by:
zoomOut
in interfaceIZoomHandler
-
zoomOut
public void zoomOut(boolean fromMouseWheel, org.eclipse.swt.graphics.Point mouseLoc)- Specified by:
zoomOut
in interfaceIZoomHandler
-
resetZoom
public void resetZoom()Description copied from interface:IZoomHandler
Resets the zoom level to that set in the settings.- Specified by:
resetZoom
in interfaceIZoomHandler
-