public interface HotSpot extends SelectListener, KeyListener, MouseListener, MouseMotionListener, MouseWheelListener
WorldWindow. When the HotSpot is active it receives input events that occur in the WorldWindow.| Modifier and Type | Method and Description | 
|---|---|
| Cursor | getCursor()Returns the AWT  Cursorrepresentation to display when the HotSpot is active, ornullto
 use the default Cursor. | 
| boolean | isActive()Indicates whether or not this HotSpot is active. | 
| void | keyPressed(KeyEvent event)Called when a key is pressed and the HotSpot is active. | 
| void | keyReleased(KeyEvent event)Called when a key is released and the HotSpot is active. | 
| void | keyTyped(KeyEvent event)Called when a key is typed and the HotSpot is active. | 
| void | mouseClicked(MouseEvent event)Called when the mouse is clicked on the HotSpot in the World Window. | 
| void | mouseDragged(MouseEvent event)Called when the mouse is dragged in the World Window and the HotSpot is active. | 
| void | mouseEntered(MouseEvent event)Called when the mouse enters the World Window and the HotSpot is active. | 
| void | mouseExited(MouseEvent event)Called when the mouse exits the World Window and the HotSpot is active. | 
| void | mouseMoved(MouseEvent event)Called when the cursor moves over the HotSpot in the World Window. | 
| void | mousePressed(MouseEvent event)Called when the mouse is pressed over the HotSpot in the World Window. | 
| void | mouseReleased(MouseEvent event)Called when the mouse is released over the HotSpot in the World Window. | 
| void | mouseWheelMoved(MouseWheelEvent event)Called when the mouse wheel is moved in the World Window and HotSpot is active. | 
| void | selected(SelectEvent event)Called when the HotSpot is selected in the World Window. | 
| void | setActive(boolean active)Called when this HotSpot is activated or deactivated. | 
Cursor getCursor()
Cursor representation to display when the HotSpot is active, or null to
 use the default Cursor.null.boolean isActive()
true if this HotSpot is active, false if not.void keyPressed(KeyEvent event)
keyPressed in interface KeyListenerevent - The event to handle.void keyReleased(KeyEvent event)
keyReleased in interface KeyListenerevent - The event to handle.void keyTyped(KeyEvent event)
keyTyped in interface KeyListenerevent - The event to handle.void mouseClicked(MouseEvent event)
mouseClicked in interface MouseListenerevent - The event to handle.void mouseDragged(MouseEvent event)
mouseDragged in interface MouseMotionListenerevent - The event to handle.void mouseEntered(MouseEvent event)
mouseEntered in interface MouseListenerevent - The event to handle.void mouseExited(MouseEvent event)
mouseExited in interface MouseListenerevent - The event to handle.void mouseMoved(MouseEvent event)
mouseMoved in interface MouseMotionListenerevent - The event to handle.void mousePressed(MouseEvent event)
mousePressed in interface MouseListenerevent - The event to handle.void mouseReleased(MouseEvent event)
mouseReleased in interface MouseListenerevent - The event to handle.void mouseWheelMoved(MouseWheelEvent event)
mouseWheelMoved in interface MouseWheelListenerevent - The event to handle.void selected(SelectEvent event)
selected in interface SelectListenerevent - The event to handle.void setActive(boolean active)
active - true if this HotSpot is being activated. false if this HotSpot is being deactivated.