|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.draw2d.EventDispatcher
Listens to various SWT events and dispatches these events to interested Draw2d objects.
| Nested Class Summary | |
static class |
EventDispatcher.AccessibilityDispatcher
Combines AccessibleControlListener and AccessibleListener. |
| Constructor Summary | |
EventDispatcher()
|
|
| Method Summary | |
abstract void |
dispatchFocusGained(org.eclipse.swt.events.FocusEvent e)
Dispatches a focus gained event. |
abstract void |
dispatchFocusLost(org.eclipse.swt.events.FocusEvent e)
Dispatches a focus lost event. |
abstract void |
dispatchKeyPressed(org.eclipse.swt.events.KeyEvent e)
Dispatches a key pressed event. |
abstract void |
dispatchKeyReleased(org.eclipse.swt.events.KeyEvent e)
Dispatches a key released event. |
abstract void |
dispatchKeyTraversed(org.eclipse.swt.events.TraverseEvent e)
Dispatches a key traversed event. |
abstract void |
dispatchMouseDoubleClicked(org.eclipse.swt.events.MouseEvent me)
Dispatches a mouse double clicked event. |
abstract void |
dispatchMouseEntered(org.eclipse.swt.events.MouseEvent e)
Dispatches a mouse entered event. |
abstract void |
dispatchMouseExited(org.eclipse.swt.events.MouseEvent e)
Dispatches a mouse exited event. |
abstract void |
dispatchMouseHover(org.eclipse.swt.events.MouseEvent me)
Dispatches a mouse hover event. |
abstract void |
dispatchMouseMoved(org.eclipse.swt.events.MouseEvent me)
Dispatches a moved event event. |
abstract void |
dispatchMousePressed(org.eclipse.swt.events.MouseEvent me)
Dispatches a mouse pressed event. |
abstract void |
dispatchMouseReleased(org.eclipse.swt.events.MouseEvent me)
Dispatches a mouse released event. |
protected abstract EventDispatcher.AccessibilityDispatcher |
getAccessibilityDispatcher()
Returns the AccessibilityDispatcher. |
abstract boolean |
isCaptured()
|
protected abstract void |
releaseCapture()
Releases capture initiated by setCapture(IFigure). |
abstract void |
requestFocus(IFigure fig)
Requests focus for the given figure. |
abstract void |
requestRemoveFocus(IFigure fig)
Requests focus to be removed from the given figure. |
protected abstract void |
setCapture(IFigure figure)
Sets capture to the given figure. |
abstract void |
setControl(org.eclipse.swt.widgets.Control control)
Sets the contol associated with this event dispatcher. |
abstract void |
setRoot(IFigure figure)
Sets the root figure for this dispatcher. |
protected abstract void |
updateCursor()
Updates the cursor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EventDispatcher()
| Method Detail |
public abstract void dispatchFocusGained(org.eclipse.swt.events.FocusEvent e)
e - the eventpublic abstract void dispatchFocusLost(org.eclipse.swt.events.FocusEvent e)
e - the eventpublic abstract void dispatchKeyPressed(org.eclipse.swt.events.KeyEvent e)
e - the eventpublic abstract void dispatchKeyReleased(org.eclipse.swt.events.KeyEvent e)
e - the eventpublic abstract void dispatchKeyTraversed(org.eclipse.swt.events.TraverseEvent e)
e - the eventpublic abstract void dispatchMouseDoubleClicked(org.eclipse.swt.events.MouseEvent me)
me - the eventpublic abstract void dispatchMouseEntered(org.eclipse.swt.events.MouseEvent e)
e - the eventpublic abstract void dispatchMouseExited(org.eclipse.swt.events.MouseEvent e)
e - the eventpublic abstract void dispatchMouseHover(org.eclipse.swt.events.MouseEvent me)
me - the eventpublic abstract void dispatchMouseMoved(org.eclipse.swt.events.MouseEvent me)
me - the eventpublic abstract void dispatchMousePressed(org.eclipse.swt.events.MouseEvent me)
me - the eventpublic abstract void dispatchMouseReleased(org.eclipse.swt.events.MouseEvent me)
me - the eventprotected abstract EventDispatcher.AccessibilityDispatcher getAccessibilityDispatcher()
public abstract boolean isCaptured()
protected abstract void releaseCapture()
setCapture(IFigure).
public abstract void requestFocus(IFigure fig)
fig - the figure requesting focuspublic abstract void requestRemoveFocus(IFigure fig)
fig - the figure requesting focus be removedprotected abstract void setCapture(IFigure figure)
releaseCapture() is called.
figure - the figure capturing the eventspublic abstract void setControl(org.eclipse.swt.widgets.Control control)
control - the controlpublic abstract void setRoot(IFigure figure)
figure - the root figureprotected abstract void updateCursor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||