public class HighlightController extends Object implements SelectListener
Highlightable in response to pick events. Monitors a specified
 World Window for an indicated SelectEvent type and turns highlighting on and off in
 response.| Modifier and Type | Field and Description | 
|---|---|
| protected Object | highlightEventType | 
| protected Highlightable | lastHighlightObject | 
| protected WorldWindow | wwd | 
| Constructor and Description | 
|---|
| HighlightController(WorldWindow wwd,
                   Object highlightEventType)Creates a controller for a specified World Window. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | dispose() | 
| protected void | highlight(Object o) | 
| void | selected(SelectEvent event) | 
protected Object highlightEventType
protected Highlightable lastHighlightObject
protected WorldWindow wwd
public HighlightController(WorldWindow wwd, Object highlightEventType)
wwd - the World Window to monitor.highlightEventType - the type of SelectEvent to highlight in response to. The default is SelectEvent.ROLLOVER.public void dispose()
protected void highlight(Object o)
public void selected(SelectEvent event)
selected in interface SelectListener