public class UserEventHandler
extends java.lang.Object
implements javafx.event.EventHandler
| Constructor and Description |
|---|
UserEventHandler(Earth earth,
VisualizerLayout visLayout)
UserEventHandler Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
displayEarthInformation(javafx.scene.input.MouseEvent event) |
void |
handle(javafx.event.Event event) |
public UserEventHandler(Earth earth, VisualizerLayout visLayout)
earth - An earth object to get the large Earth group from, as well as to access pause/start rotationsvisLayout - The layout that this handler is registered to, the handler
updates information inside this layout on relevant user interaction