gov.nasa.worldwind.examples.util
Class DialogAnnotationController
java.lang.Object
gov.nasa.worldwind.examples.util.DialogAnnotationController
- All Implemented Interfaces:
- SelectListener, ActionListener, EventListener
- Direct Known Subclasses:
- AudioPlayerAnnotationController, SlideShowAnnotationController
public abstract class DialogAnnotationController
- extends Object
- implements ActionListener, SelectListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toolTipComponent
protected ButtonAnnotation toolTipComponent
DialogAnnotationController
public DialogAnnotationController(WorldWindow worldWindow,
DialogAnnotation annotation)
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interface ActionListener
doDisable
protected void doDisable()
doEnable
protected void doEnable()
forwardToButtonAnnotations
protected void forwardToButtonAnnotations(Annotation annotation,
SelectEvent e)
getAnnotation
public DialogAnnotation getAnnotation()
getToolTipPoint
protected Point getToolTipPoint(SelectEvent e)
getWorldWindow
public WorldWindow getWorldWindow()
glPointFromAwt
protected Point glPointFromAwt(Component c,
Point p)
isEnabled
public boolean isEnabled()
onActionPerformed
protected void onActionPerformed(ActionEvent e)
onSelected
protected void onSelected(SelectEvent e)
selected
public void selected(SelectEvent e)
- Specified by:
selected
in interface SelectListener
setAnnotation
public void setAnnotation(DialogAnnotation annotation)
setCursor
protected void setCursor(Cursor cursor)
setEnabled
public void setEnabled(boolean enabled)
showToolTip
protected void showToolTip(SelectEvent e,
ButtonAnnotation annotation)
updateCursor
protected void updateCursor(SelectEvent e)
updateToolTip
protected void updateToolTip(SelectEvent e)