public abstract class DialogAnnotationController extends java.lang.Object implements java.awt.event.ActionListener, SelectListener
Modifier and Type | Field and Description |
---|---|
protected ButtonAnnotation |
toolTipComponent |
Constructor and Description |
---|
DialogAnnotationController(WorldWindow worldWindow,
DialogAnnotation annotation) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
protected void |
doDisable() |
protected void |
doEnable() |
protected void |
forwardToButtonAnnotations(Annotation annotation,
SelectEvent e) |
DialogAnnotation |
getAnnotation() |
protected java.awt.Point |
getToolTipPoint(SelectEvent e) |
WorldWindow |
getWorldWindow() |
protected java.awt.Point |
glPointFromAwt(java.awt.Component c,
java.awt.Point p) |
boolean |
isEnabled() |
protected void |
onActionPerformed(java.awt.event.ActionEvent e) |
protected void |
onSelected(SelectEvent e) |
void |
selected(SelectEvent e) |
void |
setAnnotation(DialogAnnotation annotation) |
protected void |
setCursor(java.awt.Cursor cursor) |
void |
setEnabled(boolean enabled) |
protected void |
showToolTip(SelectEvent e,
ButtonAnnotation annotation) |
protected void |
updateCursor(SelectEvent e) |
protected void |
updateToolTip(SelectEvent e) |
protected ButtonAnnotation toolTipComponent
public DialogAnnotationController(WorldWindow worldWindow, DialogAnnotation annotation)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
protected void doDisable()
protected void doEnable()
protected void forwardToButtonAnnotations(Annotation annotation, SelectEvent e)
public DialogAnnotation getAnnotation()
protected java.awt.Point getToolTipPoint(SelectEvent e)
public WorldWindow getWorldWindow()
protected java.awt.Point glPointFromAwt(java.awt.Component c, java.awt.Point p)
public boolean isEnabled()
protected void onActionPerformed(java.awt.event.ActionEvent e)
protected void onSelected(SelectEvent e)
public void selected(SelectEvent e)
selected
in interface SelectListener
public void setAnnotation(DialogAnnotation annotation)
protected void setCursor(java.awt.Cursor cursor)
public void setEnabled(boolean enabled)
protected void showToolTip(SelectEvent e, ButtonAnnotation annotation)
protected void updateCursor(SelectEvent e)
protected void updateToolTip(SelectEvent e)