Class AbstractGraph.ZoomCommand

Object
ZoomCommand
All Implemented Interfaces:
Scheduler.ScheduledCommand, Command
Enclosing class:
AbstractGraph<B>

public class AbstractGraph.ZoomCommand extends Object implements Command
The zoom command for the context menu.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) double
    The adjustment factor of the zoom level.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ZoomCommand(double zoom)
    Create a new zoom command with an adjustment factor of zoom.
  • Method Summary

    Modifier and Type
    Method
    Description
    void

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • zoom

      double zoom
      The adjustment factor of the zoom level.
  • Constructor Details

    • ZoomCommand

      public ZoomCommand(double zoom)
      Create a new zoom command with an adjustment factor of zoom.
      Parameters:
      zoom - the zoom adjustment factor
  • Method Details