Package org.evoludo.graphics
Class LineGraph.ZoomCommand
Object
ZoomCommand
- All Implemented Interfaces:
Scheduler.ScheduledCommand
,Command
- Enclosing class:
LineGraph
The command to change the zoom level.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate new zoom command.ZoomCommand
(double zoom) Create new zoom command with the specified zoom level. -
Method Summary
-
Field Details
-
zoom
double zoomThe zoom level.
-
-
Constructor Details
-
ZoomCommand
public ZoomCommand()Create new zoom command. -
ZoomCommand
public ZoomCommand(double zoom) Create new zoom command with the specified zoom level.- Parameters:
zoom
- the zoom level
-
-
Method Details
-
execute
public void execute()- Specified by:
execute
in interfaceCommand
- Specified by:
execute
in interfaceScheduler.ScheduledCommand
-