|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.util.AbstractHotSpot
gov.nasa.worldwind.util.tree.TreeHotSpot
public class TreeHotSpot
An area of a Tree that can receive select and mouse events. The TreeHotSpot's
default behavior is to forward events to its parent HotSpot. Subclasses must override methods for events they can
react to, and all other events are handled by the parent.
| Field Summary | |
|---|---|
protected HotSpot |
parent
The parent HotSpot, or null if this TreeHotSpot has no parent. |
| Fields inherited from class gov.nasa.worldwind.util.AbstractHotSpot |
|---|
active |
| Constructor Summary | |
|---|---|
TreeHotSpot(HotSpot parent)
Create a hot spot. |
|
| Method Summary | |
|---|---|
void |
mouseClicked(MouseEvent event)
Forwards the event to the parent HotSpot if the parent is non-null. |
void |
mousePressed(MouseEvent event)
Forwards the event to the parent HotSpot if the parent is non-null. |
void |
mouseReleased(MouseEvent event)
Forwards the event to the parent HotSpot if the parent is non-null. |
void |
mouseWheelMoved(MouseWheelEvent event)
Forwards the event to the parent HotSpot if the parent is non-null. |
void |
selected(SelectEvent event)
Forwards the event to the parent HotSpot if the parent is non-null. |
| Methods inherited from class gov.nasa.worldwind.util.AbstractHotSpot |
|---|
getCursor, isActive, isConsumed, keyPressed, keyReleased, keyTyped, mouseDragged, mouseEntered, mouseExited, mouseMoved, setActive |
| Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
|---|
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected HotSpot parent
| Constructor Detail |
|---|
public TreeHotSpot(HotSpot parent)
parent - The screen area that contains this hot spot. Input events that cannot be handled by this object
will be passed to the parent. May be null.| Method Detail |
|---|
public void mouseClicked(MouseEvent event)
mouseClicked in interface HotSpotmouseClicked in interface MouseListenermouseClicked in class AbstractHotSpotevent - The event to handle.public void mousePressed(MouseEvent event)
mousePressed in interface HotSpotmousePressed in interface MouseListenermousePressed in class AbstractHotSpotevent - The event to handle.public void mouseReleased(MouseEvent event)
mouseReleased in interface HotSpotmouseReleased in interface MouseListenermouseReleased in class AbstractHotSpotevent - The event to handle.public void mouseWheelMoved(MouseWheelEvent event)
mouseWheelMoved in interface HotSpotmouseWheelMoved in interface MouseWheelListenermouseWheelMoved in class AbstractHotSpotevent - The event to handle.public void selected(SelectEvent event)
selected in interface SelectListenerselected in interface HotSpotselected in class AbstractHotSpotevent - The event to handle.
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||